aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
Commit message (Collapse)AuthorAge
...
* Work around a bug in Borland C. Ticket #3216. (CVS 5406)drh2008-07-14
| | | FossilOrigin-Name: 2c24e50da6f6c19dee105823125157db73bdd515
* Completely rework the sqlite3SetString() primitive so that it honors thedrh2008-07-08
| | | | | SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) FossilOrigin-Name: 8ed04b1e26a55306e4baf3e93fb084514134d603
* Fix some codewarrior compilation problems. (CVS 5278)danielk19772008-06-23
| | | FossilOrigin-Name: e6ea8f87c102bd36ab0f2fbc8360fde49f4e3422
* Correct comments above sqlite3_release_memory() and ↵danielk19772008-06-23
| | | | | sqlite3_soft_heap_limit(). Ticket #3138. (CVS 5275) FossilOrigin-Name: 3240446853a11f5a1e379d4841d0268873aad64d
* Fix a problem in the test suite that could cause a crash if using a ↵danielk19772008-06-21
| | | | | pre-allocated block of memory for pages (the problem was that sqlite3_shutdown() was being called while there were still open database connections). (CVS 5259) FossilOrigin-Name: 3d413e9b466a871650597407016131df4d07b3d2
* Move the malloc() failure simulation out of malloc.c and into a separate ↵danielk19772008-06-19
| | | | | sqlite3_mem_methods interface. Still some related changes to come. (CVS 5250) FossilOrigin-Name: d22cd2a59f472f4eaf80aa9f55fbff2514ca428d
* Add some test logic to the new memory allocation subsystem. (Lots more needed.)drh2008-06-19
| | | | | | The test suite is currently indicating memory leaks, though it is unclear if this is a true code problem or just an instrumentation problem. (CVS 5240) FossilOrigin-Name: cb1f11cd9764cf0275e88e1f6342e366e5536bfd
* Added support for scratch-memory lookaside allocations. Largely untested.drh2008-06-18
| | | | | Added calls to sqlite3_initialize() within malloc APIs. (CVS 5237) FossilOrigin-Name: 383a78601c70cd832c171344857038e345b9ae5c
* Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration ↵danielk19772008-06-18
| | | | | modes. (CVS 5234) FossilOrigin-Name: 5059644c4bc5f6679afd939e0bc26080f42a9918
* Add internal interfaces: PageMalloc/PageFree and ScratchMalloc/ScratchFree. ↵drh2008-06-17
| | | | | (CVS 5226) FossilOrigin-Name: 3e797d0ffe1af6f7512b3fb7b387418ac05671e0
* Continuing work on the new memory allocation subsystem.drh2008-06-15
| | | | | | Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) FossilOrigin-Name: 65fe7b62cfe7d11cd667681a64c96fe7b2fe5685
* Continuing progress on the new memory allocation subsystem. Added thedrh2008-06-14
| | | | | | sqlite3_mem_methods structure for defining new memory allocators at run-time. (CVS 5219) FossilOrigin-Name: f00305f4cd2f487f660f34a21c1c24a0b37c7275
* Changes to delay freeing buffers associated with vdbe memory cells until ↵danielk19772008-03-26
| | | | | either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922) FossilOrigin-Name: 8c2f69521f13bc24cf005520efbe0589eeadd763
* Add the new memory allocator to the amalgamation. Improvements todrh2007-10-20
| | | | | out-of-memory handling. (CVS 4498) FossilOrigin-Name: b58c2b37a5deb19ce0ef78629989016743a46bb3
* Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)danielk19772007-08-29
| | | FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c
* Modifications to the malloc failure tests to test transient and persistent ↵danielk19772007-08-29
| | | | | failures. (CVS 4321) FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
* The win32 driver compiles but does not yet work well. Many bugsdrh2007-08-24
| | | | | fixed. (CVS 4282) FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
* The malloc.test script now passes all tests with no errors. (CVS 4271)drh2007-08-22
| | | FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
* Reenable the memory management logic. The quick.test script now runs withdrh2007-08-22
| | | | | SQLITE_MEMDEBUG and SQLITE_ENABLE_MEMORY_MANAGEMENT. 7 minor errors. (CVS 4265) FossilOrigin-Name: 1914044b8832041f13b20ead613bd13725425d7a
* The sqlite3_value object now carries an sqlite3* pointer to use fordrh2007-08-21
| | | | | | recording malloc failures. This eliminates the need to pass sqlite3* pointers into many internal interfaces. Also added more mutexing. (CVS 4263) FossilOrigin-Name: 9287276191a582c1cf7cf6b71d8399727d8e534d
* Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)drh2007-08-21
| | | FossilOrigin-Name: fbbd5bda544ffec4e1b43407b12e546235dc7873
* More work on refactoring of malloc() interfaces. There are still many ↵danielk19772007-08-16
| | | | | errors. (CVS 4233) FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
* Half-way through a major refactoring of the memory allocation.drh2007-08-16
| | | | | | I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
* Additional refinements on the amalgamation: Give a couple of constantsdrh2007-08-08
| | | | | | file scope and add the SQLITE_API prefix to some interfaces that need it. Ticket #2554. (CVS 4199) FossilOrigin-Name: c09ec102c4f62e492dd3676ef0aa1a183d6ce3b3
* Make arrangements to optionally print a debug message at the pointdrh2007-06-15
| | | | | of a simulated malloc() failure when SQLITE_MEMDEBUG is defined. (CVS 4077) FossilOrigin-Name: 7d3c1f08a34fcf2ca5c79d6e58f713ae6a4b34e8
* Change a few selected functions to macros to speed things up. (CVS 4015)danielk19772007-05-16
| | | FossilOrigin-Name: 93f811ec747f6a42daf9ee27cd8b013f248552a1
* Refactoring. Split btreeInt.h off from btree.c. Split malloc.c off fromdrh2007-05-05
util.c. Expect much more to follow. (CVS 3925) FossilOrigin-Name: 16041116aaaa2d52a289aa02a24bef579ba60896