Skip to content

Fix virtual table sql file export typo#4079

Merged
mgrojo merged 1 commit intosqlitebrowser:masterfrom
mdmahendri:fix-virtual-export
Mar 22, 2026
Merged

Fix virtual table sql file export typo#4079
mgrojo merged 1 commit intosqlitebrowser:masterfrom
mdmahendri:fix-virtual-export

Conversation

@mdmahendri
Copy link
Copy Markdown
Contributor

Problem
Exporting a database with virtual tables and "Keep old schema" enabled would result in invalid SQL like the one below

BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTSAL TABLE ...

Changes
Add conditional-if to handle virtual tables in DBBrowserDB::dump sqlitedb.cpp when generating/exporting the sql dump.

@mgrojo mgrojo merged commit 57a3e6e into sqlitebrowser:master Mar 22, 2026
13 checks passed
@mgrojo
Copy link
Copy Markdown
Member

mgrojo commented Mar 22, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants