aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
Commit message (Expand)AuthorAge
* Fix debugging code so that it compiles on MSVC.drh2024-02-22
* Add the test_oom_breakpoint() routine on debug builds, to serve as adrh2024-02-01
* Simplification to sqlite3ApiExit(). Generates identical machine code, butdrh2023-10-11
* Doc typo fix for SQLITE_MAX_ALLOCATION_SIZE in malloc.c. No code changes.stephan2022-12-03
* Convert an ALWAYS() in sqlite3DbSpanDup() into an assert(), for a performancedrh2022-11-22
* Provide the SQLITE_MAX_ALLOCATION_SIZE compile-time option for limiting thedrh2022-09-27
* Performance enhancement for sqlite3DbFree().drh2022-08-22
* Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both thedrh2022-08-22
* When an OOM occurs and sets the Parse.nErr value, also set the Parse.nErrdrh2022-07-10
* Modify utility function sqlite3SetString() so that it may be used safely on P...dan2022-04-12
* Make sure the sqlite3OomFault() routine sets an error in the Parse objectdrh2022-01-24
* Add lots of new "const" on internal function parameters. There is opportunitydrh2021-09-24
* Fix a problem with SQLITE_MAX_MEMORY in malloc.c.dan2021-05-21
* Improvements to the mechanism that attempts to report SQLITE_CORRUPT ifdrh2020-11-18
* On unix, for certain error codes of read()/pread() returndrh2020-11-18
* Fix the sqlite3_hard_heap_limit() so that it works with sqlite3_realloc64()drh2020-10-20
* Small performance improvement and size reduction in sqlite3DbStrNDup().drh2020-07-16
* Use the sqlite3Realloc() interface internally, rather than the publicdrh2020-05-17
* Do not retry on a failed realloc() unless SQLITE_ENABLE_MEMORY_MANAGEMENTdrh2020-05-08
* Use AtomicStore() when setting the mem0.nearlyFull boolean to avoiddrh2020-04-28
* Use an AtomicLoad() macro in sqlite3HeapNearlyFull().drh2020-04-28
* Use __atomic_load_n() and __atomic_store_n() for a few more things where they...dan2020-03-30
* Refactor names. Use "small" instead of "mini" to describe the smallerdrh2019-12-31
* Cleanup and performance enhancements for mini-lookaside.drh2019-12-13
* Reduce the number of call sites to dbMallocRawFinish in the case where n > lo...numist2019-12-12
* Fix an issue where malloc could be used to fulfill a small allocation when a ...numist2019-12-12
* Change the size of a mini-lookaside allocation to a macro (MINI_SZ) ratherdrh2019-12-12
* More efficient implementation of a lookaside allocator that supports mini (in...numist2019-12-12
* Fix a bug in the hard_heap_limit pragma so that it returns the new value ofdrh2019-11-14
* Merge recent enhancements from trunk.drh2019-11-14
|\
| * Performance optimization to the lookaside-memory disabling mechanism.drh2019-10-05
* | Add the sqlite3_hard_heap_limit64() interface and the correspondingdrh2019-04-25
|/
* Give the sqlite3 object a pointer to the current Parse so that if an OOMdrh2019-02-08
* Tag an unreachable branch using ALWAYS().drh2018-01-10
* Add and use the internal sqlite3DbSpanDup() interface.drh2017-12-27
* Faster memory allocation from lookaside by not trying to keep track of thedrh2017-08-29
* Remove the rarely-used scratch memory allocator. This makes the code smaller,drh2017-08-28
* Split off sqlite3DbFreeNN() from sqlite3DbFree() and use it in cases wheredrh2017-04-05
* Fix an error in the SQLITE_MAX_MEMORY implementation resulting from a baddrh2017-03-10
* Add the -DSQLITE_MAX_MEMORY=N compile-time option. The default is no limit.drh2017-03-10
|\
| * Add the SQLITE_MAX_MEMORY compile-time option that provides a hard upper bounddrh2017-03-10
|/
* Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" fordrh2017-02-13
* Typo fixes in comment. No changes to code.mistachkin2017-02-08
* Always invoke the xRoundup() method of the memory allocator before callingdrh2017-02-08
* Fix the build for SQLITE_ENABLE_MEMORY_MANAGEMENT.drh2017-01-13
* Avoid unnecessary calls to the xRoundup() method of the memory allocator whendrh2017-01-10
* Avoid a potential (harmless) signed integer overflow in memory usagedrh2016-12-27
* Small size reduction and performance increase in the string duplicator.drh2016-10-17
* Enhance ability to debug out-of-memory errors.mistachkin2016-02-13
* Make sure variable declarations occur at the beginning of blocks, evendrh2016-02-06