mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Don't convert tables to COMPRESSED
This commit is contained in:
parent
06b77fd666
commit
e49233a795
1 changed files with 0 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue