1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Add assert() statements and reorganize code slightly in fts3 and fts5 to make it easier to follow.

FossilOrigin-Name: 797b0a13fd7a42b0a48ecbf0cd1961aa932da3e9c9ccffd903a3a4d963d0cc54
This commit is contained in:
dan
2024-08-08 15:07:27 +00:00
parent 1193e4679d
commit 679f5d458e
6 changed files with 73 additions and 13 deletions

View File

@ -561,7 +561,6 @@ do_test 4.3 {
}]
} {64}
#-------------------------------------------------------------------------
# Request a snippet from a query with more than 64 phrases.
#
@ -588,5 +587,9 @@ do_execsql_test 5.1 {
{[a70] [a71] [a72]}
}
do_execsql_test 5.2 {
SELECT snippet(t5, '[', ']', -1, 0) FROM t5 WHERE t5 MATCH 'a5'
} {{a4 [a5] a6}}
set sqlite_fts3_enable_parentheses 0
finish_test