| OLD | NEW |
| 1 # 2005 July 22 | 1 # 2005 July 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 do_test analyze-99.1 { | 352 do_test analyze-99.1 { |
| 353 execsql { | 353 execsql { |
| 354 PRAGMA writable_schema=on; | 354 PRAGMA writable_schema=on; |
| 355 UPDATE sqlite_master SET sql='nonsense' WHERE name='sqlite_stat1'; | 355 UPDATE sqlite_master SET sql='nonsense' WHERE name='sqlite_stat1'; |
| 356 } | 356 } |
| 357 db close | 357 db close |
| 358 catch { sqlite3 db test.db } | 358 catch { sqlite3 db test.db } |
| 359 catchsql { | 359 catchsql { |
| 360 ANALYZE | 360 ANALYZE |
| 361 } | 361 } |
| 362 } {1 {malformed database schema (sqlite_stat1) - near "nonsense": syntax error}} | 362 } {1 {malformed database schema (sqlite_stat1)}} |
| 363 | 363 |
| 364 finish_test | 364 finish_test |
| OLD | NEW |