DBBrowserDB: Don't export sqlite_sequence table

When creating an SQL dump don't export the sqlite_sequence table as it
is created internally by SQLite and it is not possible to import it
again.
This commit is contained in:
Martin Kleusberg
2013-06-04 22:15:15 +02:00
parent 324bb23193
commit d7c9585982

View File

@@ -229,7 +229,7 @@ bool DBBrowserDB::dump(const QString& filename)
it.next();
// Remove the sqlite_stat1 table if there is one
if(it.value().getname() == "sqlite_stat1")
if(it.value().getname() == "sqlite_stat1" || it.value().getname() == "sqlite_sequence")
{
it.remove();
} else {