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

Unified Diff: third_party/sqlite/src/test/fts3fault.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. 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 side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/src/test/fts3fault.test
diff --git a/third_party/sqlite/src/test/fts3fault.test b/third_party/sqlite/src/test/fts3fault.test
index 2dd7bbbc43cb0fd2639371b3df59c9c42c81073b..ab82daa935622f3038416e8accbdda56cb6b8aef 100644
--- a/third_party/sqlite/src/test/fts3fault.test
+++ b/third_party/sqlite/src/test/fts3fault.test
@@ -18,8 +18,6 @@ set ::testprefix fts3fault
# If SQLITE_ENABLE_FTS3 is not defined, omit this file.
ifcapable !fts3 { finish_test ; return }
-if 1 {
-
# Test error handling in the sqlite3Fts3Init() function. This is the
# function that registers the FTS3 module and various support functions
# with SQLite.
@@ -146,7 +144,8 @@ do_faultsim_test 7.2 -prep {
execsql { CREATE VIRTUAL TABLE t1 USING fts4(a, b, matchinfo=fs3) }
} -test {
faultsim_test_result {1 {unrecognized matchinfo: fs3}} \
- {1 {vtable constructor failed: t1}}
+ {1 {vtable constructor failed: t1}} \
+ {1 {SQL logic error or missing database}}
}
do_faultsim_test 7.3 -prep {
faultsim_delete_and_reopen
@@ -154,9 +153,8 @@ do_faultsim_test 7.3 -prep {
execsql { CREATE VIRTUAL TABLE t1 USING fts4(a, b, matchnfo=fts3) }
} -test {
faultsim_test_result {1 {unrecognized parameter: matchnfo=fts3}} \
- {1 {vtable constructor failed: t1}}
-}
-
+ {1 {vtable constructor failed: t1}} \
+ {1 {SQL logic error or missing database}}
}
proc mit {blob} {

Powered by Google App Engine
This is Rietveld 408576698