OLD | NEW |
1 # 2005 August 18 | 1 # 2005 August 18 |
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 execsql { | 110 execsql { |
111 PRAGMA writable_schema=on; | 111 PRAGMA writable_schema=on; |
112 UPDATE sqlite_master SET sql='nonsense'; | 112 UPDATE sqlite_master SET sql='nonsense'; |
113 } | 113 } |
114 db close | 114 db close |
115 catch { sqlite3 db test.db } | 115 catch { sqlite3 db test.db } |
116 catchsql { DROP TRIGGER t2r5 } | 116 catchsql { DROP TRIGGER t2r5 } |
117 } {1 {malformed database schema (t2r12) - near "nonsense": syntax error}} | 117 } {1 {malformed database schema (t2r12) - near "nonsense": syntax error}} |
118 | 118 |
119 finish_test | 119 finish_test |
OLD | NEW |