SQLite

Timeline
Login

100 check-ins occurring around b36b105eab.

2010-07-29
10:13
Unconditionally include the pTmpSpace size in the estimate of the pager memory used. check-in: 4b97f864 user: drh tags: trunk
10:07
Change the profile timer units back to nanoseconds and update the sqlite3_profile() documentation. Ticket [c43940c49b74c70a69] check-in: 7783b98a user: drh tags: trunk
01:50
Correct handling of compound foreign key constraints that include the integer primary key as one of the columns. Ticket [ce7c133ea6cc9ccdc1] check-in: 53902f7d user: drh tags: trunk
2010-07-28
19:17
Get SQLITE_OMIT_VIRTUALTABLE working again after being broken by recent changes. check-in: 33b1e862 user: drh tags: trunk
18:51
Fix the dbstatus.test script so that it works correctly on 64-bit machines. check-in: a3401d9e user: drh tags: trunk
18:35
Merge trunk changes into experimental branch. check-in: aa819001 user: dan tags: experimental
17:36
Improve the accuracy of the Pager heap usage estimate. check-in: ae89777e user: drh tags: trunk
17:16
Adjust the shell test script "shell4.test" to account for changes in the ".stat on" display format from the previous checkin. check-in: 2f2fa7dd user: drh tags: trunk
17:01
Record the pcache allocation size statistics even for pcache overflow allocations. Adjust the wording on one of the stat output lines in the shell. check-in: f9adf66a user: drh tags: trunk
16:05
Modify CLI to optionally display "stats". check-in: 419ce0ed user: shaneh tags: trunk
15:52
Lookaside memory is not used to store schemas. Change the SQLITE_DBSATUS_SCHEMA_USED documentation to reflect this fact. check-in: 07abfd52 user: drh tags: trunk
15:49
Add documentation for the SQLITE_STATUS_MALLOC_COUNT parameter to sqlite3_status(). check-in: dbfbdb60 user: drh tags: trunk
15:10
Fix errors in wal3.test caused by recent modifications. check-in: 0714aecc user: dan tags: experimental
14:26
Support FCNTL_CHUNK_SIZE on windows too. check-in: a038688c user: dan tags: experimental
02:53
Do not allow automatic indices for the RHS of IN expressions which are not correlated subqueries. Ticket [8011086c85c6c404014c9] check-in: 267492d3 user: drh tags: trunk
2010-07-27
18:36
Merge trunk changes into experimental branch. check-in: 62182409 user: dan tags: experimental
18:34
Add experimental unix-only file-control to grow and truncate the database file by a configurable chunk size. check-in: 7cf0e851 user: dan tags: experimental
16:42
Update the makefiles to prefer TCL version 8.5 instead of 8.4. check-in: 8118de2a user: drh tags: trunk
2010-07-26
19:09
Fix a bug in the SQLITE_STATUS_MALLOC_COUNT counter. Add an ALWAYS() around a condition in the SQLITE_DBSTATUS_SCHEMA_USED logic that is always true. check-in: 6df081ad user: drh tags: trunk
18:43
Add the SQLITE_STATUS_MALLOC_COUNT option for sqlite3_status(). check-in: 8f8e442b user: drh tags: trunk
16:40
Increase the version number to 3.7.1 due to the API enhancement of the previous check-in. check-in: 1d7571e4 user: drh tags: trunk
16:24
Add support for SQLITE_DBSTATUS_SCHEMA_USED and SQLITE_DBSTATUS_STMT_USED to the trunk. check-in: 008368b2 user: drh tags: trunk
15:57
When calculating schema memory, use the actual allocated size of hash elements, not sizeof(HashElem). Also fix a bug in dbstatus.test. Closed-Leaf check-in: e327ef37 user: dan tags: experimental
14:47
Add virtual table test cases to dbstatus.test. check-in: 72b84d06 user: dan tags: experimental
14:20
Further fixes to the P4_MEM size measurement logic. check-in: 934cda29 user: drh tags: experimental
13:58
Fix an issue with P4_MEM and the schema size measurement logic. Also fix a compiler warning. check-in: 8166f338 user: drh tags: experimental
12:38
Make sure sqlite3_free() is not called for P4_MPRINTF during a size measurement. check-in: 56f11f88 user: drh tags: experimental
12:36
Remove an assert() that uses a variable removed earlier. check-in: c04907e6 user: dan tags: experimental
12:05
Change the way SubProgram objects are deleted so that the code is the same for deletion and measurement. check-in: 00e55102 user: dan tags: experimental
11:59
Update comments to better documentation the new memory measurement functions. check-in: 620bad03 user: drh tags: experimental
11:07
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). check-in: 629e38a8 user: drh tags: experimental
2010-07-25
02:39
Fixes to prior checkins so that they compile and run even if SQLITE_MEMDEBUG is not defined. Closed-Leaf check-in: 548bf3f7 user: drh tags: malloc-enhancement
02:12
Further examples of using automatic deallocation to replace "delete" methods. check-in: da2f62c5 user: drh tags: malloc-enhancement
2010-07-24
19:08
Additional malloc sanity changes. Use sqlite3MemLink() on Index.zColAff and Table.zColAff as a proof of concept. check-in: e5ecb159 user: drh tags: malloc-enhancement
18:25
Add infrastructure to support a hierarchy of memory allocations with automatic deallocation of substructure. check-in: 48ef221c user: drh tags: malloc-enhancement
16:34
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). check-in: ac1f37a6 user: drh tags: malloc-enhancement
11:28
Experimental code to measure memory consumed by database schemas and prepared statements. check-in: 9aa30342 user: dan tags: experimental
2010-07-23
22:26
Fix a typo in the OS/2 vfs code. check-in: a6bb2108 user: drh tags: trunk
17:37
Merge two leaves. check-in: 54e5886d user: dan tags: trunk
17:32
Strenghten an assert() in malloc.c that helps to ensure that allocated memory is freed by the appropriate routine. check-in: 80db61ac user: drh tags: trunk
17:06
Remove additional traces (mostly in comments) of the Table.dbMem field. check-in: 5c58f44a user: drh tags: trunk
15:55
Add a test case to shared.test. No changes to production code. check-in: bfb0dd3c user: dan tags: trunk
15:41
Remove the Table.dbMem variable, as it is no longer being used for its original purpose. check-in: 6eddc6e6 user: dan tags: trunk
08:31
Remove the unused Schema.db variable. check-in: 430be657 user: dan tags: trunk
2010-07-22
22:40
Add evidence marks to the where.c source file. Comment only - no code changes. check-in: f3f9e8e5 user: drh tags: trunk
17:55
Make the sqlite3_db_status() routine threadsafe. check-in: 241f7bd1 user: dan tags: trunk
17:49
Enhance the LIKE/GLOB query optimization so that it works as long as there is an index with the appropriate collating sequence and even if the default collating sequence of the column is different. Ticket [4711020446da7d93d99]. check-in: 9f932655 user: drh tags: trunk
15:44
Add test/threadtest3.c, containing multi-thread tests implemented in C. check-in: aad88cf5 user: dan tags: trunk
12:33
Try to optimize LIKE and GLOB operators when RHS contains no wildcard. Ticket [e090183531fc274747] check-in: 613a87d6 user: drh tags: trunk
11:40
Tweaks to the virtual table documentation contained in comments of sqlite3.h. No changes to actual code. check-in: f5866d47 user: drh tags: trunk
2010-07-21
16:16
Version 3.7.0 check-in: b36b105e user: drh tags: trunk, release
2010-07-20
20:23
Added fix to os_win.c for race conditions from os_unix.c; added saving of errno in two places. check-in: 13ed106c user: shaneh tags: trunk
18:59
Fix a race condition in os_unix.c that may occur when one thread is opening a connection to a shared-memory block and another is either closing or locking the same shared-memory. check-in: 3b7330c1 user: dan tags: trunk
2010-07-19
15:01
Update the CLI test scripts for version 3.7.0. check-in: 92fe70da user: drh tags: trunk
12:44
Use exit(255) instead of abort() in the tcl [sqlite_abort] test command. This stops testfixture from creating dozens of core files each time tests are run. check-in: aec9e131 user: dan tags: trunk
12:05
Changes to stat.test so that it works with file-format 4. check-in: f87bb283 user: dan tags: trunk
11:16
Re-introduce the prefix-search optimization of [feef1b15d6], which was lost in a reorganization of FTS3 code. check-in: d692434b user: dan tags: trunk
05:27
Enable previously failing tests in e_expr.test that pass following [3e5975aa3b]. check-in: 3d59c54a user: dan tags: trunk
02:30
Fix a parser bug that was causing the relative precedence of LIKE and < operators to be incorrect. check-in: 3e5975aa user: drh tags: trunk
01:52
Improvements to the formatting of parse.out file from Lemon. Add the -r option to Lemon to disable the state sorting, making debugging easier. check-in: a2eaf829 user: drh tags: trunk
2010-07-18
11:35
Add the -p option to lemon to cause conflicts resolved by precedence rules to appear in the parse.out file. check-in: fb6a59b0 user: drh tags: trunk
2010-07-17
18:44
Add new test file e_expr.test. check-in: cbcf8abb user: dan tags: trunk
09:27
Do not run journal3.test with the inmemory_journal permutation. check-in: e1d228e9 user: dan tags: trunk
2010-07-16
11:10
Fix a problem with wal4.test caused by changes in the previous checkin. check-in: 1218d370 user: dan tags: trunk
10:39
Fix a test script bug uncovered by [a121cd80c5] that was causing shared_err.test to fail. check-in: d7b63a4c user: dan tags: trunk
2010-07-15
18:38
Previous check-in [534aab837e] accidently reverted some changes from [a121cd80c5]. This check-in restores those changes. check-in: abff795f user: drh tags: trunk
18:32
Optionally support shared-memory in /dev/shm or other tmpfs directory using an unsupported compile-time option. check-in: 534aab83 user: drh tags: trunk
18:20
Changes to wal.c so that SQLite can read even if the WAL file is opened read-only, provided the wal-index (shm file) is opened read/write. check-in: 932d19da user: dan tags: trunk
17:54
Handle the case where xShmMap returns SQLITE_BUSY. check-in: 75f53548 user: dan tags: trunk
14:59
When creating a journal file on unix, attempt to create it with the same permissions as the associated database file. check-in: a121cd80 user: dan tags: trunk
11:14
Change a comment inside a block of code in parse.y from C++ to C style. check-in: dea7d33b user: dan tags: trunk
2010-07-14
20:51
Fix a typo in a comment in os_unix.c. check-in: e1e73125 user: drh tags: trunk
20:23
The expression list on the RHS of an IN operator can no longer be empty because an empty expression list is now optimized out by changes in check-in [c288ac644d0bf]. Therefore add ALWAYS() macros around tests for the expression list being non-empty. check-in: fd130ae5 user: drh tags: trunk
19:31
Additional test cases and evidence marks for the empty RHS bug on the IN operator - ticket [80e031a00f45dca877] check-in: 6851c517 user: drh tags: trunk
18:24
Make the result of an IN or NOT IN expression with an empty set on the right-hand side always either false or true, respectively, even if the left-hand side is NULL. Ticket [80e031a00f45dc] check-in: c288ac64 user: drh tags: trunk
18:10
Fix an assert() failure in wal2.test caused by messing with the contents of shared memory. check-in: 9f452514 user: dan tags: trunk
16:37
Test the libraries response to read-only or unreadable database, WAL and wal-index files. If a WAL file cannot be opened in read/write mode, return SQLITE_CANTOPEN to the caller. check-in: 45bb84c6 user: dan tags: trunk
14:48
On unix, try to create the *-wal and *-shm files with the same permissions as the associated database file. check-in: e5d180ee user: dan tags: trunk
08:20
Add tests to pagerfault.test. check-in: b092f2a7 user: dan tags: trunk
07:06
Test that a corrupted WAL hash-table does not put the library into an infinite loop. check-in: c73886ed user: dan tags: trunk
06:20
Fix a typo in the IS_BIG_INT macro used by coverage test instrumentation. check-in: 5314ca39 user: dan tags: trunk
01:45
Fix the unix driver to return an I/O error if unlink fails for any reason other than the file not existing in the first place. check-in: 90d73c66 user: drh tags: trunk
00:22
Remove the xShmOpen method from the VFS. Shared-memory is opened automatically by a call to xShmMap. Rename the xShmClose method to xShmUnmap. check-in: 2b68e502 user: drh tags: trunk
00:14
Change the name of the xShmClose VFS method to xShmUnmap, everywhere. Closed-Leaf check-in: c2d27cf5 user: drh tags: experimental
2010-07-13
23:41
Tweaks to the new shared-memory interface design - mostly comment changes. check-in: 6336de7a user: drh tags: experimental
18:45
Fix a typo in a comment in sqlite.h.in. check-in: 4a6c4b66 user: dan tags: experimental
18:44
Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. check-in: f4780bde user: dan tags: experimental
14:48
Improved documentation for the SQLITE_ACCESS_* constants that are used with the xAccess() method of the VFS. check-in: 3d4bb65f user: drh tags: experimental
14:33
Add proposed interface change to sqlite.h.in. This commit breaks the build. check-in: 52577bb5 user: dan tags: experimental
14:22
Fixes to the pcache10 and pcache90 permutations. check-in: 597d40fa user: dan tags: trunk
07:38
Fix problems with running the async.test script. check-in: 05ac2548 user: dan tags: trunk
2010-07-12
20:46
Updates to comments and code organization to reflect changes in os_unix.c; Updated winShmLock() with logic changes from unixShmLock(); Modified IO error returns in winShmMap() to match those in unixShmMap(); check-in: b73fe275 user: shaneh tags: trunk
18:12
Fix test_stat.c so that it does not cause compilation errors if SQLITE_OMIT_VIRTUALTABLE is defined. check-in: bf4fc088 user: dan tags: trunk
16:47
Fix makefiles so that they build sqlite3_analyzer again. Tweaks to comments in test_stat.c. Fix tclsqlite.c to build the sqlite3_analyzer again. check-in: e6cd1545 user: drh tags: trunk
12:22
In the async-IO module, do not increment the open file-counter until after an "open file" event has been added to the event queue. Otherwise, an OOM may cause the system to increment the counter even though no file was successfully opened. check-in: 15a190dc user: dan tags: trunk
08:39
Changes so that the space-analyzer script works with 3.7.0. check-in: 86159cb3 user: dan tags: trunk
2010-07-09
19:32
Exclude a few more FTS modules from the "in memory" permutation test suite. check-in: 4e9d69cd user: shaneh tags: trunk
18:43
Exclude fts3cov.test from the "in memory" permutation test suite to avoid a false positive. check-in: 6af6794c user: shaneh tags: trunk
12:57
Fix warning under MSVC. check-in: 0c32c4bb user: shaneh tags: trunk
03:19
Reformat WAL code for clearer presentation. Update comments for correctness. Add checks to ensure that corruption in shared-memory does not result in an infinite loop. check-in: 40eaada7 user: drh tags: trunk