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/tclsqlite.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/table.test ('k') | third_party/sqlite/src/test/tester.tcl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2001 September 15 1 # 2001 September 15
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 lappend v $msg 111 lappend v $msg
112 } {1 {wrong # args: should be "db complete SQL"}} 112 } {1 {wrong # args: should be "db complete SQL"}}
113 } 113 }
114 do_test tcl-1.14 { 114 do_test tcl-1.14 {
115 set v [catch {db eval} msg] 115 set v [catch {db eval} msg]
116 lappend v $msg 116 lappend v $msg
117 } {1 {wrong # args: should be "db eval SQL ?ARRAY-NAME? ?SCRIPT?"}} 117 } {1 {wrong # args: should be "db eval SQL ?ARRAY-NAME? ?SCRIPT?"}}
118 do_test tcl-1.15 { 118 do_test tcl-1.15 {
119 set v [catch {db function} msg] 119 set v [catch {db function} msg]
120 lappend v $msg 120 lappend v $msg
121 } {1 {wrong # args: should be "db function NAME [-argcount N] SCRIPT"}} 121 } {1 {wrong # args: should be "db function NAME ?SWITCHES? SCRIPT"}}
122 do_test tcl-1.16 { 122 do_test tcl-1.16 {
123 set v [catch {db last_insert_rowid xyz} msg] 123 set v [catch {db last_insert_rowid xyz} msg]
124 lappend v $msg 124 lappend v $msg
125 } {1 {wrong # args: should be "db last_insert_rowid "}} 125 } {1 {wrong # args: should be "db last_insert_rowid "}}
126 do_test tcl-1.17 { 126 do_test tcl-1.17 {
127 set v [catch {db rekey} msg] 127 set v [catch {db rekey} msg]
128 lappend v $msg 128 lappend v $msg
129 } {1 {wrong # args: should be "db rekey KEY"}} 129 } {1 {wrong # args: should be "db rekey KEY"}}
130 do_test tcl-1.18 { 130 do_test tcl-1.18 {
131 set v [catch {db timeout} msg] 131 set v [catch {db timeout} msg]
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 CREATE TABLE t6(x); 632 CREATE TABLE t6(x);
633 INSERT INTO t6 VALUES(1); 633 INSERT INTO t6 VALUES(1);
634 } 634 }
635 do_test tcl-14.2 { 635 do_test tcl-14.2 {
636 db one {SELECT x FROM t6 WHERE xCall()!='value'} 636 db one {SELECT x FROM t6 WHERE xCall()!='value'}
637 } {} 637 } {}
638 638
639 639
640 640
641 finish_test 641 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/table.test ('k') | third_party/sqlite/src/test/tester.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698