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

Side by Side Diff: third_party/sqlite/sqlite-src-3100200/test/corruptB.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 # 2008 Sep 10 1 # 2008 Sep 10
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 set iRecord [hexio_get_int [hexio_read test.db $iCellarray 2]] 184 set iRecord [hexio_get_int [hexio_read test.db $iCellarray 2]]
185 db close 185 db close
186 hexio_write test.db [expr $iPage+$iRecord+3] FF00 186 hexio_write test.db [expr $iPage+$iRecord+3] FF00
187 } {2} 187 } {2}
188 do_test corruptB-3.1.2 { 188 do_test corruptB-3.1.2 {
189 sqlite3 db test.db 189 sqlite3 db test.db
190 catchsql { SELECT * FROM t2 } 190 catchsql { SELECT * FROM t2 }
191 } {1 {database disk image is malformed}} 191 } {1 {database disk image is malformed}}
192 192
193 finish_test 193 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/test/corruptA.test ('k') | third_party/sqlite/sqlite-src-3100200/test/corruptC.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698