1
0
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:
dan
2015-05-25 10:57:13 +00:00
parent af80a1c8e7
commit 3fb37f097c
6 changed files with 24 additions and 17 deletions

View File

@ -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 {