SQLite

Timeline
Login

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

142 check-ins using file test/memleak.test version b4f59aa4

2003-02-20
01:48
When the right table in a LEFT OUTER JOIN contains an INTEGER PRIMARY KEY make sure that key is NULL if there is no row in the right table that matches the current row in the left table. Tickets #246 and #247. (CVS 873) (check-in: 6a45fe3b user: drh tags: trunk)
00:44
Fix the parsing of the LIMIT clause when the limit and offset are separated by a comma. The offset comes before the limit in that case. Ticket #245. (CVS 872) (check-in: 6ef91a36 user: drh tags: trunk)
2003-02-16
22:49
Version 2.8.0 (CVS 870) (check-in: 5db98b3f user: drh tags: trunk)
22:48
Couple of last-minute changes before 2.8.0. (CVS 871) (check-in: 8192c937 user: drh tags: trunk)
22:36
Update the speed comparison documentation to show the improved performance of PostgreSQL after performance tuning. (CVS 869) (check-in: 73c904e5 user: drh tags: trunk)
22:21
Added test code to check for file descriptor leaks. All regression tests pass now on both win2k and linux. (CVS 868) (check-in: 75ba7828 user: drh tags: trunk)
19:13
Fix more bugs. The new rollback journal implementation now passes all regression tests under Linux. (CVS 867) (check-in: d10adc1c user: drh tags: trunk)
2003-02-15
23:09
Fix the pager so that correct rollbacks occur when synchronous is turned off. This check-in also included unrelated documentation updates. (CVS 866) (check-in: 3ef0ad8a user: drh tags: trunk)
2003-02-13
02:54
Update the documentation for the new journal format to be introduced in version 2.8.0. (CVS 1729) (check-in: dc53d921 user: drh tags: trunk)
02:54
Update the documentation for the new journal format to be introduced in version 2.8.0. (CVS 865) (check-in: e05a7a55 user: drh tags: trunk)
01:58
Fix a bug in the rollback logic for the new journal format. (CVS 864) (check-in: 7c22aa3f user: drh tags: trunk)
2003-02-12
14:09
Added the new FULL option to the SYNCHRONOUS pragma. Still need to test it. (CVS 1728) (check-in: 8968bc06 user: drh tags: trunk)
14:09
Added the new FULL option to the SYNCHRONOUS pragma. Still need to test it. (CVS 863) (check-in: 792a9e15 user: drh tags: trunk)
02:10
Fix a bug in the legacy journal format writing logic. (CVS 862) (check-in: 6c927dd3 user: drh tags: trunk)
2003-02-11
14:55
Modify the journal format to be more robust against garbage that might appear in the file after a power failure. The changes are mostly working but more testing is still required. This check-in is to checkpoint the changes so far. (CVS 861) (check-in: 8ec56325 user: drh tags: trunk)
2003-02-05
14:06
Make the shell run much faster for inputs where a single SQL statement spans thousands of lines by avoiding the call to sqlite_complete() unless the input ends in a semicolon. (CVS 860) (check-in: e21afb82 user: drh tags: trunk)
2003-02-02
12:41
Make the GROUP BY clause work even if there are no aggregate functions. (CVS 859) (check-in: b6879231 user: drh tags: trunk)
2003-02-01
13:53
When a CREATE TABLE ... AS SELECT statement fails, make sure the table name is removed from the internal hash tables. Ticket #238. (CVS 858) (check-in: 65264780 user: drh tags: trunk)
2003-01-31
17:21
The sqlite_exec() function now returns SQLITE_AUTH when authorization fails. Ticket #231. (CVS 857) (check-in: d93c1aeb user: drh tags: trunk)
17:16
Allow double-quoted strings as string constants in the IN operator. As a side-efffect, allow the GROUP BY clause to refer to columns by their integer column number. Ticket #237. (CVS 856) (check-in: 187d9c40 user: drh tags: trunk)
2003-01-29
22:58
Additional testing and bug fixing with the non-callback API. Updated the C/C++ interface document to describe the non-callback API. (CVS 855) (check-in: af1e9299 user: drh tags: trunk)
18:46
Better error messages on constraint violations. Additional tests and bug fixes for the callback-free API. (CVS 854) (check-in: ccc82f1a user: drh tags: trunk)
14:06
The callback-free API is now working, though much more testing is need. (CVS 853) (check-in: 162b2591 user: drh tags: trunk)
2003-01-28
23:13
First code for the new callback-free API. All regression tests pass but the new API is mostly untested and is unlikely to work. (CVS 852) (check-in: 065fa818 user: drh tags: trunk)
2003-01-26
15:28
Added section on comments. Corrected broken end tags. (CVS 851) (check-in: c957f4f0 user: jplyon tags: trunk)
2003-01-25
16:32
Version 2.7.6 (CVS 850) (check-in: bdba796f user: drh tags: trunk)
15:43
Fix a bug in the rollback validation logic (code that only runs during debugging). The problem was introduced by check-in (835). (CVS 849) (check-in: b6ea0da7 user: drh tags: trunk)
14:34
Remove an unused variable. (CVS 848) (check-in: 18f4ffaa user: drh tags: trunk)
14:32
Preparations for the release of version 2.7.6. (CVS 847) (check-in: 5143d481 user: drh tags: trunk)
14:25
Update the speed.html documentation. Recent optimizations have made the library much faster. (CVS 846) (check-in: ed47d162 user: drh tags: trunk)
2003-01-24
12:14
Add asserts to btree.c that check for the correct size of various typedefs and structures. Ticket #233. (CVS 845) (check-in: c7e647d0 user: drh tags: trunk)
2003-01-22
01:26
Minor refinements to the pager. (CVS 844) (check-in: 19221dee user: drh tags: trunk)
2003-01-21
23:06
fix a typo on the quickstart.html page. (CVS 843) (check-in: 61869bb5 user: drh tags: trunk)
02:39
In the pager, cache a pointer to the first page on the freelist that does not need to be synced. This makes a fetch of a page that is not in cache go a lot faster when the cache is full. This check-in also adds some performance instrumentation to the OS layer. (CVS 842) (check-in: 00f08fc0 user: drh tags: trunk)
2003-01-19
03:59
Update comments. No changes to code. (CVS 841) (check-in: f6a87068 user: drh tags: trunk)
2003-01-18
22:01
Update the speed comparison page. (CVS 840) (check-in: 424cb2ed user: drh tags: trunk)
20:11
Fix datatype reporting and collating sequence selection so that it works correctly on views and with the UNION, EXCEPT, and INTERCEPT operators. (CVS 839) (check-in: 71cc292d user: drh tags: trunk)
17:05
Do not report an error if the input to the sqlite shell ends in a comment. Ticket #211. (CVS 838) (check-in: 32a8e6e9 user: drh tags: trunk)
17:04
Check the validity of the database connection before the trace callback, not afterwards. (CVS 837) (check-in: 960a2e4a user: drh tags: trunk)
2003-01-16
16:28
Add the sqlite_trace() hook for tracing the SQL that an application executes. The plan is to leave this API undocumented for the time being, in case we want to make changes to it later. (CVS 836) (check-in: f67bff8f user: drh tags: trunk)
13:42
Improvements to the pager to help large updates against a large database run faster. Also improved the testing of the pager rollback algorithms. (CVS 835) (check-in: 717523d3 user: drh tags: trunk)
2003-01-14
13:48
Finish out the test suite for the new sqlite_set_authorizer API. (CVS 834) (check-in: 701a7391 user: drh tags: trunk)
02:54
Fix a memory leak in the PRAGMA authorization code. (CVS 833) (check-in: ba58979f user: drh tags: trunk)
02:49
More tests of the sqlite_set_authorizer() API together with fixes for bugs that the new tests uncovered. (CVS 832) (check-in: cc2ae781 user: drh tags: trunk)
00:44
Make the GLOB work write with upper-case characters. Ticket #226. (CVS 831) (check-in: 7ea46e70 user: drh tags: trunk)
2003-01-13
23:27
Revise the sqlite_set_authorizer API to provide more detailed information about the SQL statement being authorized. Only partially tested so far. (CVS 830) (check-in: 45de93f9 user: drh tags: trunk)
2003-01-12
19:33
The initial round of tests for the sqlite_set_authorizer() API. More are needed before release. Ticket #215. (CVS 829) (check-in: 5707b3d5 user: drh tags: trunk)
18:07
Forgot to include the new "auth.c" source file in the previous checkin. (CVS 828) (check-in: 76019164 user: drh tags: trunk)
18:02
Initial check-in of the code for the new sqlite_set_authorizer() API function. The code is mostly untested at this point. (CVS 827) (check-in: 52d5007f user: drh tags: trunk)
17:35
Remove an unused variable from the VDBE. Ticket #223. (CVS 826) (check-in: 0deaf563 user: drh tags: trunk)
17:28
Change the PopStack() routine so that it doesn't confuse bounds checkers. Ticket #222. (CVS 825) (check-in: fc11fa50 user: drh tags: trunk)
2003-01-11
15:02
Remove the aOrder() array from where.c. (CVS 824) (check-in: b2c1edb4 user: drh tags: trunk)
14:25
Fix two compiler warnings from OS-X. (CVS 823) (check-in: 4c22da76 user: drh tags: trunk)
14:19
Document the SHOW_DATATYPES pragma and add tests for it to the test suite. Make sure datatypes are show even for aliased columns. Tickets #220 and #221. (CVS 822) (check-in: e84d3afe user: drh tags: trunk)
13:30
Remove the ColumnCount opcode, which had become a no-op. (CVS 821) (check-in: 86deb12d user: drh tags: trunk)
2003-01-08
13:02
Port ot MacOS Classic. Ticket #218. (CVS 820) (check-in: 13f82d67 user: drh tags: trunk)
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)