drh
9e2d64b8d3
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)
FossilOrigin-Name: 5622a1e285fc4d5720f7180a0eb551952f2df331
2008-09-26 20:02:50 +00:00
danielk1977
3d354708a7
Minor comment change to test_async.c. No code changes. (CVS 5702)
...
FossilOrigin-Name: b134106000e2e694cf5e1e5ae2f5b1e2956ee74a
2008-09-15 15:49:34 +00:00
danielk1977
92c4b8a2ca
Modify test_async.c to avoid using internal SQLite APIs. There are still some comments that need updating. (CVS 5698)
...
FossilOrigin-Name: 1d4fcaafd058bf1b726378e9ec308ecd8130fe1b
2008-09-15 14:08:04 +00:00
danielk1977
29bafeabcd
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)
...
FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
2008-06-26 10:41:19 +00:00
danielk1977
17b90b5316
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)
...
FossilOrigin-Name: 5173b3e816c7eb711cd21a9068bbafb9ebb7cff1
2008-06-06 11:11:25 +00:00
danielk1977
861f74563d
Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188)
...
FossilOrigin-Name: 4226ac54beea1b58de8ab7b9d768d999f50438a6
2008-06-05 11:39:11 +00:00
danielk1977
822a51628f
Add more version tags to files that lack them. Ticket #3120 . (CVS 5137)
...
FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
2008-05-16 04:51:54 +00:00
drh
5ce88abaa3
Fix an alignment problem in test_async.c. (CVS 4840)
...
FossilOrigin-Name: 752d8e21bb250d7df58a3abc945fcd7a3b38ad15
2008-03-07 21:04:02 +00:00
drh
40a7178132
Changes the asynchronous I/O test module so that it can be appended to the
...
end of the amalgamation. (CVS 4533)
FossilOrigin-Name: c1fe27de7b6f0080466cc3f827979db9997e22a4
2007-11-07 01:23:12 +00:00
danielk1977
fa166726a4
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)
...
FossilOrigin-Name: 6340ca5eee3d398a9ef4f37a442efad37c9bf547
2007-11-02 09:07:57 +00:00
danielk1977
5f0f253315
Remove a debugging assert() that went in by accident with the previous commit. (CVS 4517)
...
FossilOrigin-Name: 4ad60bdba0f1aa068dcc42fb58b80d7912e36b1b
2007-10-30 15:38:12 +00:00
danielk1977
5be7d5d139
Fix a race condtion in test_async.c. (CVS 4516)
...
FossilOrigin-Name: 5e3f7c3dec3e8d92b28a74293387b390fe6fc1fa
2007-10-30 15:29:42 +00:00
danielk1977
adfb9b0501
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)
...
FossilOrigin-Name: 8b29f5fbfc723cdf67cf3410cd01f7c17ea39a4b
2007-09-17 07:02:56 +00:00
danielk1977
76ee37f9bb
Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432)
...
FossilOrigin-Name: ad3687b16e9420d8bbaa3a645aaf803813b36061
2007-09-17 06:06:39 +00:00
danielk1977
bd468510ee
Add some extra comments to the header in test_async.c. (CVS 4407)
...
FossilOrigin-Name: 79cf4e886cd5f1cd22574ce13135d4e32c1047b6
2007-09-06 07:47:18 +00:00
danielk1977
7a4252b2bb
Fix error handling (malloc and io errors) in the asynchronous backend. (CVS 4404)
...
FossilOrigin-Name: 80a44382d149b9d53212c15368565ede31aa2dc4
2007-09-05 16:54:41 +00:00
danielk1977
7be2cce333
Test that the asynchronous backend works with components like "." or ".." in the path to the database file. (CVS 4403)
...
FossilOrigin-Name: 0a87a854226ccea920484613dd7f7873e673c96e
2007-09-05 14:32:25 +00:00
danielk1977
b6be675dcb
Fix a problem in the test scripts for the asynchronous backend. (CVS 4400)
...
FossilOrigin-Name: 630fc71f3df5ab6129ddff9d8184893ecc6cf3c5
2007-09-05 11:34:54 +00:00
danielk1977
7eda2cdbae
Add external locking to test_async.c. There are still some tests to come. (CVS 4398)
...
FossilOrigin-Name: 3794dcd31a74e90b181b336bf6a4c917bda526b8
2007-09-04 18:28:43 +00:00
danielk1977
7c836f06d3
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)
...
FossilOrigin-Name: 17ca684c124445f17d1e36c37e169056c5fd4569
2007-09-04 14:31:47 +00:00
drh
386ef28bc2
Remove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377)
...
FossilOrigin-Name: 38dff76ddf0ec7d2cd0d2e1282f9c36558e5661a
2007-09-03 15:26:20 +00:00
drh
33f4e02af6
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some
...
test cases added but more are needed. Ticket #2616 . (CVS 4376)
FossilOrigin-Name: 020a2b10d408f51d4ef3211c5f701f5378fd4625
2007-09-03 15:19:34 +00:00
drh
9e33c2c108
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)
FossilOrigin-Name: 306586c412b87c6d12bac796641517afa3f9eb6a
2007-08-31 18:34:59 +00:00
drh
50d3f9064b
Added the 34to35.html document describing the changes between 3.4.2 and
...
3.5.0. Minor interface cleanups. (CVS 4302)
FossilOrigin-Name: 0791f917bb18d7305b805b9cbcb308bdd7b3a1f5
2007-08-27 21:10:36 +00:00
danielk1977
0e87b70100
Make the test_async backend work again. (CVS 4293)
...
FossilOrigin-Name: 04167483aad42d319393e8caf470d8de11e468d8
2007-08-25 12:29:30 +00:00
drh
29278e3dbb
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
...
FossilOrigin-Name: fbbd5bda544ffec4e1b43407b12e546235dc7873
2007-08-21 10:44:15 +00:00
drh
d677b3d688
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253)
...
FossilOrigin-Name: 1315bd8e125602275fb718780f9b2730bd37f6ab
2007-08-20 22:48:41 +00:00
drh
174357527a
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)
FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
2007-08-16 04:30:38 +00:00
drh
4f0c587819
Modify sources to that they can be combined into a single sqlite3.c source
...
file. Eliminate all type-pruned pointer warnings. (CVS 3722)
FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
2007-03-26 22:05:01 +00:00
danielk1977
73375822d4
Call sqlite3_free() instead of free() to release a buffer allocated by sqlite3_vmprintf() in test_async.c (test suite bug only). (CVS 3708)
...
FossilOrigin-Name: b078f09bffee5863d595d281f2ecd14e1c9ec727
2007-03-22 15:20:00 +00:00
danielk1977
b472117c11
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)
...
FossilOrigin-Name: 5752d84d374205e011d49b0221d6237967fe0743
2007-03-19 05:54:48 +00:00
danielk1977
16825cbebb
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)
...
FossilOrigin-Name: f0c45b7eab219ee812dbd2eb5e1c39fdf52a0ff2
2006-02-14 14:46:41 +00:00
danielk1977
2d9fcaa61c
Account for a malloc failure in the asynchronous writer thread in test_async.c (CVS 3096)
...
FossilOrigin-Name: 2f2a8a69cb380dc30b85a792c369020fec3c79a5
2006-02-14 14:02:08 +00:00
danielk1977
bf623f25cd
Fix bug in test_async.c version of OsFileSize(). (CVS 3095)
...
FossilOrigin-Name: 239e53b4f29b4faf2dbdc2aebd2332ad25b14286
2006-02-14 13:48:33 +00:00
danielk1977
be29bfc0b5
Add simple io error tests for test_async.c. (CVS 3094)
...
FossilOrigin-Name: 528dfb71801bb7b8a66944db6f32cc3dc0054118
2006-02-14 13:25:43 +00:00
danielk1977
750b03e543
Changes so that test_async.c works with memory management turned on. (CVS 3093)
...
FossilOrigin-Name: f4150c29df2774b4422d4296d913cdbcee62c859
2006-02-14 10:48:39 +00:00
drh
97bbdc0aa2
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)
FossilOrigin-Name: 5b16c43542194d6c736bf7aadaaa7f31ff12af31
2006-02-13 18:35:06 +00:00
drh
89ea93121d
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)
FossilOrigin-Name: 42379c623073eb541d053c2dff9f49087fb290f8
2006-02-13 17:03:47 +00:00
drh
99681dbbdb
Fix a deadlock problem on the sqlite3async_wait test interface. Improvements
...
to tracing in test_async.c. (CVS 3089)
FossilOrigin-Name: 58c6d501385c6f7656290e8451e28be3fc45843f
2006-02-13 15:29:32 +00:00
drh
fc8748a772
Improvements to the TRACE macro in test_async.c. (CVS 3088)
...
FossilOrigin-Name: 4c6dfec54fc128644e066c04902433f8df30672e
2006-02-13 14:49:38 +00:00
drh
4b74b26052
I/O errors shut down all processing on the same file in test_async.c. (CVS 3087)
...
FossilOrigin-Name: 4366e7121703a18ebb799dfa4f168b3b2508604e
2006-02-13 13:50:55 +00:00
drh
4452838a65
Fix overlapping read logic in the test_async.c demonstration. (CVS 3086)
...
FossilOrigin-Name: ad25127b067b3135694ddb0de552aad981640669
2006-02-13 13:30:19 +00:00
drh
5c32354cb7
Fix a memory leak in test_async.c. (CVS 3085)
...
FossilOrigin-Name: 904ffa4dfb60e00b01db17049de2f4934537f3d8
2006-02-13 13:23:57 +00:00
drh
fe0f75bb1f
Improved comments on the server and asynchronous I/O demo programs. (CVS 2909)
...
FossilOrigin-Name: c0f47ccbc915f20d56f393383c21b4026785e6a5
2006-01-10 20:01:18 +00:00
drh
2366940d8f
Reinstate the asynchronous I/O demonstration code and tests with minor
...
changes. (CVS 2896)
FossilOrigin-Name: eeebc640aaeeb0ab7f730d854069f159aa41968b
2006-01-09 17:29:52 +00:00
drh
66560adab3
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)
FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6
2006-01-06 14:32:19 +00:00
drh
e19d594067
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)
...
FossilOrigin-Name: b8332aa8b83142898779972b3dff13cbe3c78623
2006-01-06 03:29:56 +00:00
danielk1977
34e8494202
Add test files for the asynchronous IO concept. (CVS 2853)
...
FossilOrigin-Name: 7c3492c8404c39c808af4429b4fcdb7413539ab3
2006-01-03 13:39:25 +00:00