Add test cases to test some fts3/4 edge case behaviour surrounding the '*' character.

FossilOrigin-Name: 1f577e1f08159aeaaf19a7020d9004dd6103d57b
This commit is contained in:
dan 2016-05-19 16:21:30 +00:00
parent 4ca239fd55
commit 21690ff7fc
3 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Small\ssize\sreduction\sand\sperformance\simprovement\sin\sthe\sOP_Column\sopcode.
D 2016-05-19T11:12:43.914
C Add\stest\scases\sto\stest\ssome\sfts3/4\sedge\scase\sbehaviour\ssurrounding\sthe\s'*'\scharacter.
D 2016-05-19T16:21:30.935
F Makefile.in f59e0763ff448719fc1bd25513882b0567286317
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc 306d73e854b1a92ea06e5d1e637faa5c44de53c7
@ -747,7 +747,7 @@ F test/fts3defer2.test c540f5f5c2840f70c68fd9b597df817ec7170468
F test/fts3defer3.test dd53fc13223c6d8264a98244e9b19abd35ed71cd
F test/fts3drop.test 1b906e293d6773812587b3dc458cb9e8f3f0c297
F test/fts3e.test 1f6c6ac9cc8b772ca256e6b22aaeed50c9350851
F test/fts3expr.test 3401d47b229c4504424caf362cc4ff704cad4162
F test/fts3expr.test 9466627007804d855bf9df2a0cfb3dac23686fdc
F test/fts3expr2.test 18da930352e5693eaa163a3eacf96233b7290d1a
F test/fts3expr3.test c4d4a7d6327418428c96e0a3a1137c251b8dfbf8
F test/fts3expr4.test c39a15d676b14fc439d9bf845aa7bddcf4a74dc3
@ -1489,7 +1489,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P c981ab2a4771f8c5e95e2e85e37a02a4bd0e36ee
R b1335b5684d992944fc28b0ddd0864fa
U drh
Z 965b22aefdb31f818dd701e1987d5b24
P 0d7730611be974162d9a064a041957d04d55b6d3
R 75d6e6df9086a2f9f36eca9902564b2b
U dan
Z dcfe2b5ad39143edc6be65e7ccceeb89

View File

@ -1 +1 @@
0d7730611be974162d9a064a041957d04d55b6d3
1f577e1f08159aeaaf19a7020d9004dd6103d57b

View File

@ -514,4 +514,8 @@ do_test fts3expr-9.1 {
test_fts3expr "f (e NEAR/2 a)"
} {AND {PHRASE 3 0 f} {NEAR/2 {PHRASE 3 0 e} {PHRASE 3 0 a}}}
do_test fts3expr-10.1 { test_fts3expr "abc *" } {PHRASE 3 0 abc}
do_test fts3expr-10.2 { test_fts3expr "*" } {}
do_test fts3expr-10.3 { test_fts3expr "abc*" } {PHRASE 3 0 abc+}
finish_test