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.
grammar: Detect parse errors in primary key and unique constraints
When having a table definition like this, detect the parse errors in the table constraints correctly: CREATE TABLE test( a INTEGER, b TEXT, PRIMARY KEY(a ASC), -- ASC here UNIQUE(b COLLATE NOCASE) -- COLLATE here ); The next step is to actually parse and store this information.
- Loading branch information
1 parent
9ea807f
commit fd1f4f2
Showing
1 changed file
with
39 additions
and
14 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