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

Side by Side Diff: third_party/sqlite/src/test/exists.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/exclusive2.test ('k') | third_party/sqlite/src/test/filectrl.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 # 2011 April 9 1 # 2011 April 9
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 # This file implements regression tests for SQLite library. The 11 # This file implements regression tests for SQLite library. The
12 # focus of this file is testing the various schema modification statements 12 # focus of this file is testing the various schema modification statements
13 # that feature "IF EXISTS" or "IF NOT EXISTS" clauses. 13 # that feature "IF EXISTS" or "IF NOT EXISTS" clauses.
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 source $testdir/lock_common.tcl 18 source $testdir/lock_common.tcl
19 19
20 20
21 foreach jm {rollback wal} { 21 foreach jm {rollback wal} {
22 if {![wal_is_capable] && $jm=="wal"} continue
22 23
23 set testprefix exists-$jm 24 set testprefix exists-$jm
24 25
25 # This block of tests is targeted at CREATE XXX IF NOT EXISTS statements. 26 # This block of tests is targeted at CREATE XXX IF NOT EXISTS statements.
26 # 27 #
27 do_multiclient_test tn { 28 do_multiclient_test tn {
28 29
29 # TABLE objects. 30 # TABLE objects.
30 # 31 #
31 do_test 1.$tn.1.1 { 32 do_test 1.$tn.1.1 {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 sql1 { DROP TRIGGER IF EXISTS tr1 } 190 sql1 { DROP TRIGGER IF EXISTS tr1 }
190 sql2 { CREATE TRIGGER aux.tr1 AFTER INSERT ON t2 BEGIN SELECT 1; END } 191 sql2 { CREATE TRIGGER aux.tr1 AFTER INSERT ON t2 BEGIN SELECT 1; END }
191 sql1 { DROP TRIGGER IF EXISTS tr1 } 192 sql1 { DROP TRIGGER IF EXISTS tr1 }
192 sql2 { SELECT name FROM aux.sqlite_master WHERE type = 'trigger' } 193 sql2 { SELECT name FROM aux.sqlite_master WHERE type = 'trigger' }
193 } {} 194 } {}
194 } 195 }
195 } 196 }
196 197
197 198
198 finish_test 199 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/exclusive2.test ('k') | third_party/sqlite/src/test/filectrl.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698