Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: third_party/sqlite/src/test/fts3expr.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/test/fts3conf.test ('k') | third_party/sqlite/src/test/fts3expr4.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/fts3conf.test ('k') | third_party/sqlite/src/test/fts3expr4.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698