| OLD | NEW |
| 1 # 2009 August 20 | 1 # 2009 August 20 |
| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 } {1 2 3 4} | 80 } {1 2 3 4} |
| 81 do_test tkt4018-2.3 { | 81 do_test tkt4018-2.3 { |
| 82 db2 close | 82 db2 close |
| 83 sqlite3 db2 test.db -readonly 1 | 83 sqlite3 db2 test.db -readonly 1 |
| 84 execsql COMMIT | 84 execsql COMMIT |
| 85 catchsql {INSERT INTO t1 VALUES(5, 6)} db2 | 85 catchsql {INSERT INTO t1 VALUES(5, 6)} db2 |
| 86 } {1 {attempt to write a readonly database}} | 86 } {1 {attempt to write a readonly database}} |
| 87 db2 close | 87 db2 close |
| 88 | 88 |
| 89 finish_test | 89 finish_test |
| OLD | NEW |