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

Unified Diff: third_party/sqlite/src/ext/fts5/test/fts5ag.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/ext/fts5/test/fts5af.test ('k') | third_party/sqlite/src/ext/fts5/test/fts5ah.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/ext/fts5/test/fts5ag.test
diff --git a/third_party/sqlite/src/ext/fts5/test/fts5ag.test b/third_party/sqlite/src/ext/fts5/test/fts5ag.test
index 42a588f56c5cb4bb7c3e62e467dc470baff5492b..de126a25f02f71ac1bed282ed2eb06af162c0304 100644
--- a/third_party/sqlite/src/ext/fts5/test/fts5ag.test
+++ b/third_party/sqlite/src/ext/fts5/test/fts5ag.test
@@ -33,8 +33,10 @@ ifcapable !fts5 {
# ... WHERE fts MATCH ? ORDER BY rank [ASC|DESC]
#
+foreach_detail_mode $testprefix {
+
do_execsql_test 1.0 {
- CREATE VIRTUAL TABLE t1 USING fts5(x, y, z);
+ CREATE VIRTUAL TABLE t1 USING fts5(x, y, z, detail=%DETAIL%);
}
do_test 1.1 {
@@ -119,19 +121,24 @@ foreach {tn expr} {
2.3 c
2.4 d
- 2.5 {"m m"}
- 2.6 {e + s}
-
3.0 {a AND b}
3.1 {a OR b}
3.2 {b OR c AND d}
- 3.3 {NEAR(c d)}
} {
do_fts5ag_test $tn $expr
+}
- if {[set_test_counter errors]} break
+if {[detail_is_full]} {
+ foreach {tn expr} {
+ 4.1 {"m m"}
+ 4.2 {e + s}
+ 4.3 {NEAR(c d)}
+ } {
+ do_fts5ag_test $tn $expr
+ }
}
+} ;# foreach_detail_mode
finish_test
« no previous file with comments | « third_party/sqlite/src/ext/fts5/test/fts5af.test ('k') | third_party/sqlite/src/ext/fts5/test/fts5ah.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698