aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MDB2
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-13 16:08:47 +0100
committerRobin Appelman <icewind1991@gmail.com>2012-01-08 01:57:53 +0100
commit9a4e37483b9c6d7c6e287a9c95a408fc0249e8f9 (patch)
tree3345fe02bdd263f06b3759fa1a84955ac9d3eed4 /lib/MDB2
parent91a9688d0742b5c1af7d0b52da7a57e49e1e3e45 (diff)
downloadnextcloud-server-9a4e37483b9c6d7c6e287a9c95a408fc0249e8f9.tar.gz
nextcloud-server-9a4e37483b9c6d7c6e287a9c95a408fc0249e8f9.zip
small fix in sqlite3 driver
Diffstat (limited to 'lib/MDB2')
-rw-r--r--lib/MDB2/Driver/Manager/sqlite3.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/MDB2/Driver/Manager/sqlite3.php b/lib/MDB2/Driver/Manager/sqlite3.php
index 7e30755fc3a..71b9597d202 100644
--- a/lib/MDB2/Driver/Manager/sqlite3.php
+++ b/lib/MDB2/Driver/Manager/sqlite3.php
@@ -168,9 +168,6 @@ class MDB2_Driver_Manager_sqlite3 extends MDB2_Driver_Manager_Common
if (PEAR::isError($query_fields)) {
return $query_fields;
}
- if (!empty($options['primary'])) {
- $query_fields.= ', PRIMARY KEY ('.implode(', ', array_keys($options['primary'])).')';
- }
if (!empty($options['foreign_keys'])) {
foreach ($options['foreign_keys'] as $fkname => $fkdef) {
if (empty($fkdef)) {