Explorar el Código

Don't convert tables to COMPRESSED

acsfer hace 2 años
padre
commit
e49233a795
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      lib/private/Repair/Collation.php

+ 0 - 5
lib/private/Repair/Collation.php

@@ -90,11 +90,6 @@ class Collation implements IRepairStep {
 			}
 
 			$output->info("Change collation for $table ...");
-			if ($characterSet === 'utf8mb4') {
-				// need to set row compression first
-				$query = $this->connection->prepare('ALTER TABLE `' . $table . '` ROW_FORMAT=COMPRESSED;');
-				$query->execute();
-			}
 			$query = $this->connection->prepare('ALTER TABLE `' . $table . '` CONVERT TO CHARACTER SET ' . $characterSet . ' COLLATE ' . $characterSet . '_bin;');
 			try {
 				$query->execute();