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

Unified Diff: third_party/sqlite/src/test/mallocI.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/malloc5.test ('k') | third_party/sqlite/src/test/mallocK.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/mallocI.test
diff --git a/third_party/sqlite/src/test/mallocI.test b/third_party/sqlite/src/test/mallocI.test
index 122945550516863d9fde3e7522944fca44f06ed3..ee4a603dee17767ebf91b829f05662d963cc7b7d 100644
--- a/third_party/sqlite/src/test/mallocI.test
+++ b/third_party/sqlite/src/test/mallocI.test
@@ -61,4 +61,15 @@ do_malloc_test mallocI-4 -tclprep {
}
catch { db2 close }
+do_faultsim_test mallocI-5 -faults oom* -prep {
+ catch { db close }
+ sqlite3 db test.db
+ sqlite3_db_config_lookaside db 0 0 0
+} -body {
+ db eval { Select CAST(1 AS blob) }
+} -test {
+ faultsim_test_result {0 1}
+}
+
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/malloc5.test ('k') | third_party/sqlite/src/test/mallocK.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698