summaryrefslogtreecommitdiff
path: root/test/malloc5.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/malloc5.test')
-rw-r--r--test/malloc5.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/malloc5.test b/test/malloc5.test
index c02f65e..6abedf7 100644
--- a/test/malloc5.test
+++ b/test/malloc5.test
@@ -205,6 +205,7 @@ do_test malloc5-4.1 {
execsql "INSERT INTO abc VALUES($i, $i, '[string repeat X 100]');"
}
execsql {COMMIT;}
+ db cache flush
sqlite3_release_memory
sqlite3_memory_highwater 1
execsql {SELECT * FROM abc}
@@ -213,6 +214,7 @@ do_test malloc5-4.1 {
expr $nMaxBytes > 1000000
} {1}
do_test malloc5-4.2 {
+ db cache flush
sqlite3_release_memory
sqlite3_soft_heap_limit 100000
sqlite3_memory_highwater 1