OLD | NEW |
1 # 2011 April 22 | 1 # 2011 April 22 |
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 execsql { ATTACH 'file:test.db2?mode=rw' AS aux } | 318 execsql { ATTACH 'file:test.db2?mode=rw' AS aux } |
319 } {} | 319 } {} |
320 do_execsql_test 7.3 { | 320 do_execsql_test 7.3 { |
321 INSERT INTO t2 VALUES('c', 'd') | 321 INSERT INTO t2 VALUES('c', 'd') |
322 } {} | 322 } {} |
323 do_catchsql_test 7.4 { | 323 do_catchsql_test 7.4 { |
324 INSERT INTO t1 VALUES(3, 4) | 324 INSERT INTO t1 VALUES(3, 4) |
325 } {1 {attempt to write a readonly database}} | 325 } {1 {attempt to write a readonly database}} |
326 | 326 |
327 finish_test | 327 finish_test |
OLD | NEW |