forked from sqlitebrowser/sqlitebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transaction detection in SQL import
Fix a couple of problems in the detection of transaction statements during the SQL import. Before this the detection was case-dependent as well as dependent on the number of spaces you use. Also it did not detect 'END TRANSACTION', 'COMMIT TRANSACTION', or 'BEGIN <qualifier> TRANSACTION' at all. Finally, it could modify your statements if you embed string in them which look like transaction statements. All of this is, hopefully, fixed in this commit. See issue sqlitebrowser#1764.
- Loading branch information
1 parent
e436cb2
commit 0f6946c
Showing
1 changed file
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters