SQLite

All files named ”src/test4.c”
Login

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

History for src/test4.c

2025-03-08
06:53
[0ac87fc13c] part of check-in [84d8fcfca1] Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk. (check-in: [84d8fcfca1] user: stephan branch: cygwin-fixes, size: 20558)
2025-03-06
13:38
[ba4656d94d] part of check-in [205979813c] Cygwin-centric fixes from Jan Nijtmans. (check-in: [205979813c] user: stephan branch: cygwin-fixes, size: 20513)
2024-07-30
15:49
[13e57ae7ec] part of check-in [6e5bb48a74] First attempt at getting the build to work with Tcl 9.0. (check-in: [6e5bb48a74] user: drh branch: tcl9, size: 20438)
2022-05-16
16:55
[4533b76419] part of check-in [9260f4e0fd] Add memory barriers to multi-threaded code in test4.c. (check-in: [9260f4e0fd] user: dan branch: trunk, size: 20507)
2020-06-19
15:24
[7c4420e01c] part of check-in [7a876209a6] Extend the refactoring into extensions. Clean up stray newlines. (check-in: [7a876209a6] user: drh branch: trunk, size: 20158)
2019-04-10
12:02
[405834f6a9] part of check-in [c1cae7e7f0] Change the name of some internal testing interfaces to avoid a name conflict in AIX. (check-in: [c1cae7e7f0] user: drh branch: trunk, size: 20158)
2016-07-28
17:11
[18ec393bb4] part of check-in [f2f1323cc4] 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: [f2f1323cc4] user: mistachkin branch: callbackConv, size: 20048)
14:37
[a305bb9378] part of check-in [e8be3dfeab] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (check-in: [e8be3dfeab] user: mistachkin branch: callbackConv, size: 19838)
2015-01-19
00:35
[d168f83cc7] part of check-in [1032191099] Eliminate all use of sprintf(), strcpy() and strcat() from test logic because OpenBSD hates those functions. (check-in: [1032191099] user: drh branch: trunk, size: 19763)
2013-04-29
03:09
[9b32d22f5f] part of check-in [05ba5e23fc] More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. (check-in: [05ba5e23fc] user: mistachkin branch: winOsTrace, size: 19740)
2013-04-10
23:48
[cea2c55110] part of check-in [be7d2c5482] 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: [be7d2c5482] user: drh branch: trunk, size: 19755)
2012-08-25
10:01
[bf9fa9bece] part of check-in [9b19b84753] Fix all known instances of 'repeated the' style typos in comments. No changes to code. (check-in: [9b19b84753] user: mistachkin branch: trunk, size: 21379)
2011-04-04
21:48
[d1e5a5e904] part of check-in [78b6eee200] Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; (check-in: [78b6eee200] user: shaneh branch: trunk, size: 21383)
2010-07-24
16:34
[0528360b50] part of check-in [ac1f37a647] Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). (check-in: [ac1f37a647] user: drh branch: malloc-enhancement, size: 21406)
2009-11-10
01:30
[ad03bb987d] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 21400)
2009-09-09
18:46
[b5fd530f02] part of check-in [ef99eb57c5] Trying to open a transaction in one thread and close it in another is a misuse with LinuxThreads. Doing so may cause memory and file-descriptors to be leaked. Update an assert() and some test cases to account for this. (check-in: [ef99eb57c5] user: dan branch: trunk, size: 21458)
2008-10-12
00:27
[f79ab52d27] part of check-in [ba3711acee] Added SQLITE_OMIT_DEPRECATED compile time option to leave out deprecated functions. Updated test scripts to skip tests of deprecated functions if they are compiled out. (CVS 5808) (check-in: [ba3711acee] user: shane branch: trunk, size: 20546)
2008-07-28
19:34
[4105637867] part of check-in [e48f9697e9] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697e9] user: drh branch: trunk, size: 20506)
2008-06-26
10:41
[ff4ecde3ca] part of check-in [cdd4cf4ce2] Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311) (check-in: [cdd4cf4ce2] user: danielk1977 branch: trunk, size: 20504)
2007-08-22
11:41
[c2c0f5dc90] part of check-in [1f28b7e47b] Get the quick.test script running with SQLITE_THREADSAFE enabled. (CVS 4269) (check-in: [1f28b7e47b] user: drh branch: trunk, size: 20482)
2007-08-21
10:44
[d97b87919d] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda54] user: drh branch: trunk, size: 20470)
2007-08-20
22:48
[1f4d2ed898] part of check-in [1315bd8e12] Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) (check-in: [1315bd8e12] user: drh branch: trunk, size: 20486)
2007-08-16
04:30
[d22cb3ab4f] part of check-in [deb7ecd65f] Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) (check-in: [deb7ecd65f] user: drh branch: trunk, size: 20505)
2006-02-23
21:43
[8b784cd82d] part of check-in [942c509595] Detect integer overflow in the abs() function. The random() function now provides 64 bits of randomness instead of just 32. Fix bugs in testing logic of test4.c. (CVS 3108) (check-in: [942c509595] user: drh branch: trunk, size: 20503)
2006-01-20
17:56
[ff4e9406b3] part of check-in [b7bdac0afd] Fix some compiler warnings. (CVS 2983) (check-in: [b7bdac0afd] user: drh branch: trunk, size: 20483)
2006-01-15
02:30
[6633cb7b4a] part of check-in [f68e05cb2b] Add tests and fix bugs in the new cross-thread lock resolution code. When an unlock fails, do not leak file descriptors (ticket #1611). But we really ought to report SQLITE_MISUSE or some other error instead of just returning SQLITE_OK. (CVS 2945) (check-in: [f68e05cb2b] user: drh branch: trunk, size: 20476)
2006-01-11
23:40
[0f95de8162] part of check-in [fb518b0ce4] Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup() API is documented. This should close ticket #1601. (CVS 2920) (check-in: [fb518b0ce4] user: drh branch: trunk, size: 18348)
2005-08-11
02:10
[a8fd681e13] part of check-in [fa7403c7d9] 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: [fa7403c7d9] user: drh branch: trunk, size: 18320)
2004-09-06
17:24
[7c6b9fc33d] part of check-in [3ddf5a9d1c] Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3 connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) (check-in: [3ddf5a9d1c] user: drh branch: trunk, size: 18515)
2004-08-08
20:22
[c38766914e] part of check-in [b065973898] Make sure the argument to ctype.h macros is always an unsigned character. Ticket #839. (CVS 1881) (check-in: [b065973898] user: drh branch: trunk, size: 18513)
2004-06-08
00:02
[a921a69821] part of check-in [62e31f396c] Remove the third argument from the sqlite3_open() API. (CVS 1540) (check-in: [62e31f396c] user: danielk1977 branch: trunk, size: 18506)
2004-05-31
19:34
[caf675e443] part of check-in [f3b80bbb97] Change the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512) (check-in: [f3b80bbb97] user: drh branch: trunk, size: 18500)
2004-05-26
23:25
[34848a9fd3] part of check-in [bba6684d50] Refactoring of the vdbe Mem functions and the APIs that deal with them. The code will not compile in its current state. (CVS 1465) (check-in: [bba6684d50] user: drh branch: trunk, size: 18506)
02:04
[014478492b] part of check-in [17e7db488d] Use the new API calls more consistently. (CVS 1459) (check-in: [17e7db488d] user: danielk1977 branch: trunk, size: 18517)
2004-05-22
09:21
[b9947c319a] part of check-in [b449217318] Use the new form of the sqlite3_open() API everywhere. (CVS 1437) (check-in: [b449217318] user: danielk1977 branch: trunk, size: 18218)
2004-05-10
10:34
[b3fab9aea7] part of check-in [2242423e31] Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) (check-in: [2242423e31] user: danielk1977 branch: trunk, size: 18095)
2004-05-08
08:23
[92d2a10380] part of check-in [8af6474c49] 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: [8af6474c49] user: danielk1977 branch: trunk, size: 18085)
2004-04-23
17:04
[6e3e31acfa] part of check-in [7ace576215] Get the temp_store and default_temp_store pragmas working. Update the documentation. Also fix a malloc problem that popped up during the regression testing. (CVS 1302) (check-in: [7ace576215] user: drh branch: trunk, size: 18074)
2003-12-20
04:00
[dcbbbb3826] part of check-in [952924084a] Fix some minor problems with the new test4.c module used for doing thread testing. (CVS 1142) (check-in: [952924084a] user: drh branch: trunk, size: 17004)
2003-12-19
02:52
Added: [99d0b1d273] part of check-in [b36a4bb610] Add new thread-testing code and fix locking under Linux threads. Ticket #530. (CVS 1137) (check-in: [b36a4bb610] user: drh branch: trunk, size: 16960)