Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: third_party/sqlite/sqlite-src-3100200/test/fts3corrupt.test

Issue 1610543003: [sql] Import reference version of SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/test/fts3conf.test ('k') | third_party/sqlite/sqlite-src-3100200/test/fts3corrupt2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698