| OLD | NEW |
| 1 # 2006 September 9 | 1 # 2006 September 9 |
| 2 # | 2 # |
| 3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
| 4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
| 5 # | 5 # |
| 6 # May you do good and not evil. | 6 # May you do good and not evil. |
| 7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
| 8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
| 9 # | 9 # |
| 10 #************************************************************************* | 10 #************************************************************************* |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 do_test fts3expr-8.7 { test_fts3expr "((((blah!))))" } {PHRASE 3 0 blah} | 507 do_test fts3expr-8.7 { test_fts3expr "((((blah!))))" } {PHRASE 3 0 blah} |
| 508 | 508 |
| 509 do_test fts3expr-8.8 { test_fts3expr "(,(blah-),)" } {PHRASE 3 0 blah} | 509 do_test fts3expr-8.8 { test_fts3expr "(,(blah-),)" } {PHRASE 3 0 blah} |
| 510 | 510 |
| 511 set sqlite_fts3_enable_parentheses 0 | 511 set sqlite_fts3_enable_parentheses 0 |
| 512 | 512 |
| 513 do_test fts3expr-9.1 { | 513 do_test fts3expr-9.1 { |
| 514 test_fts3expr "f (e NEAR/2 a)" | 514 test_fts3expr "f (e NEAR/2 a)" |
| 515 } {AND {PHRASE 3 0 f} {NEAR/2 {PHRASE 3 0 e} {PHRASE 3 0 a}}} | 515 } {AND {PHRASE 3 0 f} {NEAR/2 {PHRASE 3 0 e} {PHRASE 3 0 a}}} |
| 516 | 516 |
| 517 do_test fts3expr-10.1 { test_fts3expr "abc *" } {PHRASE 3 0 abc} |
| 518 do_test fts3expr-10.2 { test_fts3expr "*" } {} |
| 519 do_test fts3expr-10.3 { test_fts3expr "abc*" } {PHRASE 3 0 abc+} |
| 520 |
| 517 finish_test | 521 finish_test |
| OLD | NEW |