From e0a687992d75f7f55998c913162029bf55ef181f Mon Sep 17 00:00:00 2001 From: schdub Date: Wed, 10 Jun 2015 17:16:09 +0300 Subject: [PATCH] exportsql: incorrect extra ); after create table --- src/sqlitedb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlitedb.cpp b/src/sqlitedb.cpp index 9eae9229..b3437495 100644 --- a/src/sqlitedb.cpp +++ b/src/sqlitedb.cpp @@ -508,7 +508,7 @@ bool DBBrowserDB::dump(const QString& filename, return false; } } - stream << ");\n"; + if (counter > 0) stream << ");\n"; } sqlite3_finalize(stmt); }