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

Side by Side Diff: third_party/sqlite/src/test/incrcorrupt.test

Issue 1610963002: Import 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 # 2001 October 12 1 # 2001 October 12
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } {SQLITE_OK} 118 } {SQLITE_OK}
119 do_test 2.13 { sqlite3_errcode db } {SQLITE_OK} 119 do_test 2.13 { sqlite3_errcode db } {SQLITE_OK}
120 do_test 2.14 { sqlite3_errmsg db } {not an error} 120 do_test 2.14 { sqlite3_errmsg db } {not an error}
121 121
122 do_test 2.15 { sqlite3_finalize $stmt } {SQLITE_CORRUPT} 122 do_test 2.15 { sqlite3_finalize $stmt } {SQLITE_CORRUPT}
123 do_test 2.16 { sqlite3_errcode db } {SQLITE_CORRUPT} 123 do_test 2.16 { sqlite3_errcode db } {SQLITE_CORRUPT}
124 do_test 2.17 { sqlite3_errmsg db } {database disk image is malformed} 124 do_test 2.17 { sqlite3_errmsg db } {database disk image is malformed}
125 125
126 finish_test 126 finish_test
127 127
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/incrblob2.test ('k') | third_party/sqlite/src/test/incrvacuum2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698