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

Unified Diff: third_party/sqlite/src/test/multiplex.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/test/mmap4.test ('k') | third_party/sqlite/src/test/mutex1.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/multiplex.test
diff --git a/third_party/sqlite/src/test/multiplex.test b/third_party/sqlite/src/test/multiplex.test
index 5db56f264ace22ae634e14628faf5ed10574e78a..6ea328906ee275faf87a171441b8423b1f351084 100644
--- a/third_party/sqlite/src/test/multiplex.test
+++ b/third_party/sqlite/src/test/multiplex.test
@@ -195,15 +195,16 @@ do_test multiplex-2.3.1 {
unset -nocomplain ::log
-do_test multiplex-2.4.1 {
- sqlite3_multiplex_shutdown
-} {SQLITE_MISUSE}
+#do_test multiplex-2.4.1 {
+# sqlite3_multiplex_shutdown
+#} {SQLITE_MISUSE}
do_test multiplex-2.4.2 {
execsql { INSERT INTO t1 VALUES(3, randomblob(1100)) }
} {}
-do_test multiplex-2.4.3 {
- set ::log
-} {SQLITE_MISUSE {sqlite3_multiplex_shutdown() called while database connections are still open}}
+#do_test multiplex-2.4.3 {
+# set ::log
+#} {SQLITE_MISUSE {sqlite3_multiplex_shutdown() called while database connections are still open}}
+
do_test multiplex-2.4.4 { file size [multiplex_name test.x 0] } {7168}
do_test multiplex-2.4.5 {
db close
@@ -445,11 +446,7 @@ multiplex_set db main 32768 16
# Return a list of all currently defined multiplexs.
proc multiplex_list {} {
- set allq {}
- foreach q [sqlite3_multiplex_dump] {
- lappend allq [lindex $q 0]
- }
- return [lsort $allq]
+ glob -nocomplain test2.db*
}
do_test multiplex-4.1.6 {
@@ -494,7 +491,7 @@ do_test multiplex-4.1.11 {
do_test multiplex-4.1.12 {
db close
multiplex_list
-} {}
+} {test2.db}
#-------------------------------------------------------------------------
« no previous file with comments | « third_party/sqlite/src/test/mmap4.test ('k') | third_party/sqlite/src/test/mutex1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698