aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
AgeCommit message (Expand)AuthorLines
2010-08-27Refactor the implementation of the scratch memory allocator. Add thedrh-78/+77
2010-08-27Remove unnecessary code from malloc.c. Enhance pcache1.c so that is triesdrh-14/+26
2010-07-26Fix a bug in the SQLITE_STATUS_MALLOC_COUNT counter. Add an ALWAYS() arounddrh-0/+1
2010-07-26Add the SQLITE_STATUS_MALLOC_COUNT option for sqlite3_status().drh-0/+2
2010-07-26Add virtual table test cases to dbstatus.test.dan-0/+1
2010-07-26Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree()drh-23/+31
2010-07-24Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() anddrh-4/+12
2010-07-24Experimental code to measure memory consumed by database schemas and prepared...dan-1/+7
2010-07-23Strenghten an assert() in malloc.c that helps to ensure that allocated memorydrh-1/+2
2010-06-26Fix two asserts on the scratch allocator to allow for up to two outstandingdrh-12/+12
2010-03-12Add assert()s to mem2.c (activated by SQLITE_MEMDEBUG) which verify thatdrh-0/+16
2009-11-10Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh-2/+0
2009-10-26Remove some obsolete code within #if 0 that was causing developer concern.drh-3/+0
2009-08-18Fix obscure issues with the memsys5 memory allocator. Arrange that thedrh-18/+16
2009-08-17Enhanced documentation and minor code tweaks in preparation for hardeningdrh-0/+2
2009-07-17Code simplifications in support of structural testing. (CVS 6900)drh-4/+2
2009-07-16Code simplifications and comment improvements in support of structuraldrh-8/+7
2009-06-27Fix a bug in sqlite3_realloc() - if called with a size of more thandrh-3/+6
2009-06-26Remove incorrect NEVER() macros from malloc.c. The allocations can bedrh-12/+9
2009-05-03Changes to facility full coverage testing of util.c. (CVS 6597)drh-2/+2
2009-03-24Changes to insure that lookaside memory allocations are never used to hold drh-2/+3
2009-03-23Add asserts to make sure that database connection locks are held whendrh-1/+5
2009-03-23Use the ROUND8() macro to round an integer up to the nearest multiple of 8 an...danielk1977-3/+3
2009-03-05Corrected typos and misspellings. Ticket #3702. (CVS 6336)shane-3/+3
2009-02-19Remove code in malloc.c that was already commented out using #if 0. (CVS 6306)drh-90/+1
2009-02-17Add tests to double-check that nothing within SQLite ever tries to allocatedrh-3/+12
2009-02-17Allow sqlite3_shutdown() to be called by a process before sqlite3_initialize(...danielk1977-2/+4
2009-01-20When not compiling for an EBCDIC system, use built-in alternatives to the tolowedanielk1977-2/+1
2008-12-16Fix a compile error in an assert() and a warning with MSVC builds. (CVS 6032)shane-2/+2
2008-12-16Make sure the memory returned from sqlite3ScratchMalloc() is 8-byte aligned.drh-3/+4
2008-12-10Additional work at eliminating silly compiler warnings. (CVS 6010)drh-3/+3
2008-12-10Never use strlen(). Use our own internal sqlite3Strlen30() which isdrh-2/+2
2008-12-05Make use of sqlite3DbMallocSize to maximize the size of growable buffersdrh-2/+4
2008-11-19Changes to avoid "unused parameter" compiler warnings. (CVS 5921)danielk1977-2/+4
2008-11-18Reduce the number of "missing initializer" warnings. (CVS 5915)danielk1977-2/+2
2008-11-17Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)danielk1977-2/+2
2008-10-12Added SQLITE_OMIT_DEPRECATED compile time option to leave out deprecated func...shane-1/+3
2008-10-11Fix to sqlite3DbMallocRaw() when SQLITE_OMIT_LOOKASIDE is defined so thatdrh-1/+19
2008-10-11Added an assert() to detect lookaside memory leaks. Also added thedrh-1/+7
2008-09-23Always transform error code SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returni...danielk1977-2/+2
2008-09-04Modified core to not call deprecated functions sqlite3_memory_alarm() and sql...shane-4/+16
2008-09-02Explicitly initialize at least the first field of every struct. This is to wo...danielk1977-6/+6
2008-09-02Change some more global variables to work with OMIT_WSD. (CVS 5660)danielk1977-3/+5
2008-09-01Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables...danielk1977-72/+72
2008-08-29Move a call to sqlite3_mutex_leave() to protect calls to sqlite3StatusAdd() r...danielk1977-2/+2
2008-08-21Fix the functionality associated with sqlite3_release_memory() and sqlite3_so...danielk1977-3/+6
2008-08-20Add the pcache module from the experimental branch. Also change things so tha...danielk1977-1/+3
2008-08-05Add SQLITE_STATUS_PAGECACHE_SIZE and SQLITE_STATUS_SCRATCH_SIZE. (CVS 5537)drh-1/+5
2008-08-01Test cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518)drh-4/+4
2008-07-31Change the definition of SQLITE_CONFIG_PAGECACHE anddrh-2/+8