/ File History
Login

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

History of src/test_async.c

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: [195ab49d] check-in: [f2f1323c] user: mistachkin branch: callbackConv, size: 6060
14:37
Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. file: [233536b7] check-in: [e8be3dfe] user: mistachkin branch: callbackConv, size: 5931
2013-04-29
03:09
More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. file: [21e11293] check-in: [05ba5e23] user: mistachkin branch: winOsTrace, size: 5856
2010-07-12
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. file: [0612a752] check-in: [e6cd1545] user: drh branch: trunk, size: 5868
2010-07-05
12:54
Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). Not doing so causes notifier related errors on OSX. file: [5193a69d] check-in: [684eae66] user: dan branch: trunk, size: 5865
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [c1656fac] check-in: [f6c045f6] user: drh branch: trunk, size: 5844
2009-04-28
13:01
Do not store the zero string terminator as part of the name when holding symbols in the symbol table. (CVS 6557) file: [731d23f9] check-in: [23d67af3] user: drh branch: trunk, size: 5905
2009-04-25
08:39
Tests for the new asynchronous IO API. (CVS 6549) file: [7e16faf7] check-in: [11b2564e] user: danielk1977 branch: trunk, size: 5914
2009-04-24
10:13
Make selecting the asynchronous IO file-locking mode a runtime operation. Still untested. (CVS 6544) file: [d17e8c21] check-in: [577277e8] user: danielk1977 branch: trunk, size: 5597
2009-04-23
14:58
Move the asynchronous IO code from src/test_async.c to ext/async/. Refactor it to be a standalone module and to support windows. (CVS 6539) file: [95c15d90] check-in: [e71fb0fb] user: danielk1977 branch: trunk, size: 5551
2009-04-21
18:20
Move RowHashBlock.nUsed to RowHash.nUsed. Fix a typo in a comment in test_async.c. (CVS 6533) file: [636451da] check-in: [799d31d9] user: danielk1977 branch: trunk, size: 59362
2009-04-07
11:21
Change "... myfunction() { ... }" to "... myfunction(void) { ... }" in a few pla ces. Ticket #3783. (CVS 6462) file: [c820a2d2] check-in: [6f79e6ae] user: danielk1977 branch: trunk, size: 59367
2009-03-28
18:56
The test_async.c module must pass an unchanging filename to the underlying VFS. (CVS 6400) file: [da1402a6] check-in: [d1eeee21] user: drh branch: trunk, size: 59355
17:21
Fix thread related problems in test modules test_async.c and test_journal.c. (CVS 6399) file: [fd2344c3] check-in: [45df27a2] user: danielk1977 branch: trunk, size: 59342
15:04
Back out check-in (6380). Replace it with a proper fix to the xFullPathname method in the async VFS. (CVS 6398) file: [9d75004d] check-in: [767a7f7b] user: drh branch: trunk, size: 57157
2009-03-27
09:10
Fix an incompatibility between the test_async.c backend and change (6390). (CVS 6391) file: [3e25752f] check-in: [6762625d] user: danielk1977 branch: trunk, size: 57540
2009-03-25
16:51
Remove an unused parameter from sqlite3DequoteExpr. Fix another unrelated and harmless compiler warning. (CVS 6386) file: [3ff664df] check-in: [8589b0fc] user: drh branch: trunk, size: 56768
14:24
When a VFS.xOpen fails, make sure the pMethods pointer is zeroed on the sqlite3_file object so that subsequent xClose() operations against that same file handler are no-ops. Bug in the test_async.c module only - not in the core library. Ticket #3744. (CVS 6384) file: [65f8d6e4] check-in: [c32b4541] user: drh branch: trunk, size: 56760
2009-03-24
16:27
Include sqliteInt.h in test_async.c so that the asynchronous VFS tests will run even if SQLITE_OS_UNIX is not explicitly defined. (CVS 6379) file: [ae0b7528] check-in: [29b0d6a3] user: drh branch: trunk, size: 56663
2009-03-05
04:20
Corrected typos and misspellings. Ticket #3702. (CVS 6336) file: [75771172] check-in: [6404afa0] user: shane branch: trunk, size: 56663
2008-09-26
20:02
Make sure the queueMutex is held prior to writing the pQueueLast field of the write queue in the async demonstration code. Ticket #3405. (CVS 5744) file: [45024094] check-in: [5622a1e2] user: drh branch: trunk, size: 56658
2008-09-15
15:49
Minor comment change to test_async.c. No code changes. (CVS 5702) file: [de666137] check-in: [b1341060] user: danielk1977 branch: trunk, size: 55970
14:08
Modify test_async.c to avoid using internal SQLite APIs. There are still some comments that need updating. (CVS 5698) file: [2f644e5c] check-in: [1d4fcaaf] user: danielk1977 branch: trunk, size: 55976
2008-06-26
10:41
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) file: [da9f58f4] check-in: [cdd4cf4c] user: danielk1977 branch: trunk, size: 54764
2008-06-06
11:11
Remove the xGetTempname() method from the vfs structure. Temp files are now opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190) file: [fb5ab7b5] check-in: [5173b3e8] user: danielk1977 branch: trunk, size: 54736
2008-06-05
11:39
Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) file: [b862919c] check-in: [4226ac54] user: danielk1977 branch: trunk, size: 54974
2008-05-16
04:51
Add more version tags to files that lack them. Ticket #3120. (CVS 5137) file: [0d26a723] check-in: [81a8c70e] user: danielk1977 branch: trunk, size: 54861
2008-03-07
21:04
Fix an alignment problem in test_async.c. (CVS 4840) file: [3147c64c] check-in: [752d8e21] user: drh branch: trunk, size: 54792
2007-11-07
01:23
Changes the asynchronous I/O test module so that it can be appended to the end of the amalgamation. (CVS 4533) file: [5f21392d] check-in: [c1fe27de] user: drh branch: trunk, size: 54764
2007-11-02
09:07
Add some assert() statements to the asychronous backend demo to enforce the strategy used to avoid deadlock. Also a minor change to avoid a potential deadlock. (CVS 4520) file: [dfdc4be8] check-in: [6340ca5e] user: danielk1977 branch: trunk, size: 54728
2007-10-30
15:38
Remove a debugging assert() that went in by accident with the previous commit. (CVS 4517) file: [0bb1e38c] check-in: [4ad60bdb] user: danielk1977 branch: trunk, size: 50278
15:29
Fix a race condtion in test_async.c. (CVS 4516) file: [b273b3dc] check-in: [5e3f7c3d] user: danielk1977 branch: trunk, size: 50312
2007-09-17
07:02
Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) file: [c5ea222c] check-in: [8b29f5fb] user: danielk1977 branch: trunk, size: 50160
06:06
Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) file: [70eb7a43] check-in: [ad3687b1] user: danielk1977 branch: trunk, size: 50112
2007-09-06
07:47
Add some extra comments to the header in test_async.c. (CVS 4407) file: [c913005f] check-in: [79cf4e88] user: danielk1977 branch: trunk, size: 50112
2007-09-05
16:54
Fix error handling (malloc and io errors) in the asynchronous backend. (CVS 4404) file: [9bf36345] check-in: [80a44382] user: danielk1977 branch: trunk, size: 47672
14:32
Test that the asynchronous backend works with components like "." or ".." in the path to the database file. (CVS 4403) file: [6e30875e] check-in: [0a87a854] user: danielk1977 branch: trunk, size: 46603
11:34
Fix a problem in the test scripts for the asynchronous backend. (CVS 4400) file: [5d30feff] check-in: [630fc71f] user: danielk1977 branch: trunk, size: 46485
2007-09-04
18:28
Add external locking to test_async.c. There are still some tests to come. (CVS 4398) file: [e221db3e] check-in: [3794dcd3] user: danielk1977 branch: trunk, size: 46042
14:31
Add internal locking to the test_async.c backend. So that more than one connection may be used from within a single process. (CVS 4396) file: [c6f5f75f] check-in: [17ca684c] user: danielk1977 branch: trunk, size: 43595
2007-09-03
15:26
Remove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377) file: [dcb562dc] check-in: [38dff76d] user: drh branch: trunk, size: 39478
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: [98c6efe1] check-in: [020a2b10] user: drh branch: trunk, size: 39514
2007-08-31
18:34
Remove the xLockState method for sqlite3_io_methods. Replace it with a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) file: [8b6aa6a5] check-in: [306586c4] user: drh branch: trunk, size: 39585
2007-08-27
21:10
Added the 34to35.html document describing the changes between 3.4.2 and 3.5.0. Minor interface cleanups. (CVS 4302) file: [f222bd19] check-in: [0791f917] user: drh branch: trunk, size: 39764
2007-08-25
12:29
Make the test_async backend work again. (CVS 4293) file: [12ff3db0] check-in: [04167483] user: danielk1977 branch: trunk, size: 39777
2007-08-21
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [9f3ab66e] check-in: [fbbd5bda] user: drh branch: trunk, size: 40189
2007-08-20
22:48
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) file: [ba48913e] check-in: [1315bd8e] user: drh branch: trunk, size: 40205
2007-08-16
04:30
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) file: [871ffbe4] check-in: [deb7ecd6] user: drh branch: trunk, size: 40298
2007-03-26
22:05
Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) file: [9d326ced] check-in: [0b832e21] user: drh branch: trunk, size: 40301
2007-03-22
15:20
Call sqlite3_free() instead of free() to release a buffer allocated by sqlite3_vmprintf() in test_async.c (test suite bug only). (CVS 3708) file: [aca980c0] check-in: [b078f09b] user: danielk1977 branch: trunk, size: 40175
2007-03-19
05:54
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700) file: [33eb8967] check-in: [5752d84d] user: danielk1977 branch: trunk, size: 40167
2006-02-14
14:46
test_async.c: Writer-thread should not relinquish mutex when writing a file for which only one file handle is open (fixes bug introduced in (3093)). (CVS 3097) file: [e3deaedd] check-in: [f0c45b7e] user: danielk1977 branch: trunk, size: 39972
14:02
Account for a malloc failure in the asynchronous writer thread in test_async.c (CVS 3096) file: [2caf8681] check-in: [2f2a8a69] user: danielk1977 branch: trunk, size: 40088
13:48
Fix bug in test_async.c version of OsFileSize(). (CVS 3095) file: [3cdf60bc] check-in: [239e53b4] user: danielk1977 branch: trunk, size: 40060
13:25
Add simple io error tests for test_async.c. (CVS 3094) file: [326fc8dc] check-in: [528dfb71] user: danielk1977 branch: trunk, size: 40038
10:48
Changes so that test_async.c works with memory management turned on. (CVS 3093) file: [02531d8b] check-in: [f4150c29] user: danielk1977 branch: trunk, size: 38699
2006-02-13
18:35
Fix a bug in the handling of sqlite3OsTruncate by the test_async.c demo. Added trans.test to the suite of tests for asychronous I/O. (CVS 3091) file: [2e763227] check-in: [5b16c435] user: drh branch: trunk, size: 38383
17:03
Add in-process file locking to test_async.c. The unix implementation of sqlite3OsFullPathname() now attempts to remove /./ and /../ elements from the path. (CVS 3090) file: [2f43ce52] check-in: [42379c62] user: drh branch: trunk, size: 37826
15:29
Fix a deadlock problem on the sqlite3async_wait test interface. Improvements to tracing in test_async.c. (CVS 3089) file: [b721c7cf] check-in: [58c6d501] user: drh branch: trunk, size: 36020
14:49
Improvements to the TRACE macro in test_async.c. (CVS 3088) file: [54636b98] check-in: [4c6dfec5] user: drh branch: trunk, size: 35515
13:50
I/O errors shut down all processing on the same file in test_async.c. (CVS 3087) file: [37888351] check-in: [4366e712] user: drh branch: trunk, size: 35367
13:30
Fix overlapping read logic in the test_async.c demonstration. (CVS 3086) file: [818c3460] check-in: [ad25127b] user: drh branch: trunk, size: 34397
13:23
Fix a memory leak in test_async.c. (CVS 3085) file: [2d11e331] check-in: [904ffa4d] user: drh branch: trunk, size: 34409
2006-01-10
20:01
Improved comments on the server and asynchronous I/O demo programs. (CVS 2909) file: [6776f502] check-in: [c0f47ccb] user: drh branch: trunk, size: 34387
2006-01-09
17:29
Reinstate the asynchronous I/O demonstration code and tests with minor changes. (CVS 2896) file: [9733deb7] check-in: [eeebc640] user: drh branch: trunk, size: 30296 Added
2006-01-06
03:29
Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866) file: [7b27d91e] check-in: [b8332aa8] user: drh branch: trunk, size: 27361
2006-01-03
13:39
Add test files for the asynchronous IO concept. (CVS 2853) file: [a383aed2] check-in: [7c3492c8] user: danielk1977 branch: trunk, size: 27676 Added