/ History for src/test2.c
Login

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

History for src/test2.c

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