SQLite

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

100 descendants of e372a60be8de3332

2003-01-07
14:46
Avoid calling truncate() and stat() on the checkpoint journal to improve the speed of a large number of UPDATEs within a transaction. (CVS 819) (check-in: 2f89e9e6 user: drh tags: trunk)
13:55
In the VDBE, allocate space to hold column names when the VDBE first starts. The ColumnCount opcode now just writes the null terminator into this space. (CVS 818) (check-in: 46d8f5e3 user: drh tags: trunk)
13:43
When constructing records and index keys, use static string space rather than mallocing (when possible) for a small speed improvement. (CVS 817) (check-in: 657c9fb5 user: drh tags: trunk)
02:47
More optimizations. (CVS 816) (check-in: a362981b user: drh tags: trunk)
01:44
Optimizations to the tokenizer. (CVS 815) (check-in: 032b3daa user: drh tags: trunk)
2003-01-06
23:54
Remove unnecessary code from the VDBE. (CVS 814) (check-in: b96ec281 user: drh tags: trunk)
2003-01-05
21:41
More optimizations. (CVS 813) (check-in: 5809132f user: drh tags: trunk)
2003-01-04
19:44
Parameterize the number of adjacent pages that participate in the balancing algorithm in the BTree. But leave the setting at the current value of 3. (CVS 812) (check-in: 6c304024 user: drh tags: trunk)
18:53
Another optimization to the btree logic. (CVS 811) (check-in: 03d20673 user: drh tags: trunk)
16:48
Optimizations to the BTree module for a modest speed improvement. (CVS 810) (check-in: 39902a70 user: drh tags: trunk)
2003-01-03
02:04
Allow the rollback journal to be empty except for its header. Ticket #212. (CVS 809) (check-in: 1ba41bc2 user: drh tags: trunk)
2003-01-02
14:43
Code optimizations to help the library run faster. (CVS 808) (check-in: db745e87 user: drh tags: trunk)
2003-01-01
23:06
If compiled with the -DVDBE_PROFILE=1 option, special code is inserted that uses the pentium RDTSC instruction to compute very precise runtimes on all VDBE opcodes. (This only works on i586 processors, of course.) The results are written into the vdbe_profile.out file for analysis. Hopefully, this new feature will reveal hot spots that can be optimized to make the VDBE run faster. (CVS 807) (check-in: a1c071ea user: drh tags: trunk)
2002-12-28
01:26
Version 2.7.5 (CVS 806) (check-in: ee95eefe user: drh tags: trunk)
01:10
Update the version number to 2.7.5. (CVS 805) (check-in: b0864cc9 user: drh tags: trunk)
01:06
Fix an uninitialized variable in the pager. Tickets #208 and #206. Bug introduced by check-in (795). (CVS 804) (check-in: f3dc686e user: drh tags: trunk)
2002-12-17
22:50
Version 2.7.4 (CVS 803) (check-in: 0224db6f user: drh tags: trunk)
14:30
Preparing for the 2.7.4 release. (CVS 802) (check-in: f685ae15 user: drh tags: trunk)
14:19
If the "fake_big_file" command fails, be sure to close the file before returning. (CVS 801) (check-in: fa1b5e21 user: drh tags: trunk)
14:13
Make sure the host machine has enough disk space before running the large file tests. (CVS 800) (check-in: b1ec5478 user: drh tags: trunk)
13:05
Take care not to modify the sqlite* pointer to sqlite_exec() if we suspect that the pointer is stale - that it has previously been passed to sqlite_close(). Possible fix for ticket #202. Prior to this fix, test misuse-5.3 was causing a change to a buffer that had been previously free()-ed. (CVS 799) (check-in: f04547ed user: drh tags: trunk)
2002-12-07
21:45
Save the full pathname of the database file so that journalling still works even if the user changes working directories after opening the databae. Ticket #200. (CVS 798) (check-in: 1c58b4fc user: drh tags: trunk)
2002-12-04
22:29
Fix a bug in the reverse scan logic that comes up when the table being scanned is empty. Add additional tests for the reverse scan. (CVS 797) (check-in: 0051c87d user: drh tags: trunk)
21:50
Fixes to the logic that decides if the ORDER BY can be ignored due to the use of an index. Tests updated. (CVS 796) (check-in: bfb9a2aa user: drh tags: trunk)
20:01
Scan the table backwards if there is an ORDER BY ... DESC clause that can be satisfied by an index. (CVS 795) (check-in: c7a34879 user: drh tags: trunk)
13:40
Add the sqliteBtreePrevious() routine to the BTree module API. This is in anticipation of implementing reverse order searching of a table. (CVS 794) (check-in: 0ad1d938 user: drh tags: trunk)
2002-12-03
02:34
Allow an aggregate function in the HAVING clause even if no aggregates appear in the result set. Ticket #187. (CVS 793) (check-in: 33c6fd6b user: drh tags: trunk)
02:22
Honor ORDER BY clauses in VIEWs. Ticket #193. (CVS 792) (check-in: dbf78932 user: drh tags: trunk)
2002-12-02
04:25
Change to the pager to avoid opening journal files unnecessarily. This can sometimes results in a significant speed improvement. (CVS 791) (check-in: fa5c0425 user: drh tags: trunk)
2002-12-01
02:00
Fixed large file support under Linux. I'm unable to test under Windows. Ticket #191. (CVS 790) (check-in: 9864a126 user: drh tags: trunk)
2002-11-24
14:52
Add the "space_used.tcl" script to the tools directory. This script is used to measure how much disk space is used by each table and index of a database. (CVS 789) (check-in: 83b2c27a user: drh tags: trunk)
2002-11-20
11:55
Automatically determine if pointers are 4 or 8 bytes in size during the compilation process. Ticket #190. (CVS 788) (check-in: dd5396a7 user: drh tags: trunk)
11:08
Get the new large file code working with the Borland compiler. Ticket #195. (CVS 787) (check-in: da4a79e2 user: drh tags: trunk)
2002-11-11
13:56
Remove extra from HTML output. Ticket #189. (CVS 786) (check-in: dc5d9c12 user: drh tags: trunk)
01:04
Back out the changes in the pager that sorted pages prior to writing them to the database. Additional measurements showed no performance gains. (CVS 785) (check-in: 745d6639 user: drh tags: trunk)
00:05
Replace the atoi() library routine with a faster home-grown version in the VDBE. This gives a dramatic speed improvement for some kinds of queries. (CVS 784) (check-in: 263a8ca4 user: drh tags: trunk)
2002-11-10
23:32
Two optimizations to the pager: (1) Write dirty pages back to the database file in order and (2) Keep a separate list of in-memory pages that are in the checkpoint journal in order to speed a checkpoint commit. (CVS 783) (check-in: a6ef6657 user: drh tags: trunk)
2002-11-09
00:33
Try to better detect when the library is compiled for large file support (LFS) but the support is not available in the host OS kernel. (CVS 782) (check-in: a29d60ec user: drh tags: trunk)
2002-11-06
14:08
Add large file support to Windows. Change large file support for Unix so that it compiles automatically - without requiring special options on the compiler command line. (CVS 781) (check-in: 2008b56f user: drh tags: trunk)
00:59
Changes to include files so that the >2GB file patch will compile under BSD. (CVS 780) (check-in: 81bb1aed user: drh tags: trunk)
2002-11-05
23:24
Update the FAQ to explain how to enable large file support. (CVS 779) (check-in: 4caf624e user: drh tags: trunk)
23:03
Add support for databases larger than 2GB under Unix. Must be compiled with -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE in order to work with larger databases. (CVS 778) (check-in: a3f67fe9 user: drh tags: trunk)
2002-11-04
19:32
Add the sqlite_version() SQL function as a built-in. (CVS 777) (check-in: 7c8c0e76 user: drh tags: trunk)
2002-11-01
01:55
Improvements in threadtest.c (for Unix) and some minor bug fixes that result from the better testing. (CVS 776) (check-in: 326e0983 user: drh tags: trunk)
2002-10-31
00:15
Version 2.7.3 (CVS 775) (check-in: 4051dbdb user: drh tags: trunk)
00:09
Fix an assert that might fail if malloc() fails. (CVS 774) (check-in: 8ad01894 user: drh tags: trunk)
2002-10-30
23:04
Bump the version number prior to the release of version 2.7.3. (CVS 773) (check-in: bc7c7d87 user: drh tags: trunk)
22:42
In the VDBE, check to make sure a set has been initialized before using it. Ticket #185. (CVS 772) (check-in: 8c4cbdd0 user: drh tags: trunk)
2002-10-27
19:35
Minimal support for oracle8 outer join syntax. (CVS 771) (check-in: 31df3690 user: drh tags: trunk)
2002-10-22
23:38
Correctly handle column names and string constants in parentheses. Fix for ticket #179. (CVS 770) (check-in: 3b68aa25 user: drh tags: trunk)
15:04
Take care to track ephemeral strings in the VDBE and make copies of ephemeral strings that need to be preserved. Ticket #177. (CVS 769) (check-in: 562da534 user: drh tags: trunk)
2002-10-20
18:19
Rework the changes for ticket #176 (check-ins (760) and (761)) to be more consistent with the rest of the source code. (CVS 768) (check-in: f50a177b user: drh tags: trunk)
16:00
The "table_info" pragma reports unspecified column types as "numeric" instead of "text". Fix for ticket #174. (CVS 767) (check-in: 395ab5fa user: drh tags: trunk)
15:55
Export the sqlite_function_type function from windows DLLs. Ticket #173. (CVS 766) (check-in: d5470dfe user: drh tags: trunk)
15:53
Work around a bug in the Borland C compiler. Ticket #172. (CVS 765) (check-in: 3ef29256 user: drh tags: trunk)
15:46
Make sure malloc(0) always returns NULL. Fix for ticket #171. (CVS 764) (check-in: 4622b7ce user: drh tags: trunk)
2002-10-19
20:16
Speed improvement by avoiding a call to sqliteBtreeLast() when inserting a new row into a table. (CVS 763) (check-in: d0af59fe user: drh tags: trunk)
20:13
Fix the URL for pointing to MinGW on the homepage. (CVS 762) (check-in: 16aad98a user: drh tags: trunk)
2002-10-17
09:01
Minor coding fix in getting the windows platform version, when multithreading (CVS 761) (check-in: b53ab71d user: mike tags: trunk)
00:38
fix for locking in Windows (CVS 760) (check-in: 83add34f user: mike tags: trunk)
2002-10-12
13:44
Remove the call to srand() and add better comments to the sqliteOsRandomSeed() routine. Ticket #163. (CVS 759) (check-in: d87a886d user: drh tags: trunk)
2002-09-30
12:36
Fix a bug in the left outer join logic. (CVS 758) (check-in: 6c0f44bd user: drh tags: trunk)
01:31
Fix an uninitialized variable that could cause problems when comparing two NULLs. (CVS 757) (check-in: 01542500 user: drh tags: trunk)
2002-09-25
19:50
Version 2.7.2 (CVS 756) (check-in: 59ba4344 user: drh tags: trunk)
19:26
Bump the version number to 2.7.2. (CVS 755) (check-in: a164528e user: drh tags: trunk)
19:04
Bug fix: When multiple SQL statements were passed into a single sqlite_exec() call, execution speed would decrease for each statement executed because VDBE cursors were not being reused. Now the cursors are reused and execution time is linear. (CVS 754) (check-in: b0d27a37 user: drh tags: trunk)
2002-09-21
15:57
Make sure memory malloced() for structures is aligned on an even byte boundry. Solaris segfaults otherwise. (CVS 753) (check-in: 14ebe30b user: drh tags: trunk)
2002-09-17
03:20
Fix a bug in the OP_MemStore operator of the VDBE. A realloc() might occur but pointer to the old buffer were not being moved over to the new buffer. (CVS 752) (check-in: 29145746 user: drh tags: trunk)
2002-09-16
11:44
Modify the sqlite_encode_binary() routine to return the strlen() of the encoded string. Also fix a bug that occurs when attempting to encode a zero-length buffer. (CVS 751) (check-in: f12c3a25 user: drh tags: trunk)
2002-09-14
13:47
Do not put a write lock on the main database file when writing to a temporary table. (CVS 750) (check-in: 3f253afe user: drh tags: trunk)
12:04
Rename all tests so that the first part of the test name corresponds to the file that contains that test. This makes it much easier to find a particular test after it fail. (CVS 749) (check-in: 6cb80ae1 user: drh tags: trunk)
2002-09-12
14:08
Update the SQL language documentation to talk about SELECT DISTINCT. (CVS 748) (check-in: ef711675 user: drh tags: trunk)
2002-09-08
17:23
Fix for ticket #147: Honor the ORDER BY and LIMIT clauses in a SELECT even if the destination of that SELECT is a subroutine call. (CVS 747) (check-in: 23fe36c7 user: drh tags: trunk)
00:04
Modify the build process so that the VDBE opcode numbers and the table that contains the opcode names are both automatically generated. This makes it much easier to create new VDBE opcodes. (CVS 1727) (check-in: c4f0bb02 user: drh tags: trunk)
00:04
Modify the build process so that the VDBE opcode numbers and the table that contains the opcode names are both automatically generated. This makes it much easier to create new VDBE opcodes. (CVS 746) (check-in: eb54d455 user: drh tags: trunk)
2002-09-05
23:21
Fix a memory leak that occurred when sqlite_open() failed. (CVS 745) (check-in: a8760213 user: drh tags: trunk)
19:10
Rewind the checkpoint journal after each statement to avoid allowing the file to become too large. (CVS 744) (check-in: f4288520 user: drh tags: trunk)
16:08
Fix for ticket #146: Correctly handle reads of unused disk blocks at the end of the file. (CVS 743) (check-in: f5c26547 user: drh tags: trunk)
2002-09-03
19:43
Always fill in the 5th parameter to sqlite_exec if there is an error. (CVS 742) (check-in: 7f8fd5c7 user: drh tags: trunk)
2002-09-02
14:11
Add documentation on NULL handling in SQLite versus other SQL database engines. (CVS 741) (check-in: dd8867fc user: drh tags: trunk)
12:14
Detect when the test scripts are being run as root and issue an appropriate error message. (CVS 740) (check-in: 9ca2c507 user: drh tags: trunk)
2002-09-01
23:20
Relax the locking requirements on BTree cursors. Any number of read and write cursors can be open at the same time now, but a write cannot occur as long as one or more read cursors are open.

Before this change, one or more read cursors could be open on a table, or a single write cursor, but not both. Both policies have the same desirable effect: they prevent writes to a table while a sequential scan of that table is underway. But the new policy is a little less restrictive. Both policies prevent an UPDATE from occurring inside a SELECT (which is what we want) but the new policy allows a SELECT to occur inside an UPDATE. (CVS 739) (check-in: 8c2a0836 user: drh tags: trunk)

2002-08-31
18:53
Parse foreign key constraints and populate internal data structures appropriately. Constraints are still not enforced. (CVS 738) (check-in: 170711ca user: drh tags: trunk)
17:02
Version 2.7.1 (CVS 737) (check-in: 5f51e13d user: drh tags: trunk)
17:02
Change the version number for release 2.7.1. (CVS 736) (check-in: b7f788fc user: drh tags: trunk)
16:52
Initial checking of two new test files: format3.test and memleak.test. (CVS 735) (check-in: 6ffedb90 user: drh tags: trunk)
16:33
Fix for ticket #145: Include the func.c source file in the build of testfixture so that the "randstr()" function will be available. (CVS 734) (check-in: c5e0c6a7 user: drh tags: trunk)
2002-08-29
23:59
If the database is locked when sqlite_open() is called, sqlite_exec() should still honor the busy callback and should return an error message together with the SQLITE_BUSY result code. (CVS 733) (check-in: 78a0229a user: drh tags: trunk)
2002-08-28
03:00
Slightly faster INSERTs from a SELECT by avoiding an intermediate table. But it didn't make nearly as much difference as I had hoped. (CVS 732) (check-in: 723362e7 user: drh tags: trunk)
2002-08-27
14:28
Change the tokenizer to ignore C-style comments /*...*/ in accordance with SQL99. (CVS 731) (check-in: f1534489 user: drh tags: trunk)
2002-08-26
19:55
Fix for ticket #142: Make sure we get the correct sort order even when the columns being sorted contain NULLs. (CVS 730) (check-in: 45847390 user: drh tags: trunk)
2002-08-25
20:58
Version 2.7.0 (CVS 729) (check-in: 9e341d9c user: drh tags: trunk)
20:11
Documentation updates prior to the releae of 2.7.0. (CVS 728) (check-in: e2d95f85 user: drh tags: trunk)
19:20
Fix for ticket #136: Added the OP_RenameCursor VDBE instruction and used it to make cursor numbers right on nested subqueries. Also added OP_Gosub and OP_Return but have not actually used them for anything yet. (CVS 727) (check-in: c602603e user: drh tags: trunk)
18:29
Fix the memory leak introduced by check-in (725). (CVS 726) (check-in: b957dafc user: drh tags: trunk)
2002-08-24
18:24
Change the way token memory is allocated in an effort to fix ticket #136. There is now a memory leak when using views of views. (CVS 725) (check-in: 22d8726e user: drh tags: trunk)
2002-08-22
18:18
Fix for ticket #138: Makefile doesn't use exec_prefix, has some install problems (CVS 724) (check-in: 97fc4a71 user: jadams tags: trunk)
2002-08-21
11:26
Fix for ticket #137: Use getpwuid() instead of getpwent(). (CVS 723) (check-in: ea011990 user: drh tags: trunk)
2002-08-18
22:41
This COLLATE keyword was not being parsed correctly inside CREATE TABLE statements - it was being included as part of the datatype. This fixes the problem. (CVS 722) (check-in: 39bd52d3 user: drh tags: trunk)
20:28
Fix for ticket #110: return an error if trying to start a transaction within a transaction or when attempting to commit or rollback outside of a transaction. (CVS 721) (check-in: df51cb16 user: drh tags: trunk)
19:09
Documentation updates. (CVS 720) (check-in: e372a60b user: drh tags: trunk)