summaryrefslogtreecommitdiffstats
path: root/lib/repair
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-01 08:56:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-01 08:56:06 +0200
commitb5c9196ffcf8f5300d96e7d2bdd78f2695f6fd7a (patch)
tree77757451dd9014c41c7cfb3339336569ccf7e677 /lib/repair
parent4e44cc49d905171374768a29f5af826092915b8c (diff)
parent17ff77c4e7982f40aaaa99e2c8fe7662e85d79a5 (diff)
downloadnextcloud-server-b5c9196ffcf8f5300d96e7d2bdd78f2695f6fd7a.tar.gz
nextcloud-server-b5c9196ffcf8f5300d96e7d2bdd78f2695f6fd7a.zip
Merge pull request #17088 from owncloud/add-verbosity-to-upgrade
[upgrade] add verbosity check and show repair info & steps
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();
}