| OLD | NEW |
| 1 # 2007 April 24 | 1 # 2007 April 24 |
| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 ifcapable wal { set ro_version 03 } | 75 ifcapable wal { set ro_version 03 } |
| 76 do_test rdonly-1.6 { | 76 do_test rdonly-1.6 { |
| 77 hexio_write test.db 18 $ro_version ; # write-version | 77 hexio_write test.db 18 $ro_version ; # write-version |
| 78 hexio_write test.db 24 11223344 ; # change-counter | 78 hexio_write test.db 24 11223344 ; # change-counter |
| 79 catchsql { | 79 catchsql { |
| 80 INSERT INTO t1 VALUES(2); | 80 INSERT INTO t1 VALUES(2); |
| 81 } | 81 } |
| 82 } {1 {attempt to write a readonly database}} | 82 } {1 {attempt to write a readonly database}} |
| 83 | 83 |
| 84 finish_test | 84 finish_test |
| OLD | NEW |