summaryrefslogtreecommitdiffstats
path: root/lib/private/db/connectionfactory.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-26 19:36:18 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-03-26 19:36:18 +0100
commit70e64822b985763c2029681b870c023c16598412 (patch)
treec84f081a44fe10d2952cc6b3fc499047e0eb27b3 /lib/private/db/connectionfactory.php
parent9c6649f4f181bb1c3a452d0fe1f210430e955f03 (diff)
parentf056558b72db3a2eac72ac4e1b2889f7f7940b6a (diff)
downloadnextcloud-server-70e64822b985763c2029681b870c023c16598412.tar.gz
nextcloud-server-70e64822b985763c2029681b870c023c16598412.zip
Merge pull request #14665 from owncloud/fileid-increment
SQLite autoincrement test
Diffstat (limited to 'lib/private/db/connectionfactory.php')
-rw-r--r--lib/private/db/connectionfactory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php
index 67e0d86710b..83a59cddd7f 100644
--- a/lib/private/db/connectionfactory.php
+++ b/lib/private/db/connectionfactory.php
@@ -113,6 +113,7 @@ class ConnectionFactory {
break;
case 'sqlite3':
$journalMode = $additionalConnectionParams['sqlite.journal_mode'];
+ $additionalConnectionParams['platform'] = new OCSqlitePlatform();
$eventManager->addEventSubscriber(new SQLiteSessionInit(true, $journalMode));
break;
}