1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
--- test/malloc.test
+++ test/malloc.test
@@ -713,17 +713,17 @@
# After committing a transaction in persistent-journal mode, if a journal
# size limit is configured SQLite may attempt to truncate the journal file.
# This test verifies the libraries response to a malloc() failure during
# this operation.
#
do_malloc_test 31 -sqlprep {
PRAGMA journal_mode = persist;
- PRAGMA journal_size_limit = 1024;
+ PRAGMA journal_size_limit = 8192;
CREATE TABLE t1(a PRIMARY KEY, b);
} -sqlbody {
INSERT INTO t1 VALUES(1, 2);
}
# When written, this test provoked an obscure change-counter bug.
#
# If, when running in exclusive mode, a malloc() failure occurs
|