]> source.dussan.org Git - nextcloud-server.git/commitdiff
small fix in sqlite3 driver
authorRobin Appelman <icewind1991@gmail.com>
Sun, 13 Nov 2011 15:08:47 +0000 (16:08 +0100)
committerRobin Appelman <icewind1991@gmail.com>
Sun, 8 Jan 2012 00:57:53 +0000 (01:57 +0100)
lib/MDB2/Driver/Manager/sqlite3.php

index 7e30755fc3af20d07f0f71724d7fbe6b3c602d44..71b9597d202428c8d2997be85575ad3f88852aeb 100644 (file)
@@ -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)) {