OLD | NEW |
1 # 2010 June 15 | 1 # 2010 June 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 sqlite3 db1 {file:test.db?mode=memory&cache=shared} | 159 sqlite3 db1 {file:test.db?mode=memory&cache=shared} |
160 sqlite3 db2 {file:test.db?mode=memory&cache=shared} | 160 sqlite3 db2 {file:test.db?mode=memory&cache=shared} |
161 sqlite3 db3 test.db | 161 sqlite3 db3 test.db |
162 | 162 |
163 db1 eval { CREATE TABLE t1(a, b) } | 163 db1 eval { CREATE TABLE t1(a, b) } |
164 db2 eval { INSERT INTO t1 VALUES(1, 2) } | 164 db2 eval { INSERT INTO t1 VALUES(1, 2) } |
165 list [catch { db3 eval { INSERT INTO t1 VALUES(3, 4) } } msg] $msg | 165 list [catch { db3 eval { INSERT INTO t1 VALUES(3, 4) } } msg] $msg |
166 } {1 {no such table: t1}} | 166 } {1 {no such table: t1}} |
167 | 167 |
168 finish_test | 168 finish_test |
OLD | NEW |