]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Remove the rarely-used scratch memory allocator. This makes the code smaller,
authordrh <drh@noemail.net>
Mon, 28 Aug 2017 15:51:35 +0000 (15:51 +0000)
committerdrh <drh@noemail.net>
Mon, 28 Aug 2017 15:51:35 +0000 (15:51 +0000)
commitb2a0f75c0606a3fcac26bf08c73c10eba4b515af
treeaaeab46c77d9831d17b8cbd2c91cc340d50a9597
parentb3c4523c586f370bc3c0080d0dae3d05d94e674d
Remove the rarely-used scratch memory allocator.  This makes the code smaller,
faster, and easier to maintain.  In place of the scratch allocator, add the
SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite
that large memory allocations should be avoided.

FossilOrigin-Name: 54b000246cfb5c7b8adb61a17357ef5a49adddde9e48e8937834d5ba0beb8a6b
19 files changed:
manifest
manifest.uuid
src/btree.c
src/global.c
src/main.c
src/malloc.c
src/shell.c.in
src/sqlite.h.in
src/sqliteInt.h
src/status.c
src/test_malloc.c
src/vdbesort.c
test/kvtest.c
test/lookaside.test
test/memsubsys1.test
test/permutations.test
test/speedtest1.c
test/tester.tcl
test/wordcount.c