diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-07-07 17:37:35 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-07-08 15:12:07 +0200 |
commit | 76c709d7de67f680b3f1f8b52f0418e029d99341 (patch) | |
tree | 2b81311c0dcc991781503775de8a134671548e30 /lib/private/repair.php | |
parent | 687cd7fe83fc40d7bc7d2ba7df5b495bf7bebdca (diff) | |
download | nextcloud-server-76c709d7de67f680b3f1f8b52f0418e029d99341.tar.gz nextcloud-server-76c709d7de67f680b3f1f8b52f0418e029d99341.zip |
Add repair step to set MySQL collation to utf8_bin
Set default collation of mysql connection to utf8_bin
Set utf_bin as default collation for new tables
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r-- | lib/private/repair.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php index 89886dd9316..e6943c5d057 100644 --- a/lib/private/repair.php +++ b/lib/private/repair.php @@ -81,7 +81,8 @@ class Repair extends BasicEmitter { */ public static function getBeforeUpgradeRepairSteps() { return array( - new \OC\Repair\InnoDB() + new \OC\Repair\InnoDB(), + new \OC\Repair\Collation(\OC::$server->getConfig(), \OC_DB::getConnection()) ); } |