aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE.drh2011-12-23
| | | | | The query parameter used to control this device characteristic is now "psow". FossilOrigin-Name: 6191c5e45175f5c6040e891843b0725a929d6dd7
* Merge the latest trunk changes into the statvfs branch.drh2011-12-23
|\ | | | | FossilOrigin-Name: d5e36327c12f264429eb079bddbb71a310f76389
| * Add interfaces sqlite3_uri_boolean() and sqlite3_uri_int64() which aredrh2011-12-23
| | | | | | | | | | | | wrappers around sqlite3_uri_parameter() combined with internal routines for converting strings to booleans and 64-bit integers. FossilOrigin-Name: 83d26b9a9115eadac9e59a33d608bca0ab2519e3
| * Check the return code from sqlite3_initialize() called from withindrh2011-12-22
| | | | | | | | | | | | sqlite3_soft_heap_limit64() and return an error from sqlite3_soft_heap_limit64() if sqlite3_initialize() fails. FossilOrigin-Name: 676acce274fec692a1eb34d27ee4b1327b4b3334
* | Merge recent trunk changes into the statvfs branch.drh2011-12-22
|\| | | | | FossilOrigin-Name: 995ec8a41a7d091d9d87cb8f18f62102c8fda7d7
| * Fix other problems where 32-bit integer overflow may cause a problem. Two ↵dan2011-12-21
| | | | | | | | | | that require an improbably large sub-journal and two in test harness code. FossilOrigin-Name: c723e3e18a008922281d8d6e8e3aba07941eb173
| * Avoid 32-bit overflow when calculating the byte offset of an overflow page ↵dan2011-12-21
| | | | | | | | | | in SQLITE_DIRECT_OVERFLOW_READ code. Fix for [ac0ff496b7]. FossilOrigin-Name: c5256b59ad70104c1e181b9f49d1d712cf4cc9f6
| * Assert that the isCommit parameter to sqlite3WalFrames() is zero if anddrh2011-12-20
| | | | | | | | | | only if the nTruncate parameter is zero. FossilOrigin-Name: 979daf92e09305665d943e197b93b81139197c5b
* | Remove a redundant assignment operator.drh2011-12-22
| | | | | | FossilOrigin-Name: 19a6852a1e5905b35bc69b309951c5ec8ecd0bef
* | Add the ability to enable or disable SQLITE_IOCAP_ZERO_DAMAGE using a URIdrh2011-12-21
| | | | | | | | | | | | | | | | parameter for both unix and windows. Add a file-control to query or disable the ZERO_DAMAGE setting. Add the -uri option to the "sqlite3" TCL command in tclsqlite3.c. Allow the sqlite3_uri_parameter() interface to accept a NULL pointer for its first parameter. FossilOrigin-Name: c83627b73285f883719845c1b9fe85f378f28dd2
* | Remove the code that tries to detect OOO header writes on a WAL recovery.drh2011-12-20
| | | | | | | | | | The code is made obsolete by syncing the WAL header. FossilOrigin-Name: 7ac713a14e24c48651c2a97acc9839850fa7f3c3
* | Refactor the sqlite3WalFrames() routine for clarity of presentation.drh2011-12-20
| | | | | | | | | | | | | | Do the padded transaction sync as the write pointer crosses the final sector boundary instead of at the end, for efficiency. Always sync the WAL header immediately after it is written. FossilOrigin-Name: 92c73b421b6242b09247dfb759777a531a107523
* | Some fixes to the test suite so that it works with ZERO_DAMAGE set to true.drh2011-12-19
| | | | | | | | | | Still lots more problems remain. FossilOrigin-Name: 41891b231e20a1d32b1d7449e7863470eb38ca0a
* | For improved clarity of presentation, drh2011-12-17
| | | | | | | | | | refactor some of the code associated with ZERO_DAMAGE and sector-size. FossilOrigin-Name: 1dde96c9ee88af1c4e37c2e65acb7c0fe6a20e2a
* | Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Usedrh2011-12-17
| | | | | | | | | | | | | | this device characteristic to reduce the required work in journaling. A side effect is that this changes the default page exists back to 1024 even with the use of statvfs(). FossilOrigin-Name: a0be6ea464695fdf1eaf2b7cf0652778617814f2
* | Fix a bad #endif with the previous check-in on this branch.drh2011-12-17
| | | | | | FossilOrigin-Name: 915713ffe4d02ddf1d09a82e39a47b88d3d95ea0
* | Add support for statvfs() in os_unix.c, for determining the sector size.drh2011-12-17
|/ | | | | This causes many TCL test failures under Linux. FossilOrigin-Name: e0d44450b9bec8ea7b057c1ad0a2088cd3f1f221
* Merge in changes that cause the first sector of the WAL file to be synceddrh2011-12-17
|\ | | | | | | | | | | when the WAL restarts. This is a fix for the power-loss corruption problem described in ticket [ff5be73dee086] FossilOrigin-Name: 44ca4d123385d759c11919865525c998c2e35bdb
| * Enhance the WAL header sync so that it honors the various synchronousdrh2011-12-16
| | | | | | | | | | pragmas, settings, and device characteristics. FossilOrigin-Name: 9799241f7de952c4d1ea8bf6508b577d2b57a370
| * Proposed changes that ensure that the WAL header is written prior to thedrh2011-12-16
| | | | | | | | | | first commit mark. FossilOrigin-Name: 91d0437c0702904d27f0ef7b1b52d0797efe1826
* | Make sure the Salt-1 value in the WAL file is sequentially numbered atdrh2011-12-17
|/ | | | | each checkpoint, as it says it should be in the documentation. FossilOrigin-Name: 7b63b11b93396079131686abb36c4221354fa50e
* Merge the fix for [a1fa75cbdd02] from the experimental branch. Alsodrh2011-12-16
|\ | | | | | | | | | | fix the persistent-wal mode feature of truncating the WAL on close so that it always truncates the WAL to zero bytes. FossilOrigin-Name: 09ccc4a1be7ba81890f10aac6623dd90dab4f990
| * Experimental fix for [a1fa75cbdd].dan2011-12-16
| | | | | | FossilOrigin-Name: 6492af76ea6585a1b377d69751af930c0ccfe688
* | Improved logging of master-journal name conflicts.drh2011-12-16
| | | | | | FossilOrigin-Name: b1005ef46cc2b46dd8e448ae1a9a9508bd5666ab
* | Merge the nx-devkit changes into trunk.drh2011-12-16
|\ \ | |/ |/| FossilOrigin-Name: cf3bccc2e944cd2dd3efb8554682994a06115f16
| * Tweaks to the way multiplexSubOpen() works, for backwards compatibility.drh2011-12-16
| | | | | | FossilOrigin-Name: bb40338887c912be70cb6fe3b760d87c14bb88a5
| * Fix a potential infinite loop (inserted by the previous check-in)drh2011-12-16
| | | | | | | | | | on the multiplexWrite() method of the multiplexor. FossilOrigin-Name: 022bf427c2edfe494ec7c222f436953ff56574a6
| * The xTruncate method for the multiplexor now changes surplus overflowdrh2011-12-16
| | | | | | | | | | | | | | files to zero-length by default. Or if the "truncate" query parameter is used, it actually deletes the surplus overflow files. This allows VACUUM to shrink the database again. FossilOrigin-Name: 5aefef04d6cc3b734c3f05e036b3869a52248f4d
| * Call sqlite3_log() with an appropriate message if unable to find a uniquedrh2011-12-16
| | | | | | | | | | master-journal filename. FossilOrigin-Name: e9177f7d4ec19f0841d0613990d2fb5725700ba1
| * A better solution to being unable to find a unique master-journal filename:drh2011-12-16
| | | | | | | | | | just delete an existing master-journal and reuse it. FossilOrigin-Name: 2685c2b949061f18bf6a4940eac8c8148873abb6
| * Make sure the antipenultimate character of master-journal filenames is a "9"drh2011-12-16
| | | | | | | | | | | | in order to avoid collisions with other files in 8+3 filename mode. Also, limit the number of attempts at finding a unique master-journal filename. FossilOrigin-Name: 34a0483605d36e6cf03065ed0df33fb1f7c8a272
| * When deleting a file with the multiplexor VFS, also delete any overflow ↵dan2011-12-15
| | | | | | | | | | files that exist. FossilOrigin-Name: 3af1feaa35d3fb2e7be550cd32a727001b874938
| * Make sure the chunksize in test_multiplex does not cause the pending bytedrh2011-12-15
| | | | | | | | | | | | to fall near the end of a chunk. Adjust the chunksize upward as necessary to prevent this. FossilOrigin-Name: e05f8a2998f4f4cbdb65702baa65893c538b3d38
| * Fix some problems with dropped error codes in multiplexOpen().dan2011-12-15
| | | | | | FossilOrigin-Name: 2d50f78188e3297e8cefdf73cff51fa0a3b36e65
| * In the multiplexor, do not try to delete overflow files that do not exist.drh2011-12-15
| | | | | | | | | | And assume all but the last overflow file is the size of the chunk size. FossilOrigin-Name: a822a80d3cfe42b2fca6f8c9ff11762993114a27
* | Add stdio support to the quota VFS.drh2011-12-15
|\ \ | | | | | | FossilOrigin-Name: 322bd15f97143d39b3a88d5f6cf7afb454e0666e
| * | Use _commit() rather than FlushFileBuffers() as a substitute for fsync()drh2011-12-15
| | | | | | | | | | | | | | | on windows. Also cast for C++ and add support for SQLITE_FCNTL_VFSNAME. FossilOrigin-Name: e85cfe9a17a2943ee0cf7915451ff6cc05908030
| * | Harden the utf8-to-mbcs converter in the quota module against failures.drh2011-12-14
| | | | | | | | | FossilOrigin-Name: 1cda511deb625868395a23c95346e14d0c300670
| * | Enhancements to test_quota.c: Remove the external dependency on drh2011-12-13
| | | | | | | | | | | | | | | | | | sqlite3_win32_utf8_to_msbc(). Add an extra parameter to quota_fflush() that will also do an fsync (or the equivalent). FossilOrigin-Name: 92f4188f90e3cdd71f1457a6e0eb22615e4a54f4
| * | Make sure the quota logic is usable as C++.drh2011-12-12
| | | | | | | | | FossilOrigin-Name: f4534bd3023a599691018f35389a76045e49d831
| * | Add the sqlite3_quota_fflush() interface. Enhance sqlite3_quota_remove()drh2011-12-03
| | | | | | | | | | | | | | | so that it can remove entire directories. FossilOrigin-Name: abcb65af4cdd192beaccdbc2109ad45b9e7f9d00
| * | One minor documentation enhancement.drh2011-12-02
| | | | | | | | | FossilOrigin-Name: 8cfd3575c8d9f5361c5276d6b83aba47606975a3
| * | Documentation improvements and additional test cases.drh2011-12-02
| | | | | | | | | FossilOrigin-Name: fa71896089538589fb7015d6507e22961e72233b
| * | Progress toward getting things to work better on windows.drh2011-12-01
| | | | | | | | | FossilOrigin-Name: 253dd7072ef7f4e8742e5b6430658f8e5102e0bb
| * | Add test logic and some test cases.drh2011-12-01
| | | | | | | | | FossilOrigin-Name: a4730586cc1f686ead956ccd1cc218b5931942c9
| * | Add stdio-like I/O interfaces to the test_quota VFS. This is a prototypedrh2011-12-01
| | | | | | | | | | | | | | | | | | | | | | | | change for discussion and is mostly untested. This is an alternative to adding stdio-like I/O interfaces in the core. There is no guarantee that this code will make it into the trunk. If it does get to trunk, there could be many changes to the interface first. FossilOrigin-Name: bd3ce723f1b5be52be46ede8614ca316f56e7e6f
* | | Merge the nx-devkit changes into trunk. This includes the newdrh2011-12-14
|\ \ \ | | |/ | |/| | | | | | | SQLITE_FCNTL_VFSNAME file-control. FossilOrigin-Name: da118e02c0576ce16f7a26663f59413316223d55
| * | Add a file-control that will discover the name of the bottom-level VFS anddrh2011-12-14
| | | | | | | | | | | | | | | all the shims in between. FossilOrigin-Name: cdbfb553af02d10767a905489d9dfc57fc6be54e
| * | Improvements to comments. No code changes.drh2011-12-14
| | | | | | | | | FossilOrigin-Name: 08bbbd8e38697908ab8ae0f6b512d01c32f7e4da
| * | Add a hard limit to the number of chunks a multiplexed database may consist ↵dan2011-12-13
| | | | | | | | | | | | | | | of if ENABLE_8_3_NAMES is defined. FossilOrigin-Name: 43a1264088c57bf598787b7a9f5d7a2536603d67