Skip to content

Fix virtual table sql file export typo - #4079

Merged
mgrojo merged 1 commit into
sqlitebrowser:masterfrom
mahendrimd:fix-virtual-export
Mar 22, 2026
Merged

mgrojo merged 1 commit into
sqlitebrowser:masterfrom
mahendrimd:fix-virtual-export

Conversation

@mahendrimd

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

mgrojo commented Mar 22, 2026

Copy link
Copy Markdown
Member

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