drh
fb98264aab
Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328)
...
FossilOrigin-Name: e40d40a5d41c491bef852a92e5846b273b206909
2007-08-30 01:19:59 +00:00
drh
107b25f1bd
Fix minor problems on various tests. This is a snapshot prior to possible
...
major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327)
FossilOrigin-Name: 35cb63ecfd9d8ca7304aae1b150ee5d1c3498bde
2007-08-29 19:15:08 +00:00
drh
df12a9bca4
Fix a bug in test_server.c that resulted from the change in semantics
...
of sqlite3_enable_shared_cache(). All quick tests now pass. (CVS 4326)
FossilOrigin-Name: 5201fa4f8310ffc8b6881d96b152581d74e2df6b
2007-08-29 18:20:16 +00:00
drh
d6b9386c50
Disable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is
...
not enabled. (CVS 4325)
FossilOrigin-Name: 4874499377e8f89a25d8cc2cf7982e6811d53f1b
2007-08-29 17:59:42 +00:00
drh
ff0587c632
Improvements to mutex asserts. The quick test runs to completion without
...
assertion faults. (CVS 4324)
FossilOrigin-Name: 2732af0ec77dbc90c0439b6a61d893d9ea3b5697
2007-08-29 17:43:19 +00:00
danielk1977
26783a58e2
Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)
...
FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c
2007-08-29 14:06:22 +00:00
drh
f53e9b5ad5
Be careful to verify the schema cookie when running the xfer optimization
...
on INSERT statements. (CVS 4322)
FossilOrigin-Name: d8ef7024172fffee049cfda6707220af2577e9a1
2007-08-29 13:45:58 +00:00
danielk1977
a1644fd863
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321)
...
FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
2007-08-29 12:31:25 +00:00
drh
1fee73e74a
Better asserts(). But now some of the tests are busted again. (CVS 4320)
...
FossilOrigin-Name: e8060f85e7871572e2a38dc96f03e6e1f34cc8fd
2007-08-29 04:00:57 +00:00
drh
b1ab8ea7f3
More locking fixes. Now makes it all the way through quick.test. There
...
are errors but no assertion faults. Progress. (CVS 4319)
FossilOrigin-Name: 844d40b8379d3374130e2d94f6e32c2cda34e0ca
2007-08-29 00:33:07 +00:00
drh
4cf7c7f7e7
The shared_err test runs with no errors. But a potential deadlock has been
...
discovered and is still unfixed. (CVS 4317)
FossilOrigin-Name: f84550be0a0c9e5859b852863b9a8f8ed3fd6919
2007-08-28 23:28:07 +00:00
drh
d0679edc7a
Clean up the locking in the btree logic. (CVS 4316)
...
FossilOrigin-Name: 967ab229af462a8ae663090ea36b4cc10e351653
2007-08-28 22:24:34 +00:00
drh
ac32155213
Fix locking bug in btshared.c. (CVS 4313)
...
FossilOrigin-Name: af24e7d01a7fab5e33080a0f786e0bc6f610a6f3
2007-08-28 16:44:20 +00:00
drh
437b901371
Break up the mutex implementation into separate source files, one
...
each for unix, w32, and os2. (CVS 4312)
FossilOrigin-Name: fc5cd71aef5ac194f51d73350d773d532020967e
2007-08-28 16:34:42 +00:00
drh
9da9d96242
Updates to the sqlite3_open() documentation. Method the magic
...
:memory: filename. Ticket #2591 . (CVS 4311)
FossilOrigin-Name: 5f55b2fc4ecdfc1bb68f479751b8642926fd8833
2007-08-28 15:47:44 +00:00
drh
b6f5cf331c
Update the sqlite3_vfs_register() documentation to make
...
the behavior undefined for VFSes with a NULL or empty string
as the name or with duplicate names. (CVS 4310)
FossilOrigin-Name: e7a98b48384ea581d98dad5118ee33468d526c62
2007-08-28 15:21:45 +00:00
danielk1977
84f786fcdd
Add some comments and test-cases for the global lru page list (used by sqlite3_release_memory()). (CVS 4308)
...
FossilOrigin-Name: 0b80168895993af5774369f839f284712d006f0a
2007-08-28 08:00:17 +00:00
drh
900b31ef49
Work toward correct btree locking in a multithreaded environment. (CVS 4307)
...
FossilOrigin-Name: b8cc493b47e618648f645ab73eb0253739e03fcd
2007-08-28 02:27:51 +00:00
drh
46c99e0f5d
Work around problem with forward declarations of constants in MSVC
...
in the amalgamation. Ticket #2574 . (CVS 4304)
FossilOrigin-Name: dc80b2e1f4e1d31479aad9f39e651e62f2601fb8
2007-08-27 23:26:59 +00:00
drh
97c8ec325d
Bring the amalgamation builder up to date with the latest changes.
...
Remove some vestigial code. (CVS 4303)
FossilOrigin-Name: 0ae30e5c76d9094307ea086a9993a953631ab9da
2007-08-27 21:49:34 +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
9f61c2f129
Modify sqlite3_release_memory() to use a global LRU list of pages. Untested. (CVS 4301)
...
FossilOrigin-Name: 5626ce0b5e249d48b56fdc4561ef663941eb23dc
2007-08-27 17:27:49 +00:00
drh
4b6b4ab0d2
Create a fresh pthread_mutexattr_t every time a recursive mutex is
...
allocated. Ticket #2588 . (CVS 4300)
FossilOrigin-Name: 3d746343add3feb9d208302a00b419d71d6ba246
2007-08-25 16:31:29 +00:00
drh
8bacf9743f
Documentation and comment updates in sqlite.h.in and mutex.c. (CVS 4299)
...
FossilOrigin-Name: 7289079d6b4a7a160063e34c0f5e43637ef7476f
2007-08-25 16:21:29 +00:00
drh
f77a2ff5dc
Clarification in the documentation of the sqlite3_mutex_held() and
...
sqlite3_mutex_notheld() interfaces. Make it clear that these routines
are only for use inside assert(). (CVS 4298)
FossilOrigin-Name: a6bbf6eaf6ccc471b4efe02cd8a3971112d909ab
2007-08-25 14:49:36 +00:00
drh
058897a92e
Use recursive mutexes in pthreads. If the pthreads implementation does not
...
support recursive mutexes, then you cannot compile SQLite with
SQLITE_THREADSAFE=1. Ticket #2588 . (CVS 4297)
FossilOrigin-Name: 1668284d151e78d16b0d83bf55dfd9d349a452a7
2007-08-25 14:39:45 +00:00
danielk1977
222a757dba
Update the rest of the malloc failure test scripts to use the new interface. (CVS 4296)
...
FossilOrigin-Name: b076e1655d6bae5ae10e6ceee646f502435da66a
2007-08-25 13:37:48 +00:00
danielk1977
cdc3a6bcbc
Fix bugs in the altermalloc.test and incrblob_err.test scripts. (CVS 4295)
...
FossilOrigin-Name: e5ec17071720a973bbd213a8b23038d3aff25315
2007-08-25 13:09:26 +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
dc3060fea3
Bug fix in the implementation of recursive mutexes using non-recursive
...
pthreads mutexes. Ticket #2588 . (CVS 4292)
FossilOrigin-Name: 7d24c3a5a7641df2bbb8c91a0bc5aa75c96a73fe
2007-08-25 03:59:08 +00:00
drh
bff101efd7
New mutex implementation for both Unix and windows. (CVS 4291)
...
FossilOrigin-Name: e144b81f699ca991cc4fa12a487156391db0b367
2007-08-24 20:46:59 +00:00
drh
b11caac316
Rework the win32 OS driver to use malloc()/free() directly rather than
...
going through the SQLite memory allocation layer. With this change, the
complete quick.test script now runs on windows. There are a few errors,
but no segfaults. Progress. (CVS 4289)
FossilOrigin-Name: 75aad316981690d7a93ea6ac1c187f7d98f6d715
2007-08-24 17:52:21 +00:00
drh
ae28c01aa8
Fix bugs in temp database handling introduced by the prevous check-in. (CVS 4288)
...
FossilOrigin-Name: 300038be9368556a29efce7cf3657fabfe54d8f9
2007-08-24 16:29:23 +00:00
drh
1cc8c448b5
Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the
...
sqlite3_vfs_release() interface. Less memory allocated for a pager
in the common case where the size of the pathname is less than MAX_PATH. (CVS 4287)
FossilOrigin-Name: b8451da378179d43f25d9a014480c0f13dd1dc37
2007-08-24 16:08:29 +00:00
danielk1977
9663b8f92d
Select the default page size for new databases based on the sector-size and IOCAP flags. (CVS 4286)
...
FossilOrigin-Name: 13dda2e8e879835c21e539ba3ff8f96face1af4c
2007-08-24 11:52:28 +00:00
drh
f78799e637
Remove unnecessary sqlite3MallocDisallow() that was preventing win32 from
...
running. (CVS 4285)
FossilOrigin-Name: eb6c98fc1097b327453d7e8ec8877101ea8187c3
2007-08-24 11:43:36 +00:00
danielk1977
f55b899824
Add tests to simulate power-failure on devices that support IOCAP_SEQUENTIAL or IOCAP_SAFE_APPEND. (CVS 4284)
...
FossilOrigin-Name: bdf5cb8d25d93d48220ce46acad2ccf967a87843
2007-08-24 08:15:53 +00:00
drh
d5499d648f
Bug fix in the memory leak trace output. (CVS 4283)
...
FossilOrigin-Name: a1b495c28a092c7eb79ffeeb6a217749acb4c12c
2007-08-24 04:15:00 +00:00
drh
153c62c461
The win32 driver compiles but does not yet work well. Many bugs
...
fixed. (CVS 4282)
FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
2007-08-24 03:51:33 +00:00
danielk1977
4cd2cd5c69
Add code to reduce rollback journal i/o based on IOCAP flags. As yet untested. (CVS 4278)
...
FossilOrigin-Name: 595568492e63822caed5b6970542dcee4615dc4d
2007-08-23 14:48:23 +00:00
danielk1977
863c0f9b87
Ensure temporary files are deleted when they are closed. (CVS 4277)
...
FossilOrigin-Name: cf4e3c158aa71afc91f263a314c2e750d191fb41
2007-08-23 11:47:59 +00:00
danielk1977
f8940aefb6
Add some further tests and a bugfix for the atomic-write optimization. (CVS 4276)
...
FossilOrigin-Name: 5f0fb894f44069c4aa9b8dba62b4d8a262c991de
2007-08-23 11:07:10 +00:00
danielk1977
2ca0f86354
Add some tests for the atomic-write optimization. (CVS 4275)
...
FossilOrigin-Name: e2cc7b4a3476a733b2701546f6b4ec9abc18152b
2007-08-23 08:06:44 +00:00
drh
4a50aac564
Improvements to memory leak detection. The --backtrace=NNN option is now
...
recognized by tester.tcl. Memory leak summaries are automatically written
to the file ./memleak.txt and each leak is tagged with the test in which
it occurred. The quick.test script runs on Linux with no errors and
no leaks. (CVS 4273)
FossilOrigin-Name: 21f6b31097692171c6493e6ca6de6acbd62dc595
2007-08-23 02:47:53 +00:00
drh
ed138fb3bc
All of the malloc test cases run. Still seeing failures in malloc4.test. (CVS 4272)
...
FossilOrigin-Name: 205d0b881d541db65837ce6cf44d58d607635bc2
2007-08-22 22:04:37 +00:00
drh
f3a65f7e44
The malloc.test script now passes all tests with no errors. (CVS 4271)
...
FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
2007-08-22 20:18:21 +00:00
danielk1977
dd97a49c1a
Fix a bug in the logic for journaling pages when the device sector-size is greater than the page size. (CVS 4270)
...
FossilOrigin-Name: b6399dff1370449912391cc5925bdc468b5dade0
2007-08-22 18:54:32 +00:00
drh
cab5ed7a57
Get the quick.test script running with SQLITE_THREADSAFE enabled. (CVS 4269)
...
FossilOrigin-Name: 1f28b7e47bba221c14a10a37e7425c9975bb2312
2007-08-22 11:41:18 +00:00
danielk1977
c7b6017c8a
Add code for the atomic-write optimisation. Disabled by default. (CVS 4268)
...
FossilOrigin-Name: 581fadfe31757e3fb97b12f93c1e3c085e4b6009
2007-08-22 11:22:03 +00:00
drh
27641703cc
A complete run of quick.test with mutex debugging enabled. (CVS 4266)
...
FossilOrigin-Name: 783e07d561d1f5509de9475f3b9f38315f247002
2007-08-22 02:56:42 +00:00