1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Add the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c.

Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795)

FossilOrigin-Name: 63da5d97542e4f54c33329833477c8d96ce05dd0
This commit is contained in:
drh
2008-02-18 22:24:57 +00:00
parent f5e7bb513c
commit eee4c8ca11
28 changed files with 207 additions and 128 deletions

View File

@ -12,12 +12,15 @@
# This file contains common code used by many different malloc tests
# within the test suite.
#
# $Id: malloc_common.tcl,v 1.12 2008/01/22 21:30:53 drh Exp $
# $Id: malloc_common.tcl,v 1.13 2008/02/18 22:24:58 drh Exp $
# If we did not compile with malloc testing enabled, then do nothing.
#
ifcapable !memdebug {
ifcapable !memdebug&&!mem5 {
set MEMDEBUG 0
return 0
} else {
set MEMDEBUG 1
}
# Usage: do_malloc_test <test number> <options...>