mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix an fts4 matchinf() problem triggered by deferred tokens that are part of phrases that are part of AND expressions.
FossilOrigin-Name: f1e942a1dda496a509741e9cc2a17e8b4dac63a3
This commit is contained in:
@ -121,6 +121,12 @@ foreach {tn sql} {
|
||||
[list 1 2 2 1 2 2 0 54 54] \
|
||||
]
|
||||
set sqlite_fts3_enable_parentheses 0
|
||||
|
||||
do_execsql_test 2.2.$tn.4 {
|
||||
SELECT mit(matchinfo(t2, 'x')) FROM t2 WHERE t2 MATCH 'e "g z"';
|
||||
} [list \
|
||||
[list 1 2 2 1 2 2] \
|
||||
]
|
||||
}
|
||||
|
||||
do_execsql_test 2.3.1 {
|
||||
|
Reference in New Issue
Block a user