/ File History
Login

History of src/btreeInt.h

2017-08-28
17:19
Merge recent enhancements from trunk. file: [0e0abe97] check-in: [d53108e7] user: drh branch: begin-concurrent, size: 32692
2017-08-16
19:20
Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce the size and improve the performance of OP_Column. file: [55b702ef] check-in: [f078deb2] user: drh branch: trunk, size: 32322
2017-08-15
03:46
Btree optimization: New field BtCursor.pPage that points to the current page, saving a single pointer dereference on each access. file: [f78671f5] check-in: [373b71d1] user: drh branch: trunk, size: 32322
2017-07-20
18:28
Get the build working with SQLITE_OMIT_CONCURRENT. file: [4a4cc195] check-in: [a29401e9] user: drh branch: begin-concurrent, size: 32629
17:47
Merge all the latest trunk enhancements. file: [70236a05] check-in: [213c61cb] user: drh branch: begin-concurrent, size: 32629
2017-06-19
11:44
Experimental "PRAGMA secure_delete=FAST" pragma. The intent is to overwrite deleted content with zeros without increasing the amount of disk I/O. file: [97700795] check-in: [f1682f0f] user: drh branch: fast-secure-delete, size: 32259
2017-05-29
14:27
Enhance the log messages emitted when a page conflict is detected. file: [7429915f] check-in: [92618492] user: dan branch: begin-concurrent, size: 32472
2017-05-15
17:34
Merge the latest changes from trunk. file: [42c3e3d9] check-in: [14ea8400] user: drh branch: begin-concurrent, size: 32359
2017-04-01
11:40
Remove unused fields from the BtCursor object. file: [a392d353] check-in: [1c0d82e0] user: drh branch: trunk, size: 32102
00:20
Save a 78 bytes of code space and a million CPU cycles in speedtest1 by storing the cell index for the leaf page in the BtCursor object in its own field (BtCursor.ix), rather than as an entry in the BtCursor.aiIdx array. file: [874e49bd] check-in: [2452f061] user: drh branch: trunk, size: 32166
2017-03-24
15:09
Merge all recent enhancements from trunk. file: [b2cdfe83] check-in: [fd5676fe] user: drh branch: begin-concurrent, size: 32357
2017-02-13
11:35
Fix typos in using the MSVC_VERSION macro. file: [cd55d39d] check-in: [25ebadd0] user: drh branch: branch-3.17, size: 32100
2017-02-09
17:12
Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option. Remove the SQLITE_RUNTIME_BYTEORDER compile-time option. Use -DSQLITE_BYTEORDER=0 instead. Fix a bug in R-Tree that occurs when compiling on a known little-endian machine without the use of intrinsic byteswapping functions. file: [429bbfeb] check-in: [798fb9d7] user: drh branch: trunk, size: 32100
2017-01-18
20:14
Add temporary code to record and report on the set of b-tree pages read and written by the current transaction. This is likely still buggy. file: [d528379e] check-in: [2a8f6c89] user: dan branch: transaction-pages, size: 32773
2017-01-09
06:33
Upgrade this branch to 3.16 plus the various fixes that appeared after its release. file: [bade4239] check-in: [d0e212d0] user: dan branch: begin-concurrent, size: 32462
2016-12-09
16:02
Avoid unnecessary zeroing of fields in the MemPage object that are going to be reinitialized before use anyhow. A smaller and faster binary results. file: [10c4b77c] check-in: [01ada3d1] user: drh branch: trunk, size: 32205
2016-01-14
15:46
Merge the latest enhancements and fixes from trunk. file: [ca40607c] check-in: [fccc5f20] user: dan branch: begin-concurrent, size: 32620
2016-01-12
04:08
Remove an unused field from the MemPage object. file: [c18b7d2a] check-in: [5fc0a4c1] user: drh branch: trunk, size: 32363
2016-01-01
14:14
Merge recent trunk enhancements. file: [2a56cce8] check-in: [6bea792c] user: drh branch: begin-concurrent, size: 32694
2015-12-30
20:50
Use the OvflOffset() macro to try to remove some magic numbers from btree.c. file: [dc698b04] check-in: [1541607d] user: drh branch: ovfloffset-macro, size: 32656
2015-12-18
03:59
Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines. file: [b5f2651b] check-in: [78507154] user: drh branch: optimize-cellinfo, size: 32437
2015-11-20
13:49
Merge all the latest enhancements and fixes from trunk. file: [99ebf5c9] check-in: [41c8b8e3] user: drh branch: begin-concurrent, size: 32770
2015-11-04
20:22
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former macro called sqlite3PagerGet() has been removed. file: [3ab435ed] check-in: [708253be] user: drh branch: trunk, size: 32513
2015-09-03
15:17
Changes from ENABLE_CONCURRENT (default off) to OMIT_CONCURRENT (default on). This is not a clear-cut decision and might be changed back. file: [df0e9290] check-in: [f8ae9bfd] user: drh branch: begin-concurrent, size: 32774
2015-08-24
19:56
Change "BEGIN UNLOCKED" to "BEGIN CONCURRENT". file: [171864bc] check-in: [ba1ab858] user: dan branch: begin-concurrent, size: 32778
2015-08-22
17:28
Add further tests for deferred page allocation. And fixes for the same. file: [0c19847f] check-in: [ed0a31be] user: dan branch: begin-concurrent, size: 32768
2015-08-21
16:22
Merge trunk changes with this branch. file: [1f7258e1] check-in: [deaf3b18] user: dan branch: begin-concurrent, size: 32748
2015-08-19
20:27
When committing an unlocked transaction, relocate newly allocated database pages within the file to avoid conflicting with committed transactions. There are lots of things still to fix in this code. file: [9f77bac2] check-in: [3bbc31d5] user: dan branch: begin-concurrent, size: 32660
2015-08-10
20:22
Add the sqlite3_experimental_log_open() interface. This is for diagnostic use only and is not intended to ever go on trunk. file: [d28997e3] check-in: [ac5d2e9d] user: drh branch: experimentalIoLog, size: 32646
2015-07-29
21:47
Add SQLITE_DISABLE_INTRINSIC define to disable use of intrinsic functions (e.g. for certain older compilers and/or platforms). file: [8177c9ab] check-in: [f0075d73] user: mistachkin branch: trunk, size: 32517
2015-07-01
17:13
Rework the PRAGMA integrity_check logic. Simplify the checkTreePage() routine and clean up the error messages generated. file: [2ad754dd] check-in: [1c522123] user: drh branch: integrity-check-refactor, size: 32429
2015-06-30
17:28
Make use of the _byteswap_ushort() and _byteswap_ulong() compiler intrinsics for MSVC, when available. file: [c54d380c] check-in: [fe144dd7] user: mistachkin branch: trunk, size: 32361
14:01
Only use __builtin_bswap16() with GCC 4.8 and later. file: [64b5723d] check-in: [ce8177e3] user: drh branch: bswap-functions, size: 32235
13:28
Remove the use of htonl() in the previous check-in due to linkage issues. Add the get2byteAligned() macro and use it for access to the cell offsets on btree pages for about a 1% performance gain. file: [58324089] check-in: [79ff36b7] user: drh branch: bswap-functions, size: 32232
02:47
Put BtCursor objects on a singly-linked list instead of a doubly-linked list. Add the BTCF_Multiple flag. Only invoke saveAllCursors() when using a cursor that has BTCF_Multiple set. file: [e4eabc72] check-in: [429ccef2] user: drh branch: trunk, size: 31795
2015-06-27
22:49
Add the BtCursor.curIntKey field and use it for a small size reduction and performance boost. file: [8ca7124a] check-in: [4a17df13] user: drh branch: trunk, size: 31649
19:45
Performance improvements in moveToChild() by shifting some work over to getAndInitPage(). Net improvement is about 800K cycles at cost of 30 bytes. file: [30f611b8] check-in: [1956a4ce] user: drh branch: trunk, size: 31455
03:58
Add the Mempage.aDataOfst field and use it in sqlite3BtreeMovetoUnpacked() for about a 2 million cycle gain. file: [426d1e0d] check-in: [bee94dc3] user: drh branch: trunk, size: 31382
2015-06-25
13:03
Enhance the Btree object to remember whether or not it is holding an Incrblob cursor. Use this knowledge to improve performance in the common case where it does not. file: [fdd1aff0] check-in: [476b1156] user: drh branch: trunk, size: 31305
2015-06-19
17:19
Add the MemPage.xParseCell method and provide various implementations (variations on the former btreeParseCellPtr()) depending on the page type. file: [6ece2dd9] check-in: [41d03d88] user: drh branch: trunk, size: 31231
15:07
Make cellSizePtr() a method on the MemPage object, with alternative implementations depending on the page type. This results is a small performance improvement and size reduction. file: [97901d54] check-in: [02f7e9d7] user: drh branch: trunk, size: 31146
2015-04-15
19:13
Add the BtCursor.pPage field which is the current page to which the cursor points, for a very small performance gain. file: [3c791196] check-in: [a200e1ea] user: drh branch: btree-current-page-cache, size: 31145
2015-04-06
22:05
Detect and suppress an endless loops in clearDatabasePage() that might result from a corrupt database file. This is an edited cherry-pick from [30011ad2f55c] and [395bb3e677a]. file: [53a77470] check-in: [e5f5ef00] user: drh branch: apple-osx-385, size: 30495
2015-04-01
13:21
Improved detection and suppression of endless loops in clearDatabasePage(). file: [973a22a6] check-in: [30011ad2] user: drh branch: trunk, size: 31086
2015-02-21
00:19
Keep track of the optimal number of reserved bytes (by looking at reserve byte requests in calls to sqlite3BtreeSetPageSize()) and then change the reserve byte count to the optimal when doing a VACUUM or when using the backup API. file: [2bfefc01] check-in: [28c2b726] user: drh branch: trunk, size: 31009
2014-12-22
18:41
Redefine the way PRAGMA data_version works: It continues to change when any other connection commits, including shared-cache connections, but does not change if the local connection commits. file: [a3d0ae1d] check-in: [7a97826f] user: drh branch: trunk, size: 30906
2014-11-17
19:25
Improved comments on the BtCursor.skipNext field. No changes to code. file: [3363e18f] check-in: [e956e7db] user: drh branch: branch-3.8.7, size: 30839
2014-10-15
11:55
Add a four-byte prefix to the BtShared.pTmpSpace buffer to avoid reading before the beginning of an allocation. file: [026d0129] check-in: [9386bfca] user: drh branch: trunk, size: 30522
2014-09-26
02:41
Fix the "PRAGMA integrity_check" command so that it avoids formatting error message context messages until it actually needs to generate an error message. This avoids much formatting, and hence greatly improves the performance of "PRAGMA integrity_check" in the common case when there are no errors. It also makes the code a little smaller. file: [1bd79571] check-in: [83913515] user: drh branch: trunk, size: 30523
2014-09-24
00:59
Add the MemPage.noPayload boolean and use it to help cellSizePtr() and btreeParseCellPtr() run faster. file: [9db0d303] check-in: [8e337531] user: drh branch: trunk, size: 30411
2014-09-23
21:25
Simplify the CellInfo structure for a size reduction and performance improvement. file: [a5a869ec] check-in: [bf59df66] user: drh branch: trunk, size: 30315
2014-09-06
16:39
Fix typos in comments. No code changes. file: [e0ecb5db] check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 30425
2014-03-31
23:57
Fix a compiler warning when SQLITE_DIRECT_OVERFLOW_READ is defined. Minor performance enhancement and size reduction. file: [cf180d86] check-in: [96385dc4] user: drh branch: overflow-pgno-cache, size: 30422
2014-03-11
23:40
Combine the various boolean fields of the BtCursor object into a single bit-vector. This allows setting or clearing more than one boolean at a time and makes the overflow-pgno-cache branch faster than trunk on speedtest1. file: [d1784d1e] check-in: [968fec44] user: drh branch: overflow-pgno-cache, size: 30422
20:33
Enable the b-tree cursor object's overflow page-number cache, which is normally enabled only for incr-blob cursors, for all cursors. file: [22a8f079] check-in: [da591985] user: dan branch: overflow-pgno-cache, size: 30353
2014-02-12
21:31
Remove the "rowid cache" that sought to remember the largest rowid for a table and thereby speed up OP_NewRowid. That cache was ineffective. Removing it results in a performance increase of 0.4%, less memory usage, and a slightly smaller library size. file: [0be66063] check-in: [56bc5ce8] user: drh branch: trunk, size: 30202
2013-10-01
20:29
Bring some file format comments in btreeInt.h up to date. file: [f038e818] check-in: [012d54d0] user: drh branch: trunk, size: 30274
2013-08-19
22:22
Additional performance improvements in sqlite3BtreeNext() and sqlite3BtreePrevious(). file: [51cf220a] check-in: [6f99b54a] user: drh branch: toTypeFuncs, size: 30146
2013-02-23
16:40
If a rollback mode transaction reduces the size of the database file, avoid actually truncating the file until after the transaction has been committed (but before the db has been unlocked). This means pages that are removed from the database by truncating the file need not be journalled. file: [eecc84f0] check-in: [b73847f1] user: dan branch: incr-vacuum-opt, size: 29908
2012-08-06
18:50
When reusing pages as part of creating a new index, allocate the leaves from each free-list trunk page in ascending order, instead of trying to maximize localization for each individual allocation. This increases the chance that pages will be written to disk in ascending order by a large CREATE INDEX statement, improving overall performance. file: [4e5c2bd0] check-in: [d045f8b2] user: dan branch: sorter-coalesce-writes, size: 29848
2012-04-03
17:43
Modify the integrity-check code to reduce the size of the large allocation from 4 bytes to 1 bit for each page in the database file. file: [38a639c0] check-in: [fa3a498d] user: dan branch: trunk, size: 29768
2012-02-02
19:37
Reduce the size of the MemPage object by about 32 bytes. Other structure size optimizations. file: [26d8ca62] check-in: [21695c34] user: drh branch: trunk, size: 29449
2012-01-05
23:32
Combine various boolean variables in the BtShared structure into a single boolean vector. Also make performance improvement simplifications to sqlite3BtreeMovetoUnpacked(). file: [6c996064] check-in: [11949331] user: drh branch: trunk, size: 29450
2011-12-31
21:51
Fix typos in comments. No changes to code. file: [6e57baca] check-in: [6827338e] user: drh branch: trunk, size: 29168
2011-11-11
00:27
Make sure a corrupt index does not cause a buffer overread in sqlite3VdbeRecordCompare(). file: [ea863a81] check-in: [471cf0d8] user: drh branch: trunk, size: 29153
2011-04-05
22:08
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. file: [67978c01] check-in: [3eeb0ff7] user: drh branch: trunk, size: 29038
17:31
Remove the mutex counter and the logic that attempts to verify that btree mutexes are held continuously. We are not making that assumption at this time. file: [b5e339df] check-in: [242ce7cf] user: drh branch: trunk, size: 29031
2011-04-04
00:14
Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish the same result. Add a generation counter to btree mutexes in order to assert that mutexes are never temporarily dropped over a range of instructions in order to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe program that uses OP_ParseSchema. file: [6714ce2f] check-in: [d81708f7] user: drh branch: trunk, size: 29100
2011-04-03
02:41
Fix typos in comments. No changes to code. file: [29ab8a41] check-in: [28c5f12e] user: drh branch: trunk, size: 29031
2011-01-07
02:50
Reorder the fields in private structures in an effort to reduce alignment gaps and thus make the structures smaller, and to put frequently accessed fields first. Also update some obsolete comments. Valgrind shows a very slight performance improvement. file: [20f73dc9] check-in: [378a1d13] user: drh branch: trunk, size: 29034
2010-08-30
22:15
Provide hints to the btree layer during the creation of transient tables for when it is possible for those tables to use a hash rather than a binary tree. No use is currently made of those hints, though assert() statement verify their accuracy. file: [c424f2f1] check-in: [4fead8e7] user: drh branch: trunk, size: 29034
2010-08-12
02:41
Increase the maximum page size from 32k to 64k. file: [5b034ff5] check-in: [45362437] user: drh branch: trunk, size: 28976
2010-04-21
18:37
Tests for (and changes to) the code to switch between WAL and rollback modes. file: [b0c87f67] check-in: [9f4f933f] user: dan branch: wal, size: 28976
2010-03-29
21:13
The btree layer now tracks when a database is empty at the start of a transaction and rolls back to that state. file: [22447d25] check-in: [01ef6c19] user: drh branch: experimental, size: 28904
2010-03-27
17:12
Experimental changes that cause SQLite to use bytes 28..31 of the database header to determine the database size, rather than using the actual database size. This allows database space to be preallocated. file: [132d750d] check-in: [b844ac6f] user: drh branch: experimental, size: 28832
2010-02-12
18:18
Allow the secure-delete setting to be changed at run-time using a pragma. The SQLITE_SECURE_DELETE compile-time option determines the default setting. file: [71ed5e7f] check-in: [f72f8a87] user: drh branch: trunk, size: 28770
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [54f4245d] check-in: [f6c045f6] user: drh branch: trunk, size: 28707
2009-10-27
18:06
Minor updates and corrections to comments in btreeInt.h. No changes to code. file: [1c863e54] check-in: [ad949fa1] user: drh branch: trunk, size: 28766
2009-10-16
13:23
Fix comment typos in btreeInt.h. file: [cce1c336] check-in: [550566a7] user: drh branch: trunk, size: 28739
2009-07-15
17:25
Simplifications to btree.c in support of structural testing. Renamed the "skip" field of the BtCursor object to "skipNext" to make it easier to search for places where it is used. (CVS 6896) file: [1c86297e] check-in: [d3897235] user: drh branch: trunk, size: 28743
2009-07-09
05:07
Restore (btree_set_cache_size) to test3.c. This is used on unix for the tcl "crash tests". Make some functions no longer used outside of btree.c static. (CVS 6869) file: [a568bf05] check-in: [1d96ce8c] user: danielk1977 branch: trunk, size: 28750
2009-07-02
07:47
Cause opening a transaction on a sharable b-tree module automatically obtain a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836) file: [b31e5ac0] check-in: [e3c055f1] user: danielk1977 branch: trunk, size: 29286
2009-06-24
05:40
Simplify things by rolling the functionality of balance_shallower() into balance_nonroot(). (CVS 6808) file: [55346bc1] check-in: [11750c6a] user: danielk1977 branch: trunk, size: 29192
2009-06-22
12:05
Make sure sqlite3BtreeCreateTable() returns an error code if the largest rootpage field is invalid in auto_vacuum mode. Update file-format comments to describe all of the "meta" values. (CVS 6797) file: [7267e965] check-in: [bda38f5e] user: drh branch: trunk, size: 29287
2009-06-17
13:09
Suppress some -Wextra compiler warnings from GCC. (CVS 6774) file: [122021a7] check-in: [59ec937c] user: drh branch: trunk, size: 28880
2009-03-20
14:18
Make sure struct WhereClause is aligned on an 8-byte boundary. Fix for #3613, #3736. (CVS 6364) file: [df64030d] check-in: [093a0cf4] user: danielk1977 branch: trunk, size: 28861
2009-03-18
10:33
Fix some cases where executing SQL from within a user-function callback could cause problems related to statement-transactions. (CVS 6355) file: [17697718] check-in: [a60f4191] user: danielk1977 branch: trunk, size: 29019
2009-03-17
22:33
Move the rowid cache out of VdbeCursor and into BtCursor. When multiple BtCursors are open on the same table, set their rowid cache all at the same time. Ticket #3731. (CVS 6354) file: [6d0c6fad] check-in: [18978583] user: drh branch: trunk, size: 29086
2009-03-16
13:19
Add the sqlite3_unlock_notify() API. (CVS 6348) file: [2f1fe3c5] check-in: [b649a6cc] user: danielk1977 branch: trunk, size: 29022
2009-02-03
16:51
Commit first version of the 'backup' feature. (CVS 6241) file: [0a4884e6] check-in: [663479b4] user: danielk1977 branch: trunk, size: 28226
2009-01-20
17:06
Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197) file: [44bcbfe3] check-in: [12f7346c] user: danielk1977 branch: trunk, size: 28152
2009-01-16
16:23
Revert (6187). (CVS 6188) file: [79048237] check-in: [a353c1ab] user: danielk1977 branch: trunk, size: 28501
15:21
This commit is an error. Reverted by (6188). (CVS 6187) file: [638efe58] check-in: [aa67fd0c] user: danielk1977 branch: trunk, size: 28152
2008-12-27
15:23
Fix a problem with savepoint and incremental-vacuum. (CVS 6066) file: [8fea5cd7] check-in: [08352f9e] user: danielk1977 branch: trunk, size: 28501
2008-12-10
16:45
Add explicit casts to silence nuisance warnings from VC++. (CVS 6004) file: [7ef2c872] check-in: [da1cbfa7] user: drh branch: trunk, size: 28574
2008-11-19
10:22
Simplify the way the pager layer invokes the busy-handler callback. (CVS 5922) file: [8d21590c] check-in: [7bd1ac18] user: danielk1977 branch: trunk, size: 28572
2008-11-17
14:20
Changes to btree.c to avoid the unsigned/signed comparison warnings. (CVS 5911) file: [f4ed02e5] check-in: [24469dba] user: danielk1977 branch: trunk, size: 28634
2008-09-30
17:18
Add some testcase() and assert() macros to btree.c to aid with testing recent changes. (CVS 5757) file: [e38e9b2b] check-in: [fb461b78] user: drh branch: trunk, size: 28618
2008-09-29
15:53
Remove the MemPage.idxShift variable. It is no longer required. (CVS 5750) file: [3e93c0a6] check-in: [7354abd0] user: danielk1977 branch: trunk, size: 28524
11:49
Instead of storing a pointer to the parent page in the MemPage structure, have each B-Tree cursor keep track of the ancestry of the current page. (CVS 5747) file: [a9388a5e] check-in: [40425e93] user: danielk1977 branch: trunk, size: 28587
2008-09-18
17:34
Avoid parsing the structure of b-tree pages (in sqlite3BtreeInitPage) more than is necessary. (CVS 5720) file: [e36f77e6] check-in: [6b998f30] user: danielk1977 branch: trunk, size: 28794
2008-08-01
20:10
Bring test coverage up to 99%. (CVS 5522) file: [ab18c7b4] check-in: [2cd6bae8] user: drh branch: trunk, size: 28263
2008-07-18
09:34
Performance improvement: reduce the number of calls to ptrmapPageno() made by ptrmapPut() and ptrmapGet(). (CVS 5437) file: [6e4cb69a] check-in: [d807fb27] user: danielk1977 branch: trunk, size: 28206
02:44
Omit the check for cell-pointer consistency in sqlite3BtreeInitPage() for a 2.5% performance gain. (CVS 5433) file: [e5b95246] check-in: [b88087e6] user: drh branch: trunk, size: 28208
2008-07-17
18:39
Simplify the b-tree logic by taking advantage of the fact that all b-trees are either intkey+leafdata or zerodata. (CVS 5431) file: [2aa6dc53] check-in: [29d3bfd7] user: drh branch: trunk, size: 28158
2008-07-12
14:52
Remove leftover debugging commands (breakpoint and btree_breakpoint) from test scripts. (CVS 5400) file: [a6a5ffab] check-in: [dcb16024] user: drh branch: trunk, size: 28289
2008-07-11
21:02
Detect and handles the case where a row is modified or deleted while it is being read during SELECT processing. (CVS 5399) file: [346cef00] check-in: [c80a5d09] user: drh branch: trunk, size: 28563
2008-07-10
00:32
Remove unused code. Test coverage enhancements. Modify the algorithm used to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) file: [d59e58d3] check-in: [636cd723] user: drh branch: trunk, size: 28577
2008-07-08
19:34
Completely rework the sqlite3SetString() primitive so that it honors the SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) file: [8f6e0817] check-in: [8ed04b1e] user: drh branch: trunk, size: 28656
2008-06-15
02:51
Continuing work on the new memory allocation subsystem. Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) file: [02325f04] check-in: [65fe7b62] user: drh branch: trunk, size: 28660
2008-04-24
19:15
Consolidated varint macro usage from btreeInt.h, vdbe.c, and vdbeaux.c into sqliteInt.h and made their use consistent. Slight improvements to varint32 macros. (CVS 5045) file: [dc04ee33] check-in: [0d04ccd9] user: shane branch: trunk, size: 28877
2008-03-29
16:01
Make the sqlite3BtreeMoveto routine a no-op if the cursor is already pointing at the cell we are trying to move to. (CVS 4938) file: [8a271865] check-in: [9b567ab6] user: drh branch: trunk, size: 29180
2008-03-25
14:24
Have each {quote: BtShared} structure hang on to a buffer of just under page-size bytes for temporary use. This reduces the number of calls to malloc(). (CVS 4914) file: [d232be68] check-in: [fe1bc0f3] user: danielk1977 branch: trunk, size: 29059
00:22
Removed the direct btree tests - part of the ongoing effort to test by calling only public interfaces. Modify the sqlite3VdbeRecordCompare interface to used a pre-parsed second key - resulting in a 13% performance improvement on speed1p.test. (CVS 4911) file: [c2deca3e] check-in: [0e1d84f2] user: drh branch: trunk, size: 28976
2008-03-04
17:45
Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819) file: [d7d2f4d9] check-in: [9c6694bb] user: mlcreech branch: trunk, size: 29044
2008-02-19
14:59
Use 16-bit integers for indexing within a page in btree. Tighter bounds on the maximum number of cells within one page. (CVS 4796) file: [97a68823] check-in: [8fdbe4ab] user: drh branch: trunk, size: 29043
2007-12-21
04:47
Fix for #2854. "BEGIN EXCLUSIVE" excludes other shared cache users from using the database. (CVS 4642) file: [1c5a9da1] check-in: [2e59b1d0] user: danielk1977 branch: trunk, size: 28971
2007-12-07
18:55
In shared-cache mode, make sure the busy hander invoked is the busy handler associated with the database connection that caused the lock contention in the first place. (CVS 4598) file: [68ec997e] check-in: [c9eb6591] user: drh branch: trunk, size: 28888
2007-08-30
01:19
Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) file: [4330c19b] check-in: [e40d40a5] user: drh branch: trunk, size: 28847
2007-08-29
00:33
More locking fixes. Now makes it all the way through quick.test. There are errors but no assertion faults. Progress. (CVS 4319) file: [1fa6510a] check-in: [844d40b8] user: drh branch: trunk, size: 28448
2007-08-28
22:24
Clean up the locking in the btree logic. (CVS 4316) file: [5b1bc919] check-in: [967ab229] user: drh branch: trunk, size: 28246
2007-08-27
21:49
Bring the amalgamation builder up to date with the latest changes. Remove some vestigial code. (CVS 4303) file: [c1ba8922] check-in: [0ae30e5c] user: drh branch: trunk, size: 27982
2007-08-22
00:39
Reenable the memory management logic. The quick.test script now runs with SQLITE_MEMDEBUG and SQLITE_ENABLE_MEMORY_MANAGEMENT. 7 minor errors. (CVS 4265) file: [7fc6e51d] check-in: [1914044b] user: drh branch: trunk, size: 27955
2007-08-20
22:48
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) file: [e93edf57] check-in: [1315bd8e] user: drh branch: trunk, size: 27955
13:14
Bug fix in BTree shared cache locking code. (CVS 4246) file: [9b4ca899] check-in: [399d3e75] user: drh branch: trunk, size: 27901
2007-08-17
01:14
Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we get an assertion fault on the shared cache testing. (CVS 4239) file: [6329e955] check-in: [4c1e9ffe] user: drh branch: trunk, size: 27425
2007-06-15
12:06
Update the btree file format description in btreeInt.h. (CVS 4063) file: [ac1ab1fb] check-in: [1ac160d3] user: drh branch: trunk, size: 25748
2007-05-16
17:28
Change a few selected functions to macros to speed things up. (CVS 4015) file: [f92c0577] check-in: [93f811ec] user: danielk1977 branch: trunk, size: 25845
14:23
Omit some extra code when OMIT_INCRBLOB is defined. (CVS 4014) file: [701343a0] check-in: [1d89be28] user: danielk1977 branch: trunk, size: 25822
2007-05-05
18:39
Factor out btree test logic into a separate test_btree.c file. (CVS 3928) file: [cb3c0e9e] check-in: [d51274f1] user: drh branch: trunk, size: 25806
11:48
Refactoring. Split btreeInt.h off from btree.c. Split malloc.c off from util.c. Expect much more to follow. (CVS 3925) file: [2de5f19a] check-in: [16041116] user: drh branch: trunk, size: 25174 Added