Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-15 19:08:08 +0400
committerRobin Appelman <icewind1991@gmail.com>2012-01-08 04:57:53 +0400
commit001d06f2ff4a641ff76b4d67a3a33cbdbf5b2bb5 (patch)
tree61f9f61eb1e8721021eb80df1906eb50172da27f /lib
parentc6aa0f9854a2e598c6bb2cd2d0b6ffce7a9c6e64 (diff)
fix errors during database migration
Diffstat (limited to 'lib')
-rw-r--r--lib/MDB2/Driver/Manager/sqlite3.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/MDB2/Driver/Manager/sqlite3.php b/lib/MDB2/Driver/Manager/sqlite3.php
index a6fde69d6c4..8f4e1312eb8 100644
--- a/lib/MDB2/Driver/Manager/sqlite3.php
+++ b/lib/MDB2/Driver/Manager/sqlite3.php
@@ -660,13 +660,15 @@ class MDB2_Driver_Manager_sqlite3 extends MDB2_Driver_Manager_Common
return $result;
}
- foreach ($indexes as $index => $definition) {
- $this->createIndex($name_new, $index, $definition);
- }
+ //these seem to only give errors
- foreach ($constraints as $constraint => $definition) {
- $this->createConstraint($name_new, $constraint, $definition);
- }
+// foreach ($indexes as $index => $definition) {
+// $this->createIndex($name_new, $index, $definition);
+// }
+
+// foreach ($constraints as $constraint => $definition) {
+// $this->createConstraint($name_new, $constraint, $definition);
+// }
//fill the new table with data from the old one
if (!empty($select_fields)) {
@@ -691,7 +693,6 @@ class MDB2_Driver_Manager_sqlite3 extends MDB2_Driver_Manager_Common
// }
// }
// }
- echo "changes $name";
//remove the old table
$result = $this->dropTable('__'.$name);