danielk1977
f3c626594e
Fix a bug in a test file causing malloc5.test to crash. (CVS 4331)
...
FossilOrigin-Name: ab09967bd2dd291030850d44c0862fbb7d0d8118
2007-08-30 08:27:39 +00:00
danielk1977
65839c6afd
Add tests for malloc() failure when the atomic-write optimization is being used. Also fix things so that rollback can occur without a malloc(), even if there is a master journal file. (CVS 4330)
...
FossilOrigin-Name: 481fd3a89e50e329596d96565170e3d9977aae29
2007-08-30 08:08:17 +00:00
drh
c1a7f94098
Test case fixes for fulltest. (CVS 4329)
...
FossilOrigin-Name: cddce4950569ac49c1a5224b200b00dcd83a2ba4
2007-08-30 02:26:53 +00:00
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
dfbf178469
The shared_err test runs with no errors. But a potential deadlock has been
...
discovered and is still unfixed. (CVS 4318)
FossilOrigin-Name: f093a0d7b29a819605e0527bf23a047e16c32688
2007-08-28 23:28: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
shess
27a770e044
Fix memory leak of InteriorReader.term. Comes up when doing queries
...
against large segments. (CVS 4315)
FossilOrigin-Name: 6c617bd89fc57881a2a308a6360e8ebb42835d46
2007-08-28 20:36:53 +00:00
pweilbacher
6e180029b3
remove unused os_os2.h (CVS 4314)
...
FossilOrigin-Name: dd43a2de3ed1659d70361370d07a184dd8ece45f
2007-08-28 19:21:21 +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
6e513c16dc
Use "affected" instead of "effected". Ticket #2589 . No code changes. (CVS 4309)
...
FossilOrigin-Name: 4c5631ce347a25dd6df90e7e4395a55cd750c1c9
2007-08-28 08:19:49 +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
da57895fec
Disable tests that debug on SQLITE_MEMDEBUG when that macro is not defined. (CVS 4306)
...
FossilOrigin-Name: 741d6fb096dcb232871d3a8468c386022afcf554
2007-08-27 23:48:23 +00:00
drh
4bfc8a97f9
Fix the autoconf makefile with all the latest changes. (CVS 4305)
...
FossilOrigin-Name: bc6d73d015327a9cf6b687aaf4b3f0d07e0fd484
2007-08-27 23:38:43 +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
df7ca22abb
Update the async2.test test script to use the new malloc() failure simulation interface. (CVS 4294)
...
FossilOrigin-Name: 686fcfeda407c29cdb51fe814da616f1ccac5414
2007-08-25 12:39:28 +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
rse
e806566248
fix cleanup by removing sqlite3.pc (generated by 'configure') on 'make distclean', too (CVS 4290)
...
FossilOrigin-Name: 3c908648353a575c3ff57be5dd9454a946d23b9f
2007-08-24 18:32:58 +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