| OLD | NEW |
| 1 # 2009 August 1 | 1 # 2009 August 1 |
| 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 # Tests to make sure #3810 is fixed. | 12 # Tests to make sure #3810 is fixed. |
| 13 # | 13 # |
| 14 # $Id: tkt3810.test,v 1.4 2009/08/06 17:43:31 drh Exp $ | 14 # $Id: tkt3810.test,v 1.4 2009/08/06 17:43:31 drh 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 ifcapable {!trigger} { |
| 19 finish_test |
| 20 return |
| 21 } |
| 18 | 22 |
| 19 # Create a table using the first database connection. | 23 # Create a table using the first database connection. |
| 20 # | 24 # |
| 21 do_test tkt3810-1.1 { | 25 do_test tkt3810-1.1 { |
| 22 execsql { | 26 execsql { |
| 23 CREATE TABLE t1(x); | 27 CREATE TABLE t1(x); |
| 24 INSERT INTO t1 VALUES(123); | 28 INSERT INTO t1 VALUES(123); |
| 25 SELECT * FROM t1; | 29 SELECT * FROM t1; |
| 26 CREATE TABLE t2(y); | 30 CREATE TABLE t2(y); |
| 27 CREATE TABLE t3(z); | 31 CREATE TABLE t3(z); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 execsql {CREATE TABLE t1(x)} db2 | 78 execsql {CREATE TABLE t1(x)} db2 |
| 75 execsql {DROP TABLE t1} | 79 execsql {DROP TABLE t1} |
| 76 execsql { | 80 execsql { |
| 77 SELECT name FROM sqlite_temp_master; | 81 SELECT name FROM sqlite_temp_master; |
| 78 } | 82 } |
| 79 } {} | 83 } {} |
| 80 | 84 |
| 81 db2 close | 85 db2 close |
| 82 | 86 |
| 83 finish_test | 87 finish_test |
| OLD | NEW |