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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/test/fts2l.test

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 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
OLDNEW
1 # 2007 March 28 1 # 2007 March 28
2 # 2 #
3 # The author disclaims copyright to this source code. 3 # The author disclaims copyright to this source code.
4 # 4 #
5 #************************************************************************* 5 #*************************************************************************
6 # This file implements regression tests for SQLite library. The focus 6 # This file implements regression tests for SQLite library. The focus
7 # of this script is testing isspace/isalnum/tolower problems with the 7 # of this script is testing isspace/isalnum/tolower problems with the
8 # FTS2 module. Unfortunately, this code isn't a really principled set 8 # FTS2 module. Unfortunately, this code isn't a really principled set
9 # of tests, because it is impossible to know where new uses of these 9 # of tests, because it is impossible to know where new uses of these
10 # functions might appear. 10 # functions might appear.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 db eval {CREATE VIRTUAL TABLE t4 USING fts2(content)} 61 db eval {CREATE VIRTUAL TABLE t4 USING fts2(content)}
62 db eval "INSERT INTO t4 (content) VALUES ('$phrase1')" 62 db eval "INSERT INTO t4 (content) VALUES ('$phrase1')"
63 db eval "INSERT INTO t4 (content) VALUES ('$phrase2')" 63 db eval "INSERT INTO t4 (content) VALUES ('$phrase2')"
64 64
65 do_test fts2l-1.4 { 65 do_test fts2l-1.4 {
66 execsql {SELECT rowid, length(snippet(t4)) FROM t4 WHERE t4 MATCH 'target'} 66 execsql {SELECT rowid, length(snippet(t4)) FROM t4 WHERE t4 MATCH 'target'}
67 } {1 111 2 117} 67 } {1 111 2 117}
68 68
69 finish_test 69 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/fts2k.test ('k') | third_party/sqlite/sqlite-src-3080704/test/fts2m.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698