summaryrefslogtreecommitdiffstats
path: root/lib/MDB2/Driver/Manager/sqlite3.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDB2/Driver/Manager/sqlite3.php')
-rw-r--r--lib/MDB2/Driver/Manager/sqlite3.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDB2/Driver/Manager/sqlite3.php b/lib/MDB2/Driver/Manager/sqlite3.php
index c5c19a90fb5..7e30755fc3a 100644
--- a/lib/MDB2/Driver/Manager/sqlite3.php
+++ b/lib/MDB2/Driver/Manager/sqlite3.php
@@ -798,7 +798,7 @@ class MDB2_Driver_Manager_sqlite3 extends MDB2_Driver_Manager_Common
return $db;
}
- $query = "SELECT name FROM sqlite_master WHERE type='table' AND sql NOT NULL ORDER BY name";
+ $query = "SELECT name FROM sqlite_master WHERE type='table' AND sql NOT NULL AND name!='sqlite_sequence' ORDER BY name";
$table_names = $db->queryCol($query);
if (PEAR::isError($table_names)) {
return $table_names;