/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of src/test2.c

2017-07-08
20:46
Support read-only MVCC transactions in server-mode. Started using "BEGIN READONLY". file: [824e16d2] check-in: [5a043aa8] user: dan branch: server-process-edition, size: 21527
2016-08-12
16:21
Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. file: [3efb99ab] check-in: [8a5f41c7] user: dan branch: interruptible-checkpoint, size: 21524
2016-07-28
17:11
Make sure the SQLITE_TCLAPI macro is always defined and use it for all callback functions that must interface with the Tcl C API. file: [b7174313] check-in: [f2f1323c] user: mistachkin branch: callbackConv, size: 21521
14:37
Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. file: [ce1e56fd] check-in: [e8be3dfe] user: mistachkin branch: callbackConv, size: 21241
2015-11-04
20:22
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former macro called sqlite3PagerGet() has been removed. file: [5586f43f] check-in: [708253be] user: drh branch: trunk, size: 21166
2015-01-12
19:49
Harmless compiler warning fixes for 'testfixture' and the miscellaneous extensions when built with the MSVC makefile. file: [577961fe] check-in: [923fd660] user: mistachkin branch: msvcW4, size: 21163
2014-09-02
19:59
Add an experimental extension for applying bulk updates to databases. file: [84f6a786] check-in: [2954ab50] user: dan branch: ota-update, size: 21162
2014-05-16
14:17
Repurpose the SQLITE_TESTCTRL_FAULT_INSTALL test-control to register a callback to be invoked by sqlite3FaultSim(). That test-control has been unused since 2008-06-20 and was never used in any official release. file: [98049e51] check-in: [0d43a7ad] user: drh branch: trunk, size: 21159
2014-02-10
19:37
Experimental change to os_unix.c to delay creating a database file until it is first written. file: [0f8bd858] check-in: [538f7b25] user: dan branch: deferred-open, size: 18844
2013-04-29
03:09
More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. file: [7355101c] check-in: [05ba5e23] user: mistachkin branch: winOsTrace, size: 18741
2013-04-10
23:48
Add new primary error codes SQLITE_NOTICE and SQLITE_WARNING for use with sqlite3_log(). Add new extended error codes SQLITE_NOTICE_RECOVER_WAL and SQLITE_NOTICE_RECOVER_ROLLBACK to use with sqlite3_log() messages that occur on each recovery. file: [29e71541] check-in: [be7d2c54] user: drh branch: trunk, size: 18822
2012-04-19
18:04
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in tclsqlite.c and in the FTS4 module. file: [4178056d] check-in: [3281972e] user: drh branch: trunk, size: 20068
2012-01-11
00:38
Make sure filenames handed to the VFS by the fake_big_file test procedure are double-zero terminated. file: [71155592] check-in: [d0a86860] user: drh branch: trunk, size: 20063
2010-08-12
02:41
Increase the maximum page size from 32k to 64k. file: [80d323d1] check-in: [45362437] user: drh branch: trunk, size: 19833
2010-06-03
12:09
Remove global variables when compiled with SQLITE_OMIT_WSD file: [e3f564ab] check-in: [dd10a547] user: drh branch: trunk, size: 19833
2010-05-04
10:36
Test that the correct number of padding frames are appended to the log file after committing a transaction in synchronous=FULL mode. file: [31f1b9d0] check-in: [a60104aa] user: dan branch: trunk, size: 19802
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [b6b43413] check-in: [f6c045f6] user: drh branch: trunk, size: 19780
2009-07-24
19:01
Further simplifications to pager.c in support of structural coverage testing. (CVS 6929) file: [0de743ec] check-in: [866216c0] user: drh branch: trunk, size: 19836
2009-07-21
19:25
Change getAndInitPage() (btree.c) to use only PagerAcquire(), not PagerLookup() and PagerAcquire(). (CVS 6916) file: [ffb1649b] check-in: [0b41dfc0] user: danielk1977 branch: trunk, size: 19719
2009-07-16
18:21
Code simplifications and comment improvements in support of structural coverage testing. (CVS 6899) file: [d7d7907c] check-in: [94525179] user: drh branch: trunk, size: 19643
2009-06-18
17:22
Move codec management from database connections into the pager so that it will work together with shared cache. (CVS 6782) file: [d73e4a49] check-in: [ed08b53c] user: drh branch: trunk, size: 19794
2009-02-05
16:31
Make the pending byte adjustable via sqlite3_test_control() on all builds, not just on test builds. (CVS 6263) file: [71c22e29] check-in: [e8f192e2] user: drh branch: trunk, size: 19790
2009-01-20
17:06
Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197) file: [9689e7d3] check-in: [12f7346c] user: danielk1977 branch: trunk, size: 18989
16:53
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) file: [b0e97781] check-in: [1041abd6] user: danielk1977 branch: trunk, size: 19101
2009-01-16
16:23
Revert (6187). (CVS 6188) file: [87d2ee3a] check-in: [a353c1ab] user: danielk1977 branch: trunk, size: 19087
15:21
This commit is an error. Reverted by (6188). (CVS 6187) file: [4fd2d995] check-in: [aa67fd0c] user: danielk1977 branch: trunk, size: 18975
2009-01-07
15:18
Fix for 'truncate file' operations on in-memory databases. (CVS 6131) file: [724095fc] check-in: [83d1eafb] user: danielk1977 branch: trunk, size: 19087
2009-01-02
18:10
Fix compiler warnings in pager.c (CVS 6102) file: [15dbd8b9] check-in: [78dd7909] user: drh branch: trunk, size: 19186
2008-12-17
17:30
Add the savepoint feature. This feature is largely untested at this point. (CVS 6036) file: [4e0ea288] check-in: [34b56600] user: danielk1977 branch: trunk, size: 19197
2008-09-29
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: [89752818] check-in: [40425e93] user: danielk1977 branch: trunk, size: 19094
2008-08-26
18:05
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) file: [eaa77124] check-in: [9e511e16] user: danielk1977 branch: trunk, size: 19097
2008-08-20
14:49
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) file: [9601907a] check-in: [cb494e10] user: danielk1977 branch: trunk, size: 19702
2008-07-12
14:52
Remove leftover debugging commands (breakpoint and btree_breakpoint) from test scripts. (CVS 5400) file: [7a634c1e] check-in: [dcb16024] user: drh branch: trunk, size: 19086
2008-06-07
08:58
Change the signature of sqlite3PagerPagecount() so that it can return an error code. (CVS 5195) file: [c46d1460] check-in: [e9f01c01] user: danielk1977 branch: trunk, size: 19034
2008-03-21
16:45
Add a completely new testing system for the Bitvec object. The new testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) file: [f0808cc6] check-in: [2498d3ea] user: drh branch: trunk, size: 18993
2008-03-20
11:04
Allow a VACUUM operation to change the page-size in the same way as it can be used to change a database between auto-vacuum and normal mode. (CVS 4896) file: [da3c4016] check-in: [871df0e7] user: danielk1977 branch: trunk, size: 21218
2008-03-19
00:21
Remove the dependency on the direct btree interface from as many test scripts as is practical. Fix a bug in the output limiter of the integrity_check pragma that came up while making this change. (CVS 4880) file: [443ccc1b] check-in: [24e76997] user: drh branch: trunk, size: 21207
2008-03-07
19:51
Correctly handle I/O errors that occur during OsUnlock(). Before this fix, an I/O error during OsUnlock() could lead to database corruption. That is not a serious problem, though, since errors during OsUnlock() are not possible on most systems. (CVS 4838) file: [89793e86] check-in: [b4c1258e] user: drh branch: trunk, size: 21290
2008-02-18
14:47
Add the Bitvec object for tracking which pages have been journalled. This reduces memory consumption and runs faster than the bitmap approach it replaced. (CVS 4794) file: [355d5693] check-in: [7c57bdbc] user: drh branch: trunk, size: 21148
2007-09-03
15:19
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) file: [77b34303] check-in: [020a2b10] user: drh branch: trunk, size: 17818
2007-08-29
12:31
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) file: [4ab230fb] check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 17754
2007-08-21
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [4f742e99] check-in: [fbbd5bda] user: drh branch: trunk, size: 17706
2007-08-20
22:48
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) file: [4506b663] check-in: [1315bd8e] user: drh branch: trunk, size: 17741
14:23
Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247) file: [01638098] check-in: [40f66ada] user: danielk1977 branch: trunk, size: 17749
2007-08-18
10:59
Further progress on migration to sqlite3_vfs. (CVS 4242) file: [8dc9775a] check-in: [a258c4ec] user: danielk1977 branch: trunk, size: 17746
2007-08-17
15:53
Begin migration to using sqlite3_vfs interface. (CVS 4240) file: [47bb59a0] check-in: [af3e3c7a] user: danielk1977 branch: trunk, size: 17735
2007-08-16
10:09
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) file: [4db48e4a] check-in: [77b16713] user: danielk1977 branch: trunk, size: 17624
2007-08-15
17:08
Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228) file: [5c3edc61] check-in: [af9503da] user: danielk1977 branch: trunk, size: 17618
2007-04-02
05:07
Fix a resource leak introduced by the change-counter optimisation. Also add some test coverage. (CVS 3790) file: [24458b17] check-in: [ba0538a4] user: danielk1977 branch: trunk, size: 17747
2007-03-30
14:06
Refactoring the btree and pager routines into distinct two-phase commit routines. We've always done a two-phase commit - this change is just making that more apparent in the code. (CVS 3762) file: [710a7252] check-in: [66b3ad09] user: drh branch: trunk, size: 17588
2007-03-19
17:44
Modify the interface to the pager sub-system in preparation for performing IO in blocks based on sector-size, not database page-size. (CVS 3705) file: [dc48c84c] check-in: [7dc76588] user: danielk1977 branch: trunk, size: 17442
2007-03-15
12:17
Infrastructure to make simulated I/O errors persistent instead of transient. (CVS 3689) file: [59085c04] check-in: [1a53f531] user: drh branch: trunk, size: 17356
2006-01-06
14:32
Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) file: [ca74a1d8] check-in: [2529c2e1] user: drh branch: trunk, size: 17214
2005-11-30
03:20
Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) file: [36390cdf] check-in: [bd8740d1] user: drh branch: trunk, size: 17216
2005-11-29
03:13
Make the OsFile structure opaque with its internal structure known only to the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h include files. The crash tests are broken by this patch. (CVS 2791) file: [02d639d5] check-in: [058f3175] user: drh branch: trunk, size: 17222
2005-11-26
00:25
Modify the OS layer so that I/O routines are called through a virtual function table. The os_test.c module has been replaced by test6.c. The crash tests are busted now and need to be fixed. (CVS 2785) file: [360cfa7f] check-in: [1f69aec2] user: drh branch: trunk, size: 17249
2005-11-04
22:03
VACUUM works even on an empty database. Ticket #1512. (CVS 2760) file: [d55861d8] check-in: [1b6bf418] user: drh branch: trunk, size: 17241
2005-09-16
10:13
Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701) file: [4196848c] check-in: [bedf702f] user: danielk1977 branch: trunk, size: 17119
09:52
Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl variable sqlite_pending_byte to the internal pending-byte location when in test mode. (CVS 2700) file: [f5b438bc] check-in: [9115e062] user: danielk1977 branch: trunk, size: 17193
2005-09-09
10:46
Enhanced disk-full tests. (CVS 2682) file: [4f89ffd7] check-in: [0288fa5d] user: drh branch: trunk, size: 17016
2005-08-11
02:10
Improve the error message associated with SQLITE_FULL. Ticket #1353. Also remove error messages for obsolete error codes SQLITE_INTERNAL, SQLITE_NOTFOUND, and SQLITE_TOOBIG. (CVS 2580) file: [792f203b] check-in: [fa7403c7] user: drh branch: trunk, size: 16898
2005-05-27
09:41
Minor changes to help build and test SSE. (CVS 2487) file: [716c1809] check-in: [3ac4a212] user: danielk1977 branch: trunk, size: 17101
2005-02-06
02:45
Add the (highly experimental) omit_readlock pragma that disables the use of readlocks on read-only databases that are connected using ATTACH. (CVS 2317) file: [7f0ef466] check-in: [2155448d] user: drh branch: trunk, size: 17025
2005-01-13
11:07
Test cases to improve coverage of pager.c. (CVS 2205) file: [bbc2ecc5] check-in: [0428a148] user: danielk1977 branch: trunk, size: 17033
2004-10-01
14:38
Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994) file: [b11fa244] check-in: [44e56f0b] user: drh branch: trunk, size: 16250
02:00
Use type i64 instead of off_t for file offsets since off_t is giving portability problems. Ticket #924. (CVS 1992) file: [2d25e389] check-in: [8972c004] user: drh branch: trunk, size: 16108
2004-09-08
20:13
More changes directed at getting things to work on 64-bit platforms. (CVS 1949) file: [0f3e0ad7] check-in: [39755d21] user: drh branch: trunk, size: 16110
2004-07-22
01:19
Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843) file: [f4c2f392] check-in: [4cf6e9db] user: drh branch: trunk, size: 16432
2004-06-21
18:14
Fix an uninitialized variable. The variable was harmless, but pedantic error checking in MSVC raised an exception on it. (CVS 1651) file: [dafd8bd3] check-in: [afc398c2] user: drh branch: trunk, size: 16532
2004-06-15
11:40
Minor bugfixes and test case adjustments for version 2 test cases to work with version 3. (CVS 1598) file: [db0a0c30] check-in: [e21a1813] user: danielk1977 branch: trunk, size: 16510
2004-06-09
19:03
Remove legacy journal formats. (CVS 1549) file: [05f810c9] check-in: [a12bef4a] user: drh branch: trunk, size: 16503
2004-06-04
06:22
Move the 'busy-callback' logic to the pager layer. (CVS 1527) file: [ae18537d] check-in: [ff70b6d2] user: danielk1977 branch: trunk, size: 16667
2004-05-10
10:34
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) file: [6195a1ca] check-in: [2242423e] user: danielk1977 branch: trunk, size: 16664
2004-05-08
08:23
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) file: [8dab493c] check-in: [8af6474c] user: danielk1977 branch: trunk, size: 16661
2004-04-26
14:10
Pager tests working. (CVS 1308) file: [9d611c45] check-in: [910067a2] user: drh branch: trunk, size: 16646
2004-02-10
01:54
Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217) file: [75819b0f] check-in: [4c7bf714] user: drh branch: trunk, size: 16589
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) file: [5014337d] check-in: [8ec56325] user: drh branch: trunk, size: 16236
2002-12-17
14:19
If the "fake_big_file" command fails, be sure to close the file before returning. (CVS 801) file: [03f05e98] check-in: [fa1b5e21] user: drh branch: trunk, size: 16240
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) file: [7e501ef1] check-in: [fa5c0425] user: drh branch: trunk, size: 16240
2002-12-01
02:00
Fixed large file support under Linux. I'm unable to test under Windows. Ticket #191. (CVS 790) file: [e3a2e087] check-in: [9864a126] user: drh branch: trunk, size: 16237
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) file: [8f7d8889] check-in: [a29d60ec] user: drh branch: trunk, size: 14757
2002-08-31
18:53
Parse foreign key constraints and populate internal data structures appropriately. Constraints are still not enforced. (CVS 738) file: [5fa694d1] check-in: [170711ca] user: drh branch: trunk, size: 14692
2002-08-12
12:29
Fix for ticket #9 (again). The rollback journal files should now also be byte-order independent. (CVS 705) file: [279057a8] check-in: [2fb3fdcd] user: drh branch: trunk, size: 14416
2002-05-10
05:44
Attempt to detect when two or more threads try to use the same database at the same time and return an SQLITE_MISUSE error. Also return this error if an attempt is made to use a closed database. (CVS 558) file: [669cc227] check-in: [a05fabd2] user: drh branch: trunk, size: 14302
2002-02-02
15:01
Checkpoint code added to the pager. Regression tests work but the new APIs have not been tested yet. (CVS 361) file: [d410dbd8] check-in: [aaa53e11] user: drh branch: trunk, size: 13912
2001-10-12
17:30
Fix an assertion failure when the disk fills up. Add tests for a full disk situation. (CVS 285) file: [e9f99aa5] check-in: [0a7848b6] user: drh branch: trunk, size: 11614
2001-09-16
00:13
Disclaimed copyright. Preparing for release 2.0. (CVS 250) file: [0168b392] check-in: [4e926efe] user: drh branch: trunk, size: 11474
2001-08-20
00:33
Restore btree to the main line. (CVS 237) file: [b3177e06] check-in: [2e6aff98] user: drh branch: trunk, size: 12023 Added
2001-04-28
16:52
:-) (CVS 214) file: [01836252] check-in: [73a1ed61] user: drh branch: trunk, size: 12023
2001-04-15
00:37
Pager is working, mostly. (CVS 211) file: [49e27f03] check-in: [f82fa707] user: drh branch: trunk, size: 11097 Added