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

Side by Side Diff: third_party/sqlite/src/test/lookaside.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/lock_common.tcl ('k') | third_party/sqlite/src/test/main.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 August 01 1 # 2008 August 01
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 11 matching lines...) Expand all
22 } 22 }
23 23
24 # The tests in this file configure the lookaside allocator after a 24 # The tests in this file configure the lookaside allocator after a
25 # connection is opened. This will not work if there is any "presql" 25 # connection is opened. This will not work if there is any "presql"
26 # configured (SQL run within the [sqlite3] wrapper in tester.tcl). 26 # configured (SQL run within the [sqlite3] wrapper in tester.tcl).
27 if {[info exists ::G(perm:presql)]} { 27 if {[info exists ::G(perm:presql)]} {
28 finish_test 28 finish_test
29 return 29 return
30 } 30 }
31 31
32 test_set_config_pagecache 0 0
33
32 catch {db close} 34 catch {db close}
33 sqlite3_shutdown 35 sqlite3_shutdown
34 sqlite3_config_pagecache 0 0
35 sqlite3_config_scratch 0 0 36 sqlite3_config_scratch 0 0
36 sqlite3_initialize 37 sqlite3_initialize
37 autoinstall_test_functions 38 autoinstall_test_functions
38 sqlite3 db test.db 39 sqlite3 db test.db
39 40
40 # Make sure sqlite3_db_config() and sqlite3_db_status are working. 41 # Make sure sqlite3_db_config() and sqlite3_db_status are working.
41 # 42 #
42 do_test lookaside-1.1 { 43 do_test lookaside-1.1 {
43 catch {sqlite3_config_error db} 44 catch {sqlite3_config_error db}
44 } {0} 45 } {0}
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 # reported as an error. 123 # reported as an error.
123 # 124 #
124 do_test lookaside-4.1 { 125 do_test lookaside-4.1 {
125 db close 126 db close
126 sqlite3_shutdown 127 sqlite3_shutdown
127 catch sqlite3_config_error 128 catch sqlite3_config_error
128 } {0} 129 } {0}
129 sqlite3_initialize 130 sqlite3_initialize
130 autoinstall_test_functions 131 autoinstall_test_functions
131 132
133 test_restore_config_pagecache
132 finish_test 134 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/lock_common.tcl ('k') | third_party/sqlite/src/test/main.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698