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

Side by Side Diff: third_party/sqlite/src/test/shared4.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/selectG.test ('k') | third_party/sqlite/src/test/shell1.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 July 14 1 # 2008 July 14
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 #***********************************************************************
11 # 11 #
12 # Test the btree mutex protocol for shared cache mode. 12 # Test the btree mutex protocol for shared cache mode.
13 # 13 #
14 # $Id: shared4.test,v 1.2 2008/08/04 03:51:24 danielk1977 Exp $ 14 # $Id: shared4.test,v 1.2 2008/08/04 03:51:24 danielk1977 Exp $
15 15
16 set testdir [file dirname $argv0] 16 set testdir [file dirname $argv0]
17 source $testdir/tester.tcl 17 source $testdir/tester.tcl
18 db close 18 db close
19 puts hello
20 19
21 # This script is only valid if we are running shared-cache mode in a 20 # This script is only valid if we are running shared-cache mode in a
22 # threadsafe-capable database engine. 21 # threadsafe-capable database engine.
23 # 22 #
24 ifcapable !shared_cache||!compound { 23 ifcapable !shared_cache||!compound {
25 finish_test 24 finish_test
26 return 25 return
27 } 26 }
28 set ::enable_shared_cache [sqlite3_enable_shared_cache 1] 27 set ::enable_shared_cache [sqlite3_enable_shared_cache 1]
29 28
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 } {1111111 3333333 4444444 2222222} 227 } {1111111 3333333 4444444 2222222}
229 228
230 229
231 db1 close 230 db1 close
232 db2 close 231 db2 close
233 db3 close 232 db3 close
234 db4 close 233 db4 close
235 234
236 sqlite3_enable_shared_cache $::enable_shared_cache 235 sqlite3_enable_shared_cache $::enable_shared_cache
237 finish_test 236 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/selectG.test ('k') | third_party/sqlite/src/test/shell1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698