danielk1977
|
e598bb4639
|
Add a type identifier to argument sz to sqlite3PageMalloc() in pcache.c. Ticket #3383. (CVS 5713)
FossilOrigin-Name: 94fde77b9a4efde5f7fb2a84fedaf38b0ebbac70
|
2008-09-17 11:02:57 +00:00 |
|
drh
|
b5774cfa8f
|
Adjust the page recycling algorithm so that the number of pages allocated
to each connection does not exceed its cache_size limit. (CVS 5701)
FossilOrigin-Name: 3bc221b940565133ae8d95f59b3b120e57df0124
|
2008-09-15 15:36:57 +00:00 |
|
danielk1977
|
5b775295f0
|
Modify pcache.c to work with OMIT_WSD. (CVS 5659)
FossilOrigin-Name: 44def90d1bd4e37ab162e16f83e23d32e86b78ab
|
2008-09-02 09:38:06 +00:00 |
|
danielk1977
|
075c23af26
|
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
FossilOrigin-Name: 573d92abb9adb1c321ebc2fcadcf14374213b093
|
2008-09-01 18:34:20 +00:00 |
|
danielk1977
|
062d4cb0ae
|
If a page is made eligible for recycling when more than the configured maximum number of pages are allocated, free it immediately instead of adding it to the LRU list. (CVS 5638)
FossilOrigin-Name: 4b12922dcb4547bf3a7276d0542b2e1d12ad338d
|
2008-08-29 09:10:02 +00:00 |
|
drh
|
570f5c7d70
|
Partial fix for a bug in recovery from xStress failures in pcache. (CVS 5635)
FossilOrigin-Name: 44193b92770062271711570d8532fa5af5f5da54
|
2008-08-28 17:46:18 +00:00 |
|
danielk1977
|
29e2d6a5e6
|
Fix mutex related bug in pcache.c to do with handling IO errors. (CVS 5632)
FossilOrigin-Name: 5e304fed275137f98be56f475504422d1f5113a4
|
2008-08-28 11:12:09 +00:00 |
|
danielk1977
|
f599a1994c
|
Enable the disabled asserts added by (5629). Add extra tests to thread003.test. And the required modifications to pcache.c. (CVS 5631)
FossilOrigin-Name: 473c09fac22ed2f56ea86150a60b9f0f2263c889
|
2008-08-28 10:21:16 +00:00 |
|
danielk1977
|
51d2d03636
|
Fix a threads/mutex problem in pcache.c. (CVS 5630)
FossilOrigin-Name: 1928f15b78eee0fbf0a8ecdbbdd38dbbde2942b8
|
2008-08-28 08:31:48 +00:00 |
|
drh
|
a85f7e36e8
|
Miscellaneous cleanup in the new pcache code. (CVS 5629)
FossilOrigin-Name: da1777259f53c2e20c7ced06bf6f2a550f0ea0fc
|
2008-08-28 02:26:07 +00:00 |
|
danielk1977
|
468c82bc50
|
Modifications to malloc5.test to account for the fact that sqlite3_release_memory() no longer reclaims dirty pages. (CVS 5625)
FossilOrigin-Name: b01c65b065c62e3dd71e88866a953668b5e2f25f
|
2008-08-27 16:38:56 +00:00 |
|
danielk1977
|
a1fa00d95f
|
Use a bitvec object to store the set of pages with the 'always-rollback' property for a transaction. (CVS 5622)
FossilOrigin-Name: 9e9325997e11a0368721ed7860f4c37de3502a9b
|
2008-08-27 15:16:33 +00:00 |
|
danielk1977
|
4abdfa45db
|
Remove unreachable branches from pcache.c. (CVS 5620)
FossilOrigin-Name: 7de32498b349e046c5c886de255bbdefd6a7e8f7
|
2008-08-27 09:44:39 +00:00 |
|
danielk1977
|
29f55ae1e4
|
Disable some very expensive asserts in pcache.c that are too slow for all.test. (CVS 5616)
FossilOrigin-Name: 555dad900fad874099556d44c464ea9f64687ca0
|
2008-08-26 19:07:59 +00:00 |
|
danielk1977
|
d491e1bfd1
|
Simplify the pcache module by only recycling clean pages from 'other' caches. This commit causes errors in test files ioerr5.test and malloc5.test because they test recycling dirty pages from other caches. (CVS 5615)
FossilOrigin-Name: 9e511e161bcb077450d31fca5dd20c2557f103b3
|
2008-08-26 18:05:48 +00:00 |
|
danielk1977
|
502b74309a
|
Pick up a small performance increase by eliminating the pcacheRef() function. (CVS 5609)
FossilOrigin-Name: e3840fbf0adf824941a4b9b3cac3a869f195d6f8
|
2008-08-25 14:49:42 +00:00 |
|
danielk1977
|
8c20014a0a
|
If the sector size is greater than the database page size, SQLite journals all pages that lie within a sector before writing to any of them. This change ensure that a journal sync does not occur halfway through journalling the set of pages that belong to a single sector. (CVS 5605)
FossilOrigin-Name: 16f612d61e00938f29ecae4ebfe598be7a8709a8
|
2008-08-25 07:12:28 +00:00 |
|
danielk1977
|
33e3216a3d
|
Instead of marking a page as clean when sqlite3PagerDontWrite() is called, set a dedictated flag - PGHDR_DONT_WRITE. (CVS 5604)
FossilOrigin-Name: a323bd29a600abddbcc2cc9961ab84d82cccc5e5
|
2008-08-23 18:53:08 +00:00 |
|
drh
|
ee76c61657
|
Remove dead code. (CVS 5601)
FossilOrigin-Name: 6de9c084fc533fbb22af6a4cd3e4e9a461b13876
|
2008-08-22 17:34:45 +00:00 |
|
danielk1977
|
ed2781e3c8
|
Relinquish the pcache mutex before calling an xStress callback. This ensures that the pcache mutex is never held while IO is performed. (CVS 5599)
FossilOrigin-Name: 8fe234b2ca1292955162d38922a45c93004fb6ae
|
2008-08-22 17:09:49 +00:00 |
|
danielk1977
|
a858aa2e8c
|
When recycling a page, try to find one that does not require a call to xSync() on the journal file. Also simplify some of the mutex related things in pcache. (CVS 5597)
FossilOrigin-Name: 93dbc5427bebaa0b3d726731027caad3f70611c7
|
2008-08-22 16:22:17 +00:00 |
|
drh
|
777c5386c3
|
Move date+time functions to start-time initialization. Additional
start-time function cleanup. (CVS 5585)
FossilOrigin-Name: 80d6a31cb3851704c09ac9d99fe4bc241df3c180
|
2008-08-21 20:21:34 +00:00 |
|
danielk1977
|
801880f66c
|
Fix soft-heap-limit related test suite failures. (CVS 5582)
FossilOrigin-Name: 2091d9a5260b1d7e27ff5ca93e60dae1e3b12081
|
2008-08-21 15:54:01 +00:00 |
|
drh
|
69556698e0
|
Patch to mkfunction to try and detect miscompiles. Add an unimportant
assert back to pcache.c. (CVS 5577)
FossilOrigin-Name: a2f375fffb49b6f6adbfd59d24e9c6a170fd5ebb
|
2008-08-21 12:32:11 +00:00 |
|
danielk1977
|
67e3da7ad4
|
Fix the functionality associated with sqlite3_release_memory() and sqlite3_soft_heap_limit(). It is automatically disabled if the SQLITE_CONFIG_PAGECACHE option is used. (CVS 5576)
FossilOrigin-Name: d025866b09352b32a6d35b97144eaad2fafb7165
|
2008-08-21 12:19:44 +00:00 |
|
danielk1977
|
0d3c5d3239
|
Move an assert() in sqlite3PcacheDirtyPage() so that it does not occur before local variable declarations. Ticket #3325. (CVS 5575)
FossilOrigin-Name: 899fa19d1ab9c40a2ffc1c5170476292d0509e33
|
2008-08-21 04:41:01 +00:00 |
|
drh
|
41d3027ce8
|
Comment and function naming tweaks to pcache. No functionality changes. (CVS 5572)
FossilOrigin-Name: 4b0e67d397236c740bea88ad3a5912abe896322a
|
2008-08-20 21:47:45 +00:00 |
|
danielk1977
|
8c0a791a58
|
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)
FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9
|
2008-08-20 14:49:23 +00:00 |
|