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

Side by Side Diff: third_party/sqlite/src/test/mutex1.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/multiplex.test ('k') | third_party/sqlite/src/test/nan.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 # 2008 June 17 1 # 2008 June 17
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } {0 0} 90 } {0 0}
91 91
92 #------------------------------------------------------------------------- 92 #-------------------------------------------------------------------------
93 # Tests mutex1-2.* test the three thread-safety related modes that 93 # Tests mutex1-2.* test the three thread-safety related modes that
94 # can be selected using sqlite3_config: 94 # can be selected using sqlite3_config:
95 # 95 #
96 # * Serialized mode, 96 # * Serialized mode,
97 # * Multi-threaded mode, 97 # * Multi-threaded mode,
98 # * Single-threaded mode. 98 # * Single-threaded mode.
99 # 99 #
100 ifcapable threadsafe&&shared_cache { 100 ifcapable threadsafe1&&shared_cache {
101 set enable_shared_cache [sqlite3_enable_shared_cache 1] 101 set enable_shared_cache [sqlite3_enable_shared_cache 1]
102 foreach {mode mutexes} { 102 foreach {mode mutexes} {
103 singlethread {} 103 singlethread {}
104 multithread { 104 multithread {
105 fast static_app1 static_app2 static_app3 105 fast static_app1 static_app2 static_app3
106 static_lru static_master static_mem static_open 106 static_lru static_master static_mem static_open
107 static_prng static_pmem static_vfs1 static_vfs2 107 static_prng static_pmem static_vfs1 static_vfs2
108 static_vfs3 108 static_vfs3
109 } 109 }
110 serialized { 110 serialized {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 do_test mutex1-X { 206 do_test mutex1-X {
207 catch {db close} 207 catch {db close}
208 sqlite3_shutdown 208 sqlite3_shutdown
209 clear_mutex_counters 209 clear_mutex_counters
210 install_mutex_counters 0 210 install_mutex_counters 0
211 sqlite3_initialize 211 sqlite3_initialize
212 } {SQLITE_OK} 212 } {SQLITE_OK}
213 213
214 autoinstall_test_functions 214 autoinstall_test_functions
215 finish_test 215 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/multiplex.test ('k') | third_party/sqlite/src/test/nan.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698