aboutsummaryrefslogtreecommitdiff
path: root/test/sysfault.test
Commit message (Collapse)AuthorAge
* A unix VFS change replaces fsync() with fstat() when using SQLITE_NO_SYNC, sodrh2015-12-03
| | | | | | set PRAGMA synchronous=OFF in the sysfault-3 test to avoid erroneously causing errors in xSync. FossilOrigin-Name: 4f7f355021f9eb048fffc84e559bfb3fdb1e1e69
* Refactoring the mmap interface. The controlling pragma is now "mmap_size"drh2013-04-15
| | | | | | | | | | | | | | | | instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. FossilOrigin-Name: ea1404a10abd7f68e1f8e0708c8a3199d1f79665
* Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can bedrh2013-03-25
| | | | | | | used to issue a hint to the VFS to limit mmap space to N bytes. The VFS is free to ignore that hint if desired. However, if "PRAGMA mmap_limit(0)" is used, xFetch is never called. FossilOrigin-Name: 1b37c4effdd03aa2ea938a71b4f22ed27391689b
* Add a test that simulates an error in mmap().dan2013-03-25
| | | FossilOrigin-Name: 6ec7367d8e98425f00eeb8215ca8964313c1d0b7
* In os_unix.c, do not return SQLITE_BUSY to SQLite following an error in ↵dan2011-04-01
| | | | | fcntl(F_UNLCK), regardless of the value of errno. FossilOrigin-Name: ff6dfe6ed74f9ff1669b2bda41d61a01cd0a1bc6
* Further tests for os_unix.c.dan2011-03-30
| | | FossilOrigin-Name: a84f7711949ea3885b0e36e48118d2c76a8a5b82
* Add tests to syscall.test and sysfault.test.dan2011-03-29
| | | FossilOrigin-Name: 3d2de011814002e2e25b7645f94ff8fc7aab9cdd
* Fix a problem whereby following an IO error in CommitPhaseTwo() of a ↵dan2011-03-29
| | | | | multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on. FossilOrigin-Name: dbe569a099c2855480e35c0cc4d9332821ad80da
* Add test infrastructure (and some tests) to inject faults into os_unix.c ↵dan2011-03-28
using the new xSetSystemCall interface. FossilOrigin-Name: 0e1d20dfaeea5ab285d16aa4b8f02b61b1d2bc10