Skip to content

Properly split SQL script; fixes #47#48

Open
hrk wants to merge 2 commits intojgilfelt:masterfrom
hrk:patch-1
Open

Properly split SQL script; fixes #47#48
hrk wants to merge 2 commits intojgilfelt:masterfrom
hrk:patch-1

Conversation

@hrk
Copy link
Copy Markdown

@hrk hrk commented Aug 29, 2014

This adds support for single quote string delimiters (as is the default with SQLite's own .dump command) and for escaped delimiters inside strings.

This adds support for single quote string delimiters (as is the default with SQLite's own .dump command) and for escaped delimiters inside strings.
@hrk
Copy link
Copy Markdown
Author

hrk commented Aug 29, 2014

Note: this will break with an input such as:

INSERT INTO t1(c1) VALUES("Unlikely, but you never know what you find in the wild\\");

This adds support for input such as

    INSERT INTO t1(c1) VALUES("Unlikely, but you never know what you find in the wild\\");
ranaparamveer pushed a commit to ranaparamveer/android-sqlite-asset-helper that referenced this pull request Jun 26, 2018
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.

1 participant