Closed sivukhin closed 3 months ago
fts5 can crash if malformed tokenizer arguments are provided like this (see https://sqlite.org/forum/forumpost/171bcc2bcd for more details):
fts5
CREATE VIRTUAL TABLE t USING fts5(s, tokenize='trigram case_sensitive ');
This PR fixes this issue and make SQLite return regular error in such cases:
SQLite
$> CREATE VIRTUAL TABLE t USING fts5(s, tokenize='trigram case_sensitive '); Runtime error: error in tokenizer constructor
Context
fts5
can crash if malformed tokenizer arguments are provided like this (see https://sqlite.org/forum/forumpost/171bcc2bcd for more details):This PR fixes this issue and make
SQLite
return regular error in such cases: