summaryrefslogtreecommitdiffstats
path: root/lib/repair
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-23 10:52:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-24 10:25:07 +0200
commit17ff77c4e7982f40aaaa99e2c8fe7662e85d79a5 (patch)
treeb8c0c17f73622bee0c8528830d21578713261bad /lib/repair
parent5ff536b45ad6f9c4490a9d949353c6aeea26d7f1 (diff)
downloadnextcloud-server-17ff77c4e7982f40aaaa99e2c8fe7662e85d79a5.tar.gz
nextcloud-server-17ff77c4e7982f40aaaa99e2c8fe7662e85d79a5.zip
[Repair] add repair info for changed collation
Diffstat (limited to 'lib/repair')
-rw-r--r--lib/repair/collation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/repair/collation.php b/lib/repair/collation.php
index e28ee3ab114..7eb14f0ded2 100644
--- a/lib/repair/collation.php
+++ b/lib/repair/collation.php
@@ -60,6 +60,7 @@ class Collation extends BasicEmitter implements \OC\RepairStep {
$tables = $this->getAllNonUTF8BinTables($this->connection);
foreach ($tables as $table) {
+ $this->emit('\OC\Repair', 'info', array("Change collation for $table ..."));
$query = $this->connection->prepare('ALTER TABLE `' . $table . '` CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;');
$query->execute();
}