| OLD | NEW |
| 1 # 2007 Sep 3 | 1 # 2007 Sep 3 |
| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 db close | 46 db close |
| 47 sqlite3 db :memory: -readonly 1 | 47 sqlite3 db :memory: -readonly 1 |
| 48 db eval {SELECT * FROM sqlite_master} | 48 db eval {SELECT * FROM sqlite_master} |
| 49 } {} | 49 } {} |
| 50 do_test openv2-2.2 { | 50 do_test openv2-2.2 { |
| 51 catchsql {CREATE TABLE t1(x)} | 51 catchsql {CREATE TABLE t1(x)} |
| 52 } {1 {attempt to write a readonly database}} | 52 } {1 {attempt to write a readonly database}} |
| 53 | 53 |
| 54 | 54 |
| 55 finish_test | 55 finish_test |
| OLD | NEW |