aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Comment out the SQLITE_FCNTL_SIZE_HINT from os_unix.c since it does not drh2010-05-21
| | | | | seem to provide any performance gain there. FossilOrigin-Name: 7d01309da658d6b658c1b2e53bbdc5112fb0a4d9
* Correct an off-by-one bug in the previous commit.dan2010-05-21
| | | FossilOrigin-Name: 75a1130d86faf18e73cb46cda5d029f1e913e4e6
* Remove entries from wal-index hash tables when a rollback or savepoint ↵dan2010-05-21
| | | | | rollback occurs. FossilOrigin-Name: 36795c2b23a78978528cace193e386138adacd41
* Fix the wal-index header read routine so that it correctly detects a zerodrh2010-05-21
| | | | | header as being malformed and in need of a wal-index rebuild. FossilOrigin-Name: 1a4eb3a3efe86c7caff4d9a5894953bce378f841
* Add a new xShmBarrier method to the VFS - a shared-memory fence operation.drh2010-05-20
| | | | | | Implement the same in both unix and win32. Use it to make the WAL subsystem more robust. FossilOrigin-Name: 1bd011c9fed5ef29fb616b4d0a52df3b82221b1f
* Make use of the extra information in the WAL header and frame header todrh2010-05-20
| | | | | enhance robustness. FossilOrigin-Name: 9580ecb7e3beb1949a71784a3dcd1823a88e4a9d
* Convert the wal-header and frame-header to 24 bytes. Extra information indrh2010-05-20
| | | | | | | both headers is designed to enhance robustness after crashes, though the extra information is currently unused. This is a snapshot of a work in progress. FossilOrigin-Name: 669706431f186f92fdc0856a6206419a1e843f46
* Merge WIN32 WAL support into trunk. Still some issues with locking to resolve.shaneh2010-05-19
|\ | | | | FossilOrigin-Name: 43377663fc3569c361867cdea19e8abaf91a163f
| * Pull in all the latest changes from the trunk.drh2010-05-14
| |\ | | | | | | | | | | | | Update the win32 SHM methods to work with the new interface design. FossilOrigin-Name: 4b69f2cd315b6b66d10e5190d235114788853258
| * | Updates to WAL support in os_win.c: pulled in latest changes from ↵shaneh2010-05-12
| | | | | | | | | | | | | | | src/os_unix.c; updated tracing; misc. improvements. FossilOrigin-Name: 76504726a1ef7f6a0445ec800776462138b22d72
| * | Initial port of WAL VFS support from os_unix.c to os_win.c.shaneh2010-05-11
| | | | | | | | | FossilOrigin-Name: 111ad59f21d53d1ec63c084ca5f98f2aaf7cd070
* | | Add the SQLITE_FCNTL_SIZE_HINT to the os_win.c VFS.drh2010-05-19
| | | | | | | | | FossilOrigin-Name: 9894118d20c08951565c2096552d4a3d2413f7b0
* | | Add the SQLITE_FCNTL_SIZE_HINT operator to sqlite3_file_control() and use itdrh2010-05-19
| | | | | | | | | | | | | | | | | | to give the VFS hints about the ultimate size of a database file when the file is growing. FossilOrigin-Name: 2b7e3b4a30d6a7c4a8a4b8e7dd2ed728b565c96d
* | | Fix a bug in the new checkpoint computation. Also update the checkpointdrh2010-05-19
| | | | | | | | | | | | | | | algorithm in the test scripts to align with the new implementation. FossilOrigin-Name: 8b6056f2ee596f31b157a792fac05d11f7cb63bb
* | | Revise the checksumming algorithm in wal.c. More variable refactoring.drh2010-05-19
| | | | | | | | | FossilOrigin-Name: 542b90eba6440a0bccef329788fd17a2d3fbeee6
* | | Refactoring some variable names in wal.c.drh2010-05-19
| | | | | | | | | FossilOrigin-Name: 1d201ff51f7c5ecdf71a91ed25204b7130894282
* | | Add a large comment to wal.c describing the WAL and wal-index file formats.drh2010-05-19
| | | | | | | | | FossilOrigin-Name: a71a22b52f4570e934063553a81b39268127dc44
* | | Update the wal-index hash format so that hash-table space is reused followingdrh2010-05-18
| | | | | | | | | | | | | | | | | | a rollback, thus preventing hash table overflows. Add assert()s to verify that hash tables do not overfill. Further refactoring of the wal-index code. FossilOrigin-Name: ada9a8c7b69c5dd2d66bbf62b61181651e6d2142
* | | Refactoring of the WalIterator implementation.drh2010-05-18
| | | | | | | | | FossilOrigin-Name: b5b60fdcc5dcf41f2c79912075ac241f7ce220d6
* | | Mark the shared-memory in the WAL implementation as volatile.drh2010-05-18
| | | | | | | | | FossilOrigin-Name: 0a6787908e989bd5e6af25acbdc59ebc8fa61d6d
* | | Comment clarifications in wal.c.drh2010-05-18
| | | | | | | | | FossilOrigin-Name: a029be10172e2e6a2ef4e3eb2ea1bd0ca85b16ed
* | | Remove an unreachable test from wal.c.drh2010-05-17
| | | | | | | | | FossilOrigin-Name: 7162c45673d1068d1fda55a70207a3cd77575502
* | | Add a note to the documentation of sqlite3_wal_hook() to say not to return ↵dan2010-05-15
| | | | | | | | | | | | | | | SQLITE_ROW or SQLITE_DONE. Or any other value that is not a valid SQLite error code. FossilOrigin-Name: 2f0b6cbf7b4fa31242ff4f6163226c22ae4f8c9b
* | | Silently ignore errors trying to set the default journal_mode while doingdrh2010-05-15
| | | | | | | | | | | | | | | an ATTACH. FossilOrigin-Name: b9af4ad2efadfb2fb9e338dc081a6231f1536700
* | | Fix a typo that (by bad luck) was not a syntax error but which caused some drh2010-05-14
| | | | | | | | | | | | | | | important lines of code to be skipped when SQLITE_DEBUG was not used. FossilOrigin-Name: 9ef99d97d25aae81df971d40ad10c544b8f30053
* | | Make sure the value of an INTEGER PRIMARY KEY column supplied to triggersdrh2010-05-14
| |/ |/| | | | | | | | | and especially to FK constraints really contains the ROWID and not the NULL that is stored in the column itself. Ticket [dd08e5a988d00dec]. FossilOrigin-Name: 636f86095eb1f4bdcfb0c9ed846c4c6b3589c10b
* | Simplifications to the SHM implementation in os_unix.c, taking advantagedrh2010-05-14
| | | | | | | | | | of the removal of the LinuxThreads mess. FossilOrigin-Name: d1debe5def82a6bc72f11b8787176ac60259630f
* | Simplify os_unix.c by removing support for LinuxThreads. Linux systems mustdrh2010-05-14
| | | | | | | | | | either use NPTL or else not share database connections across threads. FossilOrigin-Name: e294b696ba91512b1ca5547774c51ea07b4cb5bc
* | Change the OSTRACEn() macro to OSTRACE(()). Also rename some internal fieldsdrh2010-05-14
| | | | | | | | | | and variables in os_unix.c to be more meaningful and searchable. FossilOrigin-Name: 5fe529f239cddbf4b7ea57abb02d95cc0d94f5f5
* | Fix test_osinst.c so that it does not depend on gettimeofday() unless ↵dan2010-05-14
| | | | | | | | | | SQLITE_OS_UNIX is defined and NO_GETTOD is not defined. FossilOrigin-Name: 2a4014b79b852d8b62b4941495b826f154308d86
* | Add xShmXXX methods to test_osinst.c.dan2010-05-14
| | | | | | FossilOrigin-Name: b8a9b37a3c8d1005a16185c1fc4c414ca11d736a
* | Make debugging elements of the sqlite3_mutex object volatile and make themdrh2010-05-13
| | | | | | | | | | only appear when compiling with SQLITE_DEBUG. Ticket [51914f6acd2cb462]. FossilOrigin-Name: e823c60ca4c3d515b8b12dada4631fe8f44975e9
* | Allow sqlite3WalCheckpoint() to be called even if the WAL is in thedrh2010-05-13
| | | | | | | | | | SQLITE_SHM_READ state, as sometimes happens after an error. FossilOrigin-Name: 175b296f9b9680f605537f52a8a53944deaa5391
* | Remerge mistaken test_osinst.c changes.dan2010-05-13
|\ \ | | | | | | FossilOrigin-Name: e8c10d3cf601cc81a620f6c0ba5f195945a3f725
| * | Fix mistake in test_osinst.c.dan2010-05-13
| | | | | | | | | FossilOrigin-Name: 4c3e137803f86ec5a6c68bfaa29a2847ba48fd65
| * | Change the vfs instrumentation code in test_osinst.c to make it easier to ↵dan2010-05-12
| | | | | | | | | | | | | | | deploy. Add a vtab implementation for reading the binary log file format. FossilOrigin-Name: ee13c8849d234931bb3be36e42383d228b3cbfcb
* | | Make sure xShmGet is never called while already holding the shared-memorydrh2010-05-13
| | | | | | | | | | | | | | | segment. FossilOrigin-Name: 92ebdbc5f64ac63796ff56c1e1aec3b95c6bdd20
* | | Change the xShmSize() implementation in os_unix.c so that it will onlydrh2010-05-13
| | | | | | | | | | | | | | | increase and never decrease the size of a shared-memory segment. FossilOrigin-Name: 149d2ae4a6fe2f86822f286d2a7092c51bec7ebb
* | | Fix for a segfault that can follow a malloc failure.dan2010-05-13
| | | | | | | | | FossilOrigin-Name: 3cab9022457ce50f82c5822d8ba6c04a3a85cb6a
* | | Modify the VFS in test_vfs.c to match the refactoring of the xShmXXX methods.dan2010-05-13
| | | | | | | | | FossilOrigin-Name: 25e72f81561575051c63e9bf5d2c8e76f9fcf5c6
* | | Fix for the test_devsym.c test module for the VFS-SHM refactoring.drh2010-05-12
| | | | | | | | | FossilOrigin-Name: 49d62933759d4e160ee3a4dd2aa316a2f5bbb4e6
* | | A couple simple fixes to get wal.test mostly working.drh2010-05-12
| | | | | | | | | FossilOrigin-Name: c74458127468f30b16715594c8d68e9d3c05d292
* | | Refactoring the VFS-SHM methods used by WAL. This version compiles anddrh2010-05-12
|/ / | | | | | | | | runs non-WAL test cases but crashes and burns on wal.test. FossilOrigin-Name: 2b00152c1ac0b3735aa6cfab61259ff04d81c701
* | Remove the OP_Variable optimization of check-in [48b77b04935d894] since itdrh2010-05-12
| | | | | | | | | | can lead to malfunctions as described in ticket [26ff0c82d1e90]. FossilOrigin-Name: 7838163d087780a6fb403a17641b96f71baec088
* | Remove a branch made redundant by the earlier exclusive-mode changes.dan2010-05-12
| | | | | | FossilOrigin-Name: c501b2ede6aad123bef0aa7ce8b356a134eb6d26
* | Have os_unix.c use the suffix "-wal-index" for wal-index files instead of ↵dan2010-05-11
| | | | | | | | | | "-wal-inde". FossilOrigin-Name: 885e854e7cdc79ecc9d5772d563ddc0f61753ab6
* | When an attempt to change journal_mode fails due to locks, be sure todrh2010-05-11
| | | | | | | | | | leave internal structures in a consistent state. FossilOrigin-Name: cf3d1e0b8a739302cf2848ac3e6eaaae04e6a44c
* | Changes so that WAL and exclusive-locking mode work together.dan2010-05-11
|/ | | FossilOrigin-Name: 71e7b1cf9f4cd02a2a9bc8a3e58acd7a7e3c7e60
* Fix an off-by-one error while constructing the name of the mmap file fordrh2010-05-10
| | | | | the wal-index under os_unix.c. FossilOrigin-Name: 6e3735f72cb7d2f4d16c8f9bc59ff159c75243e5
* Merge [96d6eaf4d2] and [40b0a6357b].dan2010-05-10
|\ | | | | FossilOrigin-Name: c67756c404669141fa06a1ce3f1efadefa277bc6