/ All files named "src/test_thread.c"
Login

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

History for src/test_thread.c

2020-02-07
01:12
[269ea9e1] part of check-in [5a877221] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221] user: drh branch: trunk, size: 18880)
2016-08-01
14:35
[911d15fb] part of check-in [b6ea2f21] Avoid making unnecessary changes to the signatures of the sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. (check-in: [b6ea2f21] user: drh branch: trunk, size: 19312)
2016-07-28
22:53
[89f0e47d] part of check-in [b8218129] More compiler warning fixes for GCC related to the auto-extension mechanism. (check-in: [b8218129] user: mistachkin branch: callbackConv, size: 19317)
22:23
[a122592c] part of check-in [3ea567c4] Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. (check-in: [3ea567c4] user: mistachkin branch: callbackConv, size: 19301)
17:11
[c7c40494] 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: 19272)
14:37
[30ae6818] 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: 19146)
2015-01-19
00:35
[af391ec0] part of check-in [10321910] Eliminate all use of sprintf(), strcpy() and strcat() from test logic because OpenBSD hates those functions. (check-in: [10321910] user: drh branch: trunk, size: 19071)
2013-04-29
03:09
[1e133a40] 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: 19048)
2012-01-30
18:00
[e286f217] part of check-in [c4cd38a0] Fix compiler warnings in the TCL test harness. (check-in: [c4cd38a0] user: drh branch: trunk, size: 19002)
2011-08-30
19:52
[35022393] part of check-in [20ddfb47] Enable the thread test logic to work with the SQLITE_HAS_CODEC compile-time option. (check-in: [20ddfb47] user: drh branch: trunk, size: 19005)
2011-08-25
18:54
[dc77f920] part of check-in [16f83fec] Fix harmless compiler warnings in test code. No changes to the core. (check-in: [16f83fec] user: drh branch: trunk, size: 18586)
2011-06-20
21:47
[fe9a7803] part of check-in [b9cbab73] Fix more documentation typos. (check-in: [b9cbab73] user: drh branch: trunk, size: 18572)
2011-04-04
21:48
[361ae0a0] part of check-in [78b6eee2] Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; (check-in: [78b6eee2] user: shaneh branch: trunk, size: 18577)
2010-07-06
10:55
[bedd05ca] part of check-in [b3399b40] Before calling Tcl_ExitThread() in a multi-threaded test, call Tcl_DoOneEvent() as many times as necessary to handle any queued events. (check-in: [b3399b40] user: dan branch: trunk, size: 18613)
2010-07-05
12:54
[9fe4226a] part of check-in [684eae66] Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). Not doing so causes notifier related errors on OSX. (check-in: [684eae66] user: dan branch: trunk, size: 18556)
2010-04-28
17:48
[aa9919c8] part of check-in [25f85f68] Change walthread.test so that tests can be run with either multiple threads or multiple processes. (check-in: [25f85f68] user: dan branch: wal, size: 18535)
2009-11-10
01:30
[00fed806] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 18479)
2009-03-27
12:32
[b8a1ab7c] part of check-in [a43ecc9c] Fix some compiler warnings in test code. (CVS 6392) (check-in: [a43ecc9c] user: drh branch: trunk, size: 18541)
2009-03-24
18:42
[7b409dc9] part of check-in [940d72d2] Change OS_UNIX to SQLITE_OS_UNIX in test_thread.c. Modify notify2.test to print out its timings in addition to reporting success or failure. (CVS 6382) (check-in: [940d72d2] user: drh branch: trunk, size: 18414)
2009-03-23
17:11
[1c7a895d] part of check-in [92ec5975] Fix an obscure race condition that can occur when multiple threads, shared cache and DDL statements are combined. Enhance notify2.test to test this scenario. (CVS 6373) (check-in: [92ec5975] user: danielk1977 branch: trunk, size: 18401)
2009-03-19
07:58
[870a862d] part of check-in [e8be1af9] Change sqlite3_step() to return SQLITE_LOCKED if a statement cannot be re-compiled due to locks on the shared-cache schema. Also add a blocking wrapper of sqlite3_prepare_v2() to the test code. (CVS 6359) (check-in: [e8be1af9] user: danielk1977 branch: trunk, size: 17984)
2009-03-16
13:19
[6805d05c] part of check-in [b649a6cc] Add the sqlite3_unlock_notify() API. (CVS 6348) (check-in: [b649a6cc] user: danielk1977 branch: trunk, size: 14999)
2009-02-03
19:55
[adb9175c] part of check-in [e9475aba] Fixed postToParent() return type (Tcl_ThreadCreateType) in test_thread.c to compile with MSVC. Removed a few compiler warnings. Test harness change only. (CVS 6245) (check-in: [e9475aba] user: shane branch: trunk, size: 9859)
2009-01-19
17:40
[2575a163] part of check-in [6242f113] Make sure mutexes are fully enabled for thread001.test. Take steps to ensure that the thread tests run during regression testing. (CVS 6193) (check-in: [6242f113] user: drh branch: trunk, size: 9415)
2008-08-28
13:55
[d74fc445] part of check-in [b606263d] Avoid using (clock seconds) in thread003.test. It is not available if testfixture is linked to tcl 8.5. (CVS 5634) (check-in: [b606263d] user: danielk1977 branch: trunk, size: 9366)
13:15
[ecb4b86f] part of check-in [677ac144] Use ckfree() instead of sqlite3_free() to free an allocation made by ckalloc() in test_thread.c (test code only). (CVS 5633) (check-in: [677ac144] user: danielk1977 branch: trunk, size: 8631)
2007-12-13
21:54
[e297dd41] part of check-in [4e91a267] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (check-in: [4e91a267] user: drh branch: trunk, size: 8629)
18:29
[84830462] part of check-in [6129fce8] Fix the location of a #include in test_thread.c. ticket #2826. (CVS 4627) (check-in: [6129fce8] user: drh branch: trunk, size: 8630)
2007-09-10
10:53
[a98d69ca] part of check-in [c758cc1d] Add another test file to help verify thread-safety. (CVS 4419) (check-in: [c758cc1d] user: danielk1977 branch: trunk, size: 8639)
06:23
[cbd7ba2c] part of check-in [6ee2b8ff] Upgrade thread001.test to test with multiple database handles. (CVS 4417) (check-in: [6ee2b8ff] user: danielk1977 branch: trunk, size: 8132)
2007-09-07
18:40
[35d2b6c8] part of check-in [9b7bab7f] Modify test_thread.c to use tcl apis for creating threads. (CVS 4415) (check-in: [9b7bab7f] user: danielk1977 branch: trunk, size: 7296)
11:29
Added: [489c7908] part of check-in [753908e8] Add the beginning of the thread-safety tests. There are more to come. (CVS 4413) (check-in: [753908e8] user: danielk1977 branch: trunk, size: 6512)