Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't convert tables to COMPRESSED
  • Loading branch information
solracsf authored Dec 7, 2021
commit e49233a79546f36771e31b96e330eedf61b63a34
5 changes: 0 additions & 5 deletions lib/private/Repair/Collation.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ public function run(IOutput $output) {
}

$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();
Expand Down