aboutsummaryrefslogtreecommitdiff
path: root/src/test_async.c
Commit message (Collapse)AuthorAge
* Make sure the SQLITE_TCLAPI macro is always defined.mistachkin2016-07-28
| | | FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
* Allow the 'testfixture.exe' target to be compiled with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. FossilOrigin-Name: e8be3dfeabaa31b3490793cf8230faae1204be15
* More refinements to Windows OSTRACE usage. Replace all usage of ↵mistachkin2013-04-29
| | | | | sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. FossilOrigin-Name: 05ba5e23fcc5da416d47a8ad5e667ed6a0c7a34a
* Fix makefiles so that they build sqlite3_analyzer again. Tweaks to commentsdrh2010-07-12
| | | | | in test_stat.c. Fix tclsqlite.c to build the sqlite3_analyzer again. FossilOrigin-Name: e6cd15451d8c47bfc86d07565655920134b494fe
* Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). ↵dan2010-07-05
| | | | | Not doing so causes notifier related errors on OSX. FossilOrigin-Name: 684eae6623ef1d0336b7a734b17ed307c720b6f4
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Do not store the zero string terminator as part of the name when holdingdrh2009-04-28
| | | | | symbols in the symbol table. (CVS 6557) FossilOrigin-Name: 23d67af39227aeade2ea0292e1b8844eea580993
* Tests for the new asynchronous IO API. (CVS 6549)danielk19772009-04-25
| | | FossilOrigin-Name: 11b2564e7159168cd0815bb9bc93688586fad1e0
* Make selecting the asynchronous IO file-locking mode a runtime operation. ↵danielk19772009-04-24
| | | | | Still untested. (CVS 6544) FossilOrigin-Name: 577277e84a05707b8c21aa08bc5fc314c1ac38ac
* Move the asynchronous IO code from src/test_async.c to ext/async/. Refactor ↵danielk19772009-04-23
| | | | | it to be a standalone module and to support windows. (CVS 6539) FossilOrigin-Name: e71fb0fb8d83b4453c3c1e84606bf58d04926809
* Move RowHashBlock.nUsed to RowHash.nUsed. Fix a typo in a comment in ↵danielk19772009-04-21
| | | | | test_async.c. (CVS 6533) FossilOrigin-Name: 799d31d99fd18a6f99862433384e37d6747ee5b3
* Change "... myfunction() { ... }" to "... myfunction(void) { ... }" in a few pladanielk19772009-04-07
| | | | | ces. Ticket #3783. (CVS 6462) FossilOrigin-Name: 6f79e6ae0d30948db4ba26bb5b448c15c470464f
* The test_async.c module must pass an unchanging filename to the underlying ↵drh2009-03-28
| | | | | VFS. (CVS 6400) FossilOrigin-Name: d1eeee21677a3dffdb4ee1182322007bf24ef03a
* Fix thread related problems in test modules test_async.c and test_journal.c. ↵danielk19772009-03-28
| | | | | (CVS 6399) FossilOrigin-Name: 45df27a22d283871ed1de334fe3b74b0121d57a6
* Back out check-in (6380). Replace it with a proper fix to thedrh2009-03-28
| | | | | xFullPathname method in the async VFS. (CVS 6398) FossilOrigin-Name: 767a7f7b55456df404a7f8966a0c48318ddac120
* Fix an incompatibility between the test_async.c backend and change (6390). ↵danielk19772009-03-27
| | | | | (CVS 6391) FossilOrigin-Name: 6762625d29d5e0053afdad033fe54e2d9121046a
* Remove an unused parameter from sqlite3DequoteExpr. Fix another unrelateddrh2009-03-25
| | | | | and harmless compiler warning. (CVS 6386) FossilOrigin-Name: 8589b0fcc51a32188386e442655fd91f421ca7f8
* When a VFS.xOpen fails, make sure the pMethods pointer is zeroed on the drh2009-03-25
| | | | | | | 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) FossilOrigin-Name: c32b454118f4b0cc615edb9b35f749db45f6b36d
* Include sqliteInt.h in test_async.c so that the asynchronous VFS testsdrh2009-03-24
| | | | | will run even if SQLITE_OS_UNIX is not explicitly defined. (CVS 6379) FossilOrigin-Name: 29b0d6a3fe519c71a92e2436d7c5860f3f0178ef
* Corrected typos and misspellings. Ticket #3702. (CVS 6336)shane2009-03-05
| | | FossilOrigin-Name: 6404afa0c515a6536fc2e878d4fb451e4dc06942
* Make sure the queueMutex is held prior to writing the pQueueLast fielddrh2008-09-26
| | | | | of the write queue in the async demonstration code. Ticket #3405. (CVS 5744) FossilOrigin-Name: 5622a1e285fc4d5720f7180a0eb551952f2df331
* Minor comment change to test_async.c. No code changes. (CVS 5702)danielk19772008-09-15
| | | FossilOrigin-Name: b134106000e2e694cf5e1e5ae2f5b1e2956ee74a
* Modify test_async.c to avoid using internal SQLite APIs. There are still ↵danielk19772008-09-15
| | | | | some comments that need updating. (CVS 5698) FossilOrigin-Name: 1d4fcaafd058bf1b726378e9ec308ecd8130fe1b
* Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", ↵danielk19772008-06-26
| | | | | "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) FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
* Remove the xGetTempname() method from the vfs structure. Temp files are now ↵danielk19772008-06-06
| | | | | opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190) FossilOrigin-Name: 5173b3e816c7eb711cd21a9068bbafb9ebb7cff1
* Modify the signatures of the sqlite3_vfs.xAccess and ↵danielk19772008-06-05
| | | | | sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) FossilOrigin-Name: 4226ac54beea1b58de8ab7b9d768d999f50438a6
* Add more version tags to files that lack them. Ticket #3120. (CVS 5137)danielk19772008-05-16
| | | FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
* Fix an alignment problem in test_async.c. (CVS 4840)drh2008-03-07
| | | FossilOrigin-Name: 752d8e21bb250d7df58a3abc945fcd7a3b38ad15
* Changes the asynchronous I/O test module so that it can be appended to thedrh2007-11-07
| | | | | end of the amalgamation. (CVS 4533) FossilOrigin-Name: c1fe27de7b6f0080466cc3f827979db9997e22a4
* Add some assert() statements to the asychronous backend demo to enforce the ↵danielk19772007-11-02
| | | | | strategy used to avoid deadlock. Also a minor change to avoid a potential deadlock. (CVS 4520) FossilOrigin-Name: 6340ca5eee3d398a9ef4f37a442efad37c9bf547
* Remove a debugging assert() that went in by accident with the previous ↵danielk19772007-10-30
| | | | | commit. (CVS 4517) FossilOrigin-Name: 4ad60bdba0f1aa068dcc42fb58b80d7912e36b1b
* Fix a race condtion in test_async.c. (CVS 4516)danielk19772007-10-30
| | | FossilOrigin-Name: 5e3f7c3dec3e8d92b28a74293387b390fe6fc1fa
* Add a parameter to specify the size of the output buffer passed to ↵danielk19772007-09-17
| | | | | xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) FossilOrigin-Name: 8b29f5fbfc723cdf67cf3410cd01f7c17ea39a4b
* Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. ↵danielk19772007-09-17
| | | | | To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) FossilOrigin-Name: ad3687b16e9420d8bbaa3a645aaf803813b36061
* Add some extra comments to the header in test_async.c. (CVS 4407)danielk19772007-09-06
| | | FossilOrigin-Name: 79cf4e886cd5f1cd22574ce13135d4e32c1047b6
* Fix error handling (malloc and io errors) in the asynchronous backend. (CVS ↵danielk19772007-09-05
| | | | | 4404) FossilOrigin-Name: 80a44382d149b9d53212c15368565ede31aa2dc4
* Test that the asynchronous backend works with components like "." or ".." in ↵danielk19772007-09-05
| | | | | the path to the database file. (CVS 4403) FossilOrigin-Name: 0a87a854226ccea920484613dd7f7873e673c96e
* Fix a problem in the test scripts for the asynchronous backend. (CVS 4400)danielk19772007-09-05
| | | FossilOrigin-Name: 630fc71f3df5ab6129ddff9d8184893ecc6cf3c5
* Add external locking to test_async.c. There are still some tests to come. ↵danielk19772007-09-04
| | | | | (CVS 4398) FossilOrigin-Name: 3794dcd31a74e90b181b336bf6a4c917bda526b8
* Add internal locking to the test_async.c backend. So that more than one ↵danielk19772007-09-04
| | | | | connection may be used from within a single process. (CVS 4396) FossilOrigin-Name: 17ca684c124445f17d1e36c37e169056c5fd4569
* Remove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377)drh2007-09-03
| | | FossilOrigin-Name: 38dff76ddf0ec7d2cd0d2e1282f9c36558e5661a
* Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Somedrh2007-09-03
| | | | | test cases added but more are needed. Ticket #2616. (CVS 4376) FossilOrigin-Name: 020a2b10d408f51d4ef3211c5f701f5378fd4625
* Remove the xLockState method for sqlite3_io_methods. Replace it withdrh2007-08-31
| | | | | | a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) FossilOrigin-Name: 306586c412b87c6d12bac796641517afa3f9eb6a
* Added the 34to35.html document describing the changes between 3.4.2 anddrh2007-08-27
| | | | | 3.5.0. Minor interface cleanups. (CVS 4302) FossilOrigin-Name: 0791f917bb18d7305b805b9cbcb308bdd7b3a1f5
* Make the test_async backend work again. (CVS 4293)danielk19772007-08-25
| | | FossilOrigin-Name: 04167483aad42d319393e8caf470d8de11e468d8
* Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)drh2007-08-21
| | | FossilOrigin-Name: fbbd5bda544ffec4e1b43407b12e546235dc7873
* Work toward multithreading support. Currently crashes quickly on a test. ↵drh2007-08-20
| | | | | (CVS 4253) FossilOrigin-Name: 1315bd8e125602275fb718780f9b2730bd37f6ab
* Half-way through a major refactoring of the memory allocation.drh2007-08-16
| | | | | | I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
* Modify sources to that they can be combined into a single sqlite3.c sourcedrh2007-03-26
| | | | | file. Eliminate all type-pruned pointer warnings. (CVS 3722) FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
* Call sqlite3_free() instead of free() to release a buffer allocated by ↵danielk19772007-03-22
| | | | | sqlite3_vmprintf() in test_async.c (test suite bug only). (CVS 3708) FossilOrigin-Name: b078f09bffee5863d595d281f2ecd14e1c9ec727