aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available.drh2010-05-03
| | | | | Provide an implementation of xCurrentTimeInt64 for os_unix.c. FossilOrigin-Name: ab77b3ae6da3370d8bc3b2c9c0edc723b69f5a95
* If the sqlite3_wal_checkpoint() API is passed a NULL pointer in place of a ↵dan2010-05-03
| | | | | database name, attempt to checkpoint all attached databases. FossilOrigin-Name: 27a5c09ce8a35039d844d08cfe5698e8b438abfe
* Make sure the mutex is held while calling sqlite3ApiExit() in drh2010-05-03
| | | | | sqlite3_wal_checkpoint(). Other cleanup of WAL logic. FossilOrigin-Name: 11a85b821abff1ecb7ec8c37bc7783be9fc4ea6d
* Have sqlite3_wal_checkpoint() populate the database handle error message and ↵dan2010-05-03
| | | | | error code (as returned by sqlite3_errmsg() and sqlite3_errcode()). FossilOrigin-Name: ff234cf574c7ae384ab1ebc79b2171ef0541bc91
* Add the "PRAGMA wal_autocheckpoint" command. Rename "PRAGMA checkpoint" to ↵dan2010-05-03
| | | | | "PRAGMA wal_checkpoint". FossilOrigin-Name: 714e5947264571386f966aa8fcdd5607b5832238
* Merge two wal leaves.dan2010-05-03
|\ | | | | FossilOrigin-Name: 23c0e6c3f333e878fe5a2ae5d61df0d765f437b4
| * Change the SHM interface so that it does not take the name of the shareddrh2010-05-01
| | | | | | | | | | | | | | object but rather the name of the WAL file and derives its own name from that. Remove the xShmDelete method from the VFS and replace it with a delete flag on xShmClose. FossilOrigin-Name: 94dea5f9c11a68564220cec76ac3fae2ba90e907
| * Remove the xShmPush and xShmPull methods from the VFS.drh2010-05-01
| | | | | | FossilOrigin-Name: 69e07fdbde5054593de948b76dfac157cf5d4058
* | Add the sqlite3_wal_checkpoint() and sqlite3_wal_autocheckpoint() APIs.dan2010-05-03
|/ | | FossilOrigin-Name: 9803196dec85e3aa4105cc477e9cfe98d370e486
* Define an invariant to guarantee deadlock-free operation of SHM in os_unix.cdrh2010-05-01
| | | | | and check that invariant with assert() statements. FossilOrigin-Name: 6af2dca75b8139134ea394c1d71aefc6523f02e9
* Rework mutexes on the SHM implemention for os_unix to avoid a deadlock duringdrh2010-05-01
| | | | | WAL recovery. FossilOrigin-Name: 1a0f69bef2c489e81a3d4b910b426972e9ed4054
* Support compile-time option SQLITE_OMIT_WAL, for building without WAL support.dan2010-05-01
| | | FossilOrigin-Name: 9b230c43dfa112e3e1589f9775926807bd36b36e
* Fix the sqlite3_mutex_alloc() interface to return NULL (not segfault) whendrh2010-05-01
| | | | | | operating in threadsafe mode. (This is a general-purpose bug fix which really ought to be ported to trunk.) FossilOrigin-Name: 64840a3caf569959c9d5e63bdbc0cf675fda3882
* Do not allow journal_mode=WAL if the underlying VFS does not support xShmOpen.drh2010-05-01
| | | FossilOrigin-Name: d1fcccecdc8e9ac5d0d022914e51c545f4e1b04f
* Merge in changes from the trunk.drh2010-04-30
|\ | | | | FossilOrigin-Name: 76bf0eee1fd4003a3f1c39922f8f059611d41dd0
| * Avoid assertion faults in queries using indices with redundant columns.drh2010-04-30
| | | | | | | | | | Ticket [3dbdcdb14e7f41]. FossilOrigin-Name: 946e06cd2a2cc209b0786b7e9d28c0746320d646
* | Change the SHM VFS logic in os_unix.c so that it does not hold an exclusivedrh2010-04-30
| | | | | | | | | | | | lock n the mapped memory when also holding a CHECKPOINT lock. This improves concurrency between readers and checkpointers. FossilOrigin-Name: 8660cda6f8ef43bd276897ef3b5fc2376b5684dc
* | Remove some obsolete debugging parameters.drh2010-04-30
| | | | | | FossilOrigin-Name: a012aed498bf41a5f6f3006182b0c4c2ab0fe1bb
* | Fix a problem with resizing the wal-index mapping after the mapping has been ↵dan2010-04-30
| | | | | | | | | | extended by an external process. FossilOrigin-Name: 79d356fea6008a8adf8ebd4906571375f3cf5213
* | Fix a problem with calculating the required size of the wal-index when ↵dan2010-04-30
| | | | | | | | | | appending frames. FossilOrigin-Name: 9526b11130f3ed2f5227386a26263c767214603a
* | In the debugging output for SHM-LOCK in os_unix.c, use symbolic namesdrh2010-04-30
| | | | | | | | | | for the lock states rather than raw numbers. FossilOrigin-Name: 2afc33de2b2012d034fb0d2057a5a45e304516ca
* | Fix a problem in the previous commit. Both unixShm.lockState and ↵dan2010-04-30
| | | | | | | | | | unixShm.readLock should be set to READ when downgrading from a WRITE to a READ lock FossilOrigin-Name: 90119fecbce06c8db82194dfd9d5045be29b1cda
* | Fix a bug whereby upgrading from a READ_FULL to a WRITE lock, and then back ↵dan2010-04-30
| | | | | | | | | | to a read lock was dropping all WAL locks. FossilOrigin-Name: 55f5af5e174df7a28deeb36faa51138926669897
* | Reapply commits [837d82a929] and [c05e7dca17] that were accidentally ↵dan2010-04-30
| | | | | | | | | | overwritten. FossilOrigin-Name: 598de52700ba13e3228289220a74fc62073c62d4
* | Add xShmXXX() methods to the test VFS in test_devsym.test.dan2010-04-30
| | | | | | FossilOrigin-Name: 1d20342424b452ea96aaf161de1f98f26a9155a0
* | Correctly record the fact that the SHM lock reached PENDING if it did sodrh2010-04-30
| | | | | | | | | | but failed to reach CHECKPOINT. FossilOrigin-Name: d9250e84ac1fc6590f8670e1d801630650c7846a
* | Fix a couple uninitialized variables in the xShmLock method of the unix VFS.drh2010-04-30
| | | | | | | | | | Improved debugging logic for xShmLock. FossilOrigin-Name: 69567c5fca9e30b7660e6f56350be929c3890d7e
* | When closing a WAL connection, attempt an exclusive lock on the database ↵dan2010-04-30
| | | | | | | | | | file. If the lock is obtained, checkpoint the database and delete the wal and wal-index files. FossilOrigin-Name: c05e7dca172719f33e245c08d0c0e8ab47e5a537
* | If a reader attempts to upgrade to a writer, but is not reading the most ↵dan2010-04-30
| | | | | | | | | | recent database snapshot, return SQLITE_BUSY. FossilOrigin-Name: 837d82a92977cbfa0963411daf8160d286a7ed32
* | Separate the concepts of underlying storage size and mapped size in thedrh2010-04-30
| | | | | | | | | | VFS shared-memory implementation. FossilOrigin-Name: 4cbe49f13fed288f94ff305bcfd99df907bf7baf
* | Add a missing walIndexUnmap() call to the checkpoint code. Change a couple ↵dan2010-04-30
| | | | | | | | | | of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT. FossilOrigin-Name: 1f9e8c5c27ae2c68bc01d8e2bb2c662be7b3f161
* | Fix an assert() in sqlite3WalRead().dan2010-04-30
| | | | | | FossilOrigin-Name: 2e7a0050e192dd197d4db92393ab120897c14836
* | Add missing mutexes to unixShmClose().dan2010-04-30
| | | | | | FossilOrigin-Name: a4741cb54dd5e753d48fd05ac9dbe27ee4aa1ec0
* | Fix a couple of assert() statements in os_unix.c and wal.c. Combine ↵dan2010-04-30
| | | | | | | | | | sqlite3WalIsDirty() with sqlite3WalUndo(). FossilOrigin-Name: a8f958be804ee05c4137b3cd110db344713af5f2
* | Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen().dan2010-04-30
| | | | | | FossilOrigin-Name: 72b95fde15dae56390dc8d4168fb2757447e289e
* | Merge latest bugfix into wal branch.dan2010-04-30
|\| | | | | FossilOrigin-Name: 265e66e6984c32999bf93981e3b1d19887dfe599
| * Zero the "immediate FK constraint counter" associated with a statement ↵dan2010-04-29
| | | | | | | | | | object when sqlite3_reset() is called. Fix for [c39ff61c43]. FossilOrigin-Name: f660be615a0c1f4641782a83744533f5d3119218
* | The first 6 WAL tests now work. It's a start.drh2010-04-30
| | | | | | FossilOrigin-Name: a92c1851da10acf51e7f6f086b8a23bd731940b3
* | Refactor wal.c to use the VFS. This check-in compiles and links and worksdrh2010-04-29
| | | | | | | | | | ok as long as you leave WAL turned off, but WAL does not work. FossilOrigin-Name: 62db5fa3b61be885b2d94e9b9ce3877b2c588350
* | Untested implementation of the shared-memory dead-man-switch.drh2010-04-29
| | | | | | FossilOrigin-Name: 706611283ea2575c2942543391026b36061cfc1c
* | Progress towards a VFS that will support WAL. Locking code is in placedrh2010-04-29
| | | | | | | | | | but is untested. Still no support for the DMS. FossilOrigin-Name: 1bde41cf081570ad257f927b641e752dff4ed014
* | Fix a but in the WAL checkpoint code causing SQLite to use an inconsistent ↵dan2010-04-29
| | | | | | | | | | cache in a subsequent transaction. FossilOrigin-Name: d1cadeed4eea20d8892726cc8c69f4f3f57d0cd4
* | Merge two "wal"dan2010-04-28
|\ \ | | | | | | | | | | | | leaves. FossilOrigin-Name: 13d2d5a66e9eaa81aa6314354201ee1fbd2b3824
| * | Changes to the interface design for the xShmLock method of the VFS.drh2010-04-28
| | | | | | | | | FossilOrigin-Name: 348409de26eafe12f5cb1236e8e167a4183d4051
| * | Rename the sqlite3_log_hook() to sqlite3_wal_hook(). Added comments todrh2010-04-28
| | | | | | | | | | | | | | | wal.h. FossilOrigin-Name: bbc385111b19071e20fe963fab814262c815b3e9
* | | Change walthread.test so that tests can be run with either multiple threads ↵dan2010-04-28
|/ / | | | | | | | | or multiple processes. FossilOrigin-Name: 25f85f68723e56c18e44b094d85f67b99912dc86
* | Merge two "wal" leaves.dan2010-04-27
|\ \ | | | | | | FossilOrigin-Name: 8c2d43babd61fe2225d5c402174253f412604092
| * | Add the xShmRelease() method to the VFS. The os_unix.c implementation ofdrh2010-04-27
| | | | | | | | | | | | | | | the shared memory logic is still non-functional. FossilOrigin-Name: ed715b47c5f7657fbf901805981867898054b14d
* | | Fix a problem with identifying a corrupt database in WAL mode.dan2010-04-27
|/ / | | | | FossilOrigin-Name: c8658da44671e9c43c90ee4857bbe82c55d40f25
* | Fix a problem that occurs when one process causes the log-summary file to ↵dan2010-04-27
| | | | | | | | | | grow and then a second process attempts to read the database. FossilOrigin-Name: b51a5f8bc660616aa264025dd7ad4bdab458814b