sqlite-parser
sqlite-parser copied to clipboard
Syntax error when use tokenizer arguments
You can reproduce it in your demo: http://codeschool.github.io/sqlite-parser/demo/
The query CREATE VIRTUAL TABLE txt1 USING fts4(tokenize=unicode61);
is parsed well.
The same but with tokenizer arguments e.g. CREATE VIRTUAL TABLE txt2 USING fts4(tokenize=unicode61 "remove_diacritics=2");
gets the error Syntax error found near Identifier (CREATE VIRTUAL TABLE Statement)
Both examples have to be valid. I took them here: https://www.sqlite.org/fts3.html