Skip to content

Commit e0a6879

Browse files
committed
exportsql: incorrect extra ); after create table
1 parent ad06406 commit e0a6879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqlitedb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ bool DBBrowserDB::dump(const QString& filename,
508508
return false;
509509
}
510510
}
511-
stream << ");\n";
511+
if (counter > 0) stream << ");\n";
512512
}
513513
sqlite3_finalize(stmt);
514514
}

0 commit comments

Comments
 (0)