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

Side by Side Diff: third_party/sqlite/src/test/close.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/check.test ('k') | third_party/sqlite/src/test/collateB.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 # 2013 May 14 1 # 2013 May 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 some specific circumstances to do with shared cache mode. 12 # Test some specific circumstances to do with shared cache mode.
13 # 13 #
14 14
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 set ::testprefix close 18 set ::testprefix close
19 19
20 # This module bypasses the "-key" logic in tester.tcl, so it cannot run
21 # with the codec enabled.
22 do_not_use_codec
23
20 do_execsql_test 1.0 { 24 do_execsql_test 1.0 {
21 CREATE TABLE t1(x); 25 CREATE TABLE t1(x);
22 INSERT INTO t1 VALUES('one'); 26 INSERT INTO t1 VALUES('one');
23 INSERT INTO t1 VALUES('two'); 27 INSERT INTO t1 VALUES('two');
24 INSERT INTO t1 VALUES('three'); 28 INSERT INTO t1 VALUES('three');
25 } 29 }
26 db close 30 db close
27 31
28 do_test 1.1 { 32 do_test 1.1 {
29 set DB [sqlite3_open test.db] 33 set DB [sqlite3_open test.db]
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 list [catch { 73 list [catch {
70 sqlite3_prepare $DB "SELECT * FROM sqlite_master" -1 dummy 74 sqlite3_prepare $DB "SELECT * FROM sqlite_master" -1 dummy
71 } msg] $msg 75 } msg] $msg
72 } {1 {(21) library routine called out of sequence}} 76 } {1 {(21) library routine called out of sequence}}
73 77
74 do_test 1.4.4 { 78 do_test 1.4.4 {
75 sqlite3_finalize $STMT 79 sqlite3_finalize $STMT
76 } {SQLITE_OK} 80 } {SQLITE_OK}
77 81
78 finish_test 82 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/check.test ('k') | third_party/sqlite/src/test/collateB.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698