OLD | NEW |
1 # 2010 October 27 | 1 # 2010 October 27 |
2 # | 2 # |
3 # May you do good and not evil. | 3 # May you do good and not evil. |
4 # May you find forgiveness for yourself and forgive others. | 4 # May you find forgiveness for yourself and forgive others. |
5 # May you share freely, never taking more than you give. | 5 # May you share freely, never taking more than you give. |
6 # | 6 # |
7 #*********************************************************************** | 7 #*********************************************************************** |
8 # Test that the FTS3 extension does not crash when it encounters a | 8 # Test that the FTS3 extension does not crash when it encounters a |
9 # corrupt data structure on disk. | 9 # corrupt data structure on disk. |
10 # | 10 # |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } {1 {database disk image is malformed}} | 159 } {1 {database disk image is malformed}} |
160 do_test 5.2.1 { sqlite3_extended_errcode db } SQLITE_CORRUPT_VTAB | 160 do_test 5.2.1 { sqlite3_extended_errcode db } SQLITE_CORRUPT_VTAB |
161 do_catchsql_test 5.3 { | 161 do_catchsql_test 5.3 { |
162 UPDATE t1_stat SET value = NULL; | 162 UPDATE t1_stat SET value = NULL; |
163 SELECT matchinfo(t1, 'nxa') FROM t1 WHERE t1 MATCH 't*'; | 163 SELECT matchinfo(t1, 'nxa') FROM t1 WHERE t1 MATCH 't*'; |
164 } {1 {database disk image is malformed}} | 164 } {1 {database disk image is malformed}} |
165 do_test 5.3.1 { sqlite3_extended_errcode db } SQLITE_CORRUPT_VTAB | 165 do_test 5.3.1 { sqlite3_extended_errcode db } SQLITE_CORRUPT_VTAB |
166 | 166 |
167 | 167 |
168 finish_test | 168 finish_test |
OLD | NEW |