summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
diff options
context:
space:
mode:
authoracsfer <carlos@reendex.com>2021-12-07 12:44:38 +0100
committerGitHub <noreply@github.com>2021-12-07 12:44:38 +0100
commite49233a79546f36771e31b96e330eedf61b63a34 (patch)
tree1cdee381b0dcc18865320569b3a902ee1177f073 /lib/private/Repair
parent06b77fd6663594db566f1785063dfe2456435251 (diff)
downloadnextcloud-server-e49233a79546f36771e31b96e330eedf61b63a34.tar.gz
nextcloud-server-e49233a79546f36771e31b96e330eedf61b63a34.zip
Don't convert tables to COMPRESSED
Diffstat (limited to 'lib/private/Repair')
-rw-r--r--lib/private/Repair/Collation.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/Repair/Collation.php b/lib/private/Repair/Collation.php
index 01773f7e69f..e949c261b80 100644
--- a/lib/private/Repair/Collation.php
+++ b/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();