Skip to content

Commit e49233a

Browse files
authored
Don't convert tables to COMPRESSED
1 parent 06b77fd commit e49233a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/private/Repair/Collation.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ public function run(IOutput $output) {
9090
}
9191

9292
$output->info("Change collation for $table ...");
93-
if ($characterSet === 'utf8mb4') {
94-
// need to set row compression first
95-
$query = $this->connection->prepare('ALTER TABLE `' . $table . '` ROW_FORMAT=COMPRESSED;');
96-
$query->execute();
97-
}
9893
$query = $this->connection->prepare('ALTER TABLE `' . $table . '` CONVERT TO CHARACTER SET ' . $characterSet . ' COLLATE ' . $characterSet . '_bin;');
9994
try {
10095
$query->execute();

0 commit comments

Comments
 (0)