SQLite

All files named ”src/os.c”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/os.c

2023-06-07
08:40
[509452169d] part of check-in [26c1bb4bd9] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4bd9] user: larrybr branch: spell-check, size: 14032)
2022-10-04
14:50
[81c9c1c52e] part of check-in [3efa811251] Attempt to clarify the operation of the xLock and xUnlock VFS I/O methods. Assert() statements added to prove that they behave as the documentation says. (check-in: [3efa811251] user: drh branch: trunk, size: 14033)
2022-08-16
10:52
[0eb831ba35] part of check-in [e123da49cc] Add assert() statements to verify that the SQLITE_OPEN_EXCLUSIVE flag is always passed to the VFS when opening a temporary file. (check-in: [e123da49cc] user: dan branch: trunk, size: 13884)
2021-10-28
12:07
[b1c4f2d485] part of check-in [ba4104aa02] Minor changes to make it easier for static analyzers to reason about the code. (check-in: [ba4104aa02] user: drh branch: trunk, size: 13830)
2021-10-02
16:39
[91fc69f95e] part of check-in [bdb9dc8a02] Fix harmless compiler warnings (check-in: [bdb9dc8a02] user: drh branch: trunk, size: 13753)
2021-06-11
12:41
[59ed1f5033] part of check-in [01f3877c71] Avoid bugs in some implementations of dlopen() by avoiding calls to dlopen() with a filename argument that exceeds FILENAME_MAX bytes. Forum post 08a0d6d9bf. (check-in: [01f3877c71] user: drh branch: trunk, size: 13712)
2021-04-06
13:03
[6e94cd64b1] part of check-in [a083940642] Further improvements (subsequent to [d91450847a3a3a72]) to handling of attempts to delete a journal using the memdb VFS. dbsqlfuzz ac61dab357279a6a531de067f040e9a4828d2df0. (check-in: [a083940642] user: drh branch: trunk, size: 13621)
2020-12-03
19:25
[2d6e646370] part of check-in [62a2d39483] Do not simulate OOM faults on the SQLITE_FCNTL_CKPT_START and SQLITE_FCNTL_CKPT_DONE file-controls, as those are write-only and the return value is always ignored. (check-in: [62a2d39483] user: drh branch: trunk, size: 13590)
2020-07-29
16:18
[17a193cd86] part of check-in [a80ae2c98b] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c98b] user: drh branch: typos, size: 13291)
2020-06-19
11:34
[80e4cf3e5d] part of check-in [7bb08b1bfc] Refactoring various names. No changes in the resulting machine code. (check-in: [7bb08b1bfc] user: drh branch: trunk, size: 13290)
2020-01-15
12:49
[c862e5d629] part of check-in [dadedf41c7] Merge all recent enhancements and fixes from trunk into the apple-osx branch. (check-in: [dadedf41c7] user: drh branch: apple-osx, size: 13456)
2019-11-22
00:42
[669cc3839c] part of check-in [6a64fb6a2d] Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the open() system call. This backs out the SQLITE_ACCESS_SYMLINK value but adds the new SQLITE_OK_SYMLINK return code from the xFullPathname method of sqlite3_vfs when that routine resolves symbolic links. O_NOFOLLOW is always included in open() system calls for journal files. (check-in: [6a64fb6a2d] user: drh branch: trunk, size: 13298)
2019-09-16
12:02
[49ec7427f8] part of check-in [a95191deab] Merge the latest changes from trunk into the apple-osx branch. (check-in: [a95191deab] user: drh branch: apple-osx, size: 13452)
2019-08-08
19:40
[20f7b32c1e] part of check-in [1eef4ddea9] Fix harmless compiler warnings. (check-in: [1eef4ddea9] user: drh branch: trunk, size: 13296)
2019-08-03
01:39
[66948e071d] part of check-in [49aa344806] Give the SQLITE_TESTCTRL_PRNG_SEED two arguments. The second argument if not NULL is a pointer to a database connection which seeds the connection from its schema cookie. In this way, fuzzers can control the PRNG seed. (check-in: [49aa344806] user: drh branch: prng-seed-test-control, size: 13288)
2019-08-02
20:45
[033039bb9b] part of check-in [3ac5723164] Add the SQLITE_TESTCTRL_PRNG_SEED test control. (check-in: [3ac5723164] user: drh branch: prng-seed-test-control, size: 13280)
2018-10-09
22:50
[4c1e6111a9] part of check-in [ddf6a54ef3] Merge changes for the 3.25.0 release. (check-in: [ddf6a54ef3] user: drh branch: apple-osx, size: 13215)
2018-06-13
11:41
[8aeb0b0f40] part of check-in [ab6c1ae46d] Unless SQLITE_OMIT_AUTOINIT is defined, allow sqlite3_vfs_unregister() to be called before sqlite3_initialize(). (check-in: [ab6c1ae46d] user: dan branch: trunk, size: 13059)
2018-04-10
18:05
[c46d15f4cb] part of check-in [e20fcb5159] Merge all version 3.23.1 changes and enhancements from trunk. (check-in: [e20fcb5159] user: drh branch: apple-osx, size: 13116)
14:29
[1cb0d1d1b3] part of check-in [9c1a5eba3e] When testing, avoid injecting an OOM fault into a file-control call made by SQLite on an unopened file-descriptor. (check-in: [9c1a5eba3e] user: dan branch: trunk, size: 12960)
2018-03-29
13:47
[4d83f700d7] part of check-in [1fc72b707d] Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_file objects and return SQLITE_NOTFOUND. (check-in: [1fc72b707d] user: drh branch: trunk, size: 12960)
2018-03-26
21:05
[750d7dca7e] part of check-in [5474e560ee] Do not inject OOM errors on SQLITE_FCNTL_LOCK_TIMEOUT calls as an OOM is not possible in that context. (check-in: [5474e560ee] user: drh branch: lowlevel-lock-timeout, size: 12893)
2017-10-24
19:12
[1975fc1d82] part of check-in [13be3a441d] Merge all enhancements and fixes from the 3.21.0 release. (check-in: [13be3a441d] user: drh branch: apple-osx, size: 13011)
2017-10-05
20:57
[22d31db3ca] part of check-in [8ca0fa8dfe] Fix compiler warnings that come up with SQLITE_OMIT_WAL. (check-in: [8ca0fa8dfe] user: drh branch: trunk, size: 12855)
2017-09-09
06:10
[514aae59e0] part of check-in [6a0b9d9d4e] Merge trunk enhancements (check-in: [6a0b9d9d4e] user: drh branch: apple-osx, size: 12958)
2017-08-25
01:14
[93e0979b9b] part of check-in [bf65dae8d4] Update the mechanism used to keep track of what kind of syncing to do for WAL transaction commits and checkpoint operations. Use the checkpoint-style of syncing to sync the header of a new or restarted WAL file. (check-in: [bf65dae8d4] user: drh branch: wal-sync-refactor, size: 12802)
2016-08-04
14:08
[a93752993c] part of check-in [491f1ef36e] Add extra logging calls to this branch. (check-in: [491f1ef36e] user: dan branch: debug, size: 12748)
2016-07-25
17:31
[c03b50496d] part of check-in [e98cefb17d] Merge 3.14 alpha changes from trunk. (check-in: [e98cefb17d] user: drh branch: apple-osx, size: 12938)
2016-07-09
16:14
[add02933b1] part of check-in [5471aca015] Fix various internal #defines to conform to new C-language naming restrictions, specifically that private-use macros names must not begin with "_". (check-in: [5471aca015] user: drh branch: trunk, size: 12782)
2016-04-21
15:35
[bb97ef31f4] part of check-in [a15c49aed0] Merge all recent enhancements from trunk. (check-in: [a15c49aed0] user: drh branch: apple-osx, size: 12983)
2016-04-14
13:16
[4d83917f07] part of check-in [7ee570e7a9] Since the return value of sqlite3OsClose() is always ignored, we might as well make it "void" instead of "int", and thereby save 50 bytes in the compiled binary. (check-in: [7ee570e7a9] user: drh branch: trunk, size: 12827)
2016-03-21
14:52
[3aee4b9466] part of check-in [063f1b3705] Merge the sqlite3_system_errno() change from trunk. (check-in: [063f1b3705] user: drh branch: apple-osx, size: 13061)
2016-03-17
16:01
[ca10edb445] part of check-in [6782c87b37] Experimental implementation of the sqlite3_system_errno() interface. (check-in: [6782c87b37] user: drh branch: sqlite_system_errno, size: 12905)
2016-03-04
14:57
[4bcb5173e2] part of check-in [2f0c195ccc] Merge recent enhancements from trunk, and especially the changes that reduce the heap-memory footprint of schemas, and defer opening and writing to statement journals. (check-in: [2f0c195ccc] user: drh branch: apple-osx, size: 12945)
2016-02-27
20:14
[f89e3ca1c2] part of check-in [e0b0b43165] Extend the code in memjournal.c so that it subsumes the role of journal.c. And (untested) can flush journal or statement journal files to disk after they grow to a specified size. (check-in: [e0b0b43165] user: dan branch: memjournal-exp, size: 12789)
2016-02-18
01:36
[be9908f7b1] part of check-in [b7fa0fb339] Merge recent performance enhancements and the enhanced API_ARMOR from trunk. (check-in: [b7fa0fb339] user: drh branch: apple-osx, size: 12941)
2016-02-13
23:43
[ca9a104b67] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 12785)
17:35
[4c975b1720] part of check-in [d198a6db2e] Merge changes from the 3.11.0 release candidate. (check-in: [d198a6db2e] user: drh branch: apple-osx, size: 12914)
2016-02-11
21:28
[205fa2bad9] part of check-in [54ff3a26bc] Enhance the MSVC makefile to enable building 'testfixture' fully from source code. (check-in: [54ff3a26bc] user: mistachkin branch: testFixtureSrc, size: 12758)
2014-10-27
18:42
[5822c2b843] part of check-in [10aaf3b148] Merge latest enhancements, including the SQLITE_ENABLE_API_ARMOR patch, from trunk. (check-in: [10aaf3b148] user: drh branch: apple-osx, size: 12075)
2014-10-24
00:35
[8fd25588ee] part of check-in [c297a84bc6] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84bc6] user: drh branch: api-armor, size: 11919)
2014-05-08
23:01
[25df79baf4] part of check-in [9411d7dc6f] Initial attempt to merge in all trunk changes over the previous 1.5 years. This check-in compiles but there are compiler warnings and "make test" segfaults after only running a few test modules. (check-in: [9411d7dc6f] user: drh branch: apple-osx, size: 11993)
2013-12-19
17:04
[1b147e4cf7] part of check-in [8eb28d23e3] Do not inject OOM faults into SQLITE_FCNTL_COMMIT_PHASE_TWO file-control invocations. It causes problems for test scripts. (check-in: [8eb28d23e3] user: dan branch: trunk, size: 11837)
2013-04-15
17:03
[b4ad71336f] part of check-in [ea1404a10a] Refactoring the mmap interface. The controlling pragma is now "mmap_size" 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. (check-in: [ea1404a10a] user: drh branch: trunk, size: 11168)
2013-04-08
20:47
[ca679b293a] part of check-in [8a4314a398] Disable the use of memory-mapped I/O if the SQLITE_DISABLE_MMAP macro is defined. Automatically define this macro for OpenBSD and QNX. Other systems are likely to be added to the disabled list over time. (check-in: [8a4314a398] user: drh branch: trunk, size: 11175)
2013-03-25
18:25
[809d0707ce] part of check-in [77443ef2cd] Simulate OOM errors in the sqlite3OsFetch() function. Run malloc.test as part of the "mmap" permutation. (check-in: [77443ef2cd] user: dan branch: experimental-mmap, size: 10832)
17:00
[17c6e6e4a1] part of check-in [115b830509] Change the signature of the xUnfetch method to "int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p)". (check-in: [115b830509] user: dan branch: experimental-mmap, size: 10807)
2013-03-23
21:00
[a7ec2ddc43] part of check-in [1431be9557] Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch. (check-in: [1431be9557] user: dan branch: experimental-mmap, size: 10791)
2013-03-20
14:26
[87ea1cd125] part of check-in [14135da3cd] When possible, use memory mapping when appending new pages to a database file. (check-in: [14135da3cd] user: dan branch: experimental-mmap, size: 11065)
2013-03-19
19:28
[81a82a736b] part of check-in [6183f1bd86] Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size". (check-in: [6183f1bd86] user: dan branch: experimental-mmap, size: 10717)
2012-01-14
14:13
[4c8c8d72a6] part of check-in [2cc414cd14] Merge the latest trunk changes into the apple-osx branch. (check-in: [2cc414cd14] user: drh branch: apple-osx, size: 10733)
2012-01-10
17:59
[e1acdc09ff] part of check-in [722735a4f3] Refactor sqlite3OsFileControlNoFail() into sqlite3FileControlHint(). (check-in: [722735a4f3] user: drh branch: trunk, size: 10577)
16:56
[dedfe4786c] part of check-in [af59b182d7] Add function sqlite3OsFileControlNoFail(), which is the same as sqlite3OsFileControl() except that it does not simulate OOM errors. This saves adding calls to the BenignMalloc() functions around each of the invocations of sqliteOsFileControl() that ignore the return code. (check-in: [af59b182d7] user: dan branch: trunk, size: 10145)
2012-01-05
16:07
[f03339a44d] part of check-in [e75fd3b274] Change the unix VFS so that it ignores all but the least-significant bit of the syncDir flag to xDelete. Add an assert to prove that the core only ever uses that one bit. (check-in: [e75fd3b274] user: drh branch: trunk, size: 9996)
2012-01-03
21:54
[74c5ae9955] part of check-in [8a048423f0] Pull all the latest trunk changes over into the apple-osx branch. (check-in: [8a048423f0] user: drh branch: apple-osx, size: 10114)
2011-12-30
05:08
[519bdf7c60] part of check-in [4edc5994b2] Fix some typos in comments. No code changes. (check-in: [4edc5994b2] user: dan branch: trunk, size: 9958)
2011-12-08
21:08
[499fc9d390] part of check-in [59e0d4f3d9] Merge the latest trunk changes into the apple-osx branch. (check-in: [59e0d4f3d9] user: drh branch: apple-osx, size: 10114)
2011-12-01
02:32
[c2dcf314db] part of check-in [8936542b22] Add a prototype implementation of stdio-like routines for accessing the VFS. This is intended as documentation. The code is untested. There is no guarantee that any of this will ever make it into trunk. Substantial revision is possible prior to reaching trunk, if it ever does. (check-in: [8936542b22] user: drh branch: vfs-stdio, size: 15978)
2011-11-14
01:55
[ac54d2199b] part of check-in [09be42d5fa] Begin making experimental changes to use mmap() for reading content from a database. The code compiles, but crashes on the test suite. (check-in: [09be42d5fa] user: drh branch: mmap-experimental, size: 11188)
2011-11-12
03:17
[28bbdab217] part of check-in [76dec8aa9d] Make sure to flag benign malloc failures in the Windows VFS as such. Expand use of the DO_OS_MALLOC_TEST to cover the VFS functions that can now return an out of memory error. Support an experimental --match option to the test suite that will run only those tests matching the specified pattern. (check-in: [76dec8aa9d] user: mistachkin branch: winSyscall, size: 9958)
2011-10-21
17:18
[c7a716e368] part of check-in [be62ef058b] Merge the latest trunk changes into the apple-osx branch. (check-in: [be62ef058b] user: drh branch: apple-osx, size: 9817)
2011-10-15
00:16
[5d9b02782e] part of check-in [39408702a9] Added the tool/warnings-clang.sh script. Changes so that there are no warnings with either gcc or clang even including FTS4 and RTREE and both with and without SQLITE_THREADSAFE=0. (check-in: [39408702a9] user: drh branch: trunk, size: 9661)
2011-09-19
20:32
[0668c16ae2] part of check-in [ade72b1874] Merge in all trunk changes through the 3.7.8 release. (check-in: [ade72b1874] user: drh branch: apple-osx, size: 9793)
2011-09-17
15:34
[3b3f69c34b] part of check-in [29c4d0dd43] Make sure the file structure is zeroed prior to calling the VFS to open a file. (check-in: [29c4d0dd43] user: mistachkin branch: trunk, size: 9637)
2011-08-02
18:25
[af614089eb] part of check-in [77376b332b] Merge all the latest trunk changes into the apple-osx branch. (check-in: [77376b332b] user: drh branch: apple-osx, size: 9789)
2011-07-20
17:13
[fcc717427a] part of check-in [29866f9598] All the SQLITE_OPEN_URI flag to propagate down into the VFS. (check-in: [29866f9598] user: drh branch: trunk, size: 9633)
2011-06-24
20:47
[1663f3754a] part of check-in [34f0efa2b1] Merging local changes to apple-osx (check-in: [34f0efa2b1] user: adam branch: apple-osx, size: 9789)
2010-09-01
19:29
[22ac61d06e] part of check-in [47064453c3] Identify additional requirements in the sqlite3_vfs object documentation. (check-in: [47064453c3] user: drh branch: trunk, size: 9633)
2010-07-14
14:48
[60178f518c] part of check-in [e5d180eed2] On unix, try to create the *-wal and *-shm files with the same permissions as the associated database file. (check-in: [e5d180eed2] user: dan branch: trunk, size: 9319)
00:14
[a0ecbd198b] part of check-in [c2d27cf51d] Change the name of the xShmClose VFS method to xShmUnmap, everywhere. (check-in: [c2d27cf51d] user: drh branch: experimental, size: 9317)
2010-07-13
18:44
[a45484100b] part of check-in [f4780bde62] Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. (check-in: [f4780bde62] user: dan branch: experimental, size: 9317)
2010-07-02
19:49
[c34882169b] part of check-in [33b6f069d8] Changes to os_win.c to have it return same error code as os_unix.c. (check-in: [33b6f069d8] user: shaneh branch: mistake, size: 9258)
11:27
[1b3a1edf20] part of check-in [eddfb2b406] Additional test cases to cover branches in pager.c. (check-in: [eddfb2b406] user: dan branch: trunk, size: 9280)
2010-06-14
14:07
[9c4a2f82a5] part of check-in [fc0cabc15c] Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations. (check-in: [fc0cabc15c] user: dan branch: experimental, size: 9167)
2010-06-11
19:04
[00ab9dcdee] part of check-in [ca68472db0] Experimental change to the xShmXXX parts of the VFS interface. (check-in: [ca68472db0] user: dan branch: experimental, size: 9519)
2010-05-30
19:55
[1516984144] part of check-in [ef3ba7a17f] Initial code for incremental checkpoint in WAL mode. This check-in compiles on unix and runs as long as you do not engage WAL mode. WAL mode crashes and burns. Consider this check-in a baseline implementation for getting the new capability up and running. (check-in: [ef3ba7a17f] user: drh branch: wal-incr-ckpt, size: 9344)
2010-05-20
23:51
[2285265f7e] part of check-in [1bd011c9fe] Add a new xShmBarrier method to the VFS - a shared-memory fence operation. Implement the same in both unix and win32. Use it to make the WAL subsystem more robust. (check-in: [1bd011c9fe] user: drh branch: trunk, size: 9351)
2010-05-18
13:27
[b994b2f4c9] part of check-in [0a6787908e] Mark the shared-memory in the WAL implementation as volatile. (check-in: [0a6787908e] user: drh branch: trunk, size: 9272)
2010-05-12
18:01
[c0a5dfce2a] part of check-in [2b00152c1a] Refactoring the VFS-SHM methods used by WAL. This version compiles and runs non-WAL test cases but crashes and burns on wal.test. (check-in: [2b00152c1a] user: drh branch: wal-refactor, size: 9266)
2010-05-03
14:32
[aec6922553] part of check-in [ab77b3ae6d] Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available. Provide an implementation of xCurrentTimeInt64 for os_unix.c. (check-in: [ab77b3ae6d] user: drh branch: trunk, size: 8600)
2010-01-26
01:14
[8bc63cf91e] part of check-in [7c3bede3f2] Updated open mask to include SQLITE_OPEN_AUTOPROXY (check-in: [7c3bede3f2] user: adam branch: apple-osx, size: 8393)
2009-11-16
23:36
[4500ff276e] part of check-in [e4943adb83] Make sure the output of sqlite3OsFullPathname is initialized even if the fails due to I/O or OOM errors. (check-in: [e4943adb83] user: drh branch: trunk, size: 8393)
2009-11-10
01:30
[1914b48263] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 8374)
2009-09-09
14:17
[8d62d8d98a] part of check-in [f509eb8b48] Added SQLITE_OPEN_SHAREDCACHE and SQLITE_OPEN_PRIVATECACHE flags as possibilities to sqlite3_open_v2(), to override the global shared cache mode setting. Ticket [9fd0bc36639c15] (check-in: [f509eb8b48] user: drh branch: trunk, size: 8436)
2009-08-17
16:01
[9fea283e33] part of check-in [b98a8706a6] Always call sqlite3_malloc() in sqlite3OsInit(), even when not compiled with SQLITE_TEST. (check-in: [b98a8706a6] user: drh branch: trunk, size: 8186)
15:52
[3855c23ceb] part of check-in [67ad21abf8] Move error simulation code from the sqlite3_os_init() functions into a wrapper. (check-in: [67ad21abf8] user: dan branch: trunk, size: 8125)
2009-07-27
11:41
[5029ae6c88] part of check-in [d486811715] Do not simulate OOM conditions in the sqlite3OsXXX() calls if the underlying file is an in-memory journal file. (CVS 6946) (check-in: [d486811715] user: danielk1977 branch: trunk, size: 7768)
2009-03-25
14:24
[c2aa4a7d8b] part of check-in [c32b454118] When a VFS.xOpen fails, make sure the pMethods pointer is zeroed on the sqlite3_file object so that subsequent xClose() operations against that same file handler are no-ops. Bug in the test_async.c module only - not in the core library. Ticket #3744. (CVS 6384) (check-in: [c32b454118] user: drh branch: trunk, size: 7639)
2008-12-08
18:19
[ed93a6b461] part of check-in [73c7302c5f] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (check-in: [73c7302c5f] user: drh branch: trunk, size: 7569)
2008-10-07
15:25
[0b411644b8] part of check-in [02a12eb1cf] Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0 option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) (check-in: [02a12eb1cf] user: drh branch: trunk, size: 7571)
2008-09-23
16:41
[74ac327e8f] part of check-in [046ef07261] Always transform error code SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returning. This was already happening in most places. (CVS 5738) (check-in: [046ef07261] user: danielk1977 branch: trunk, size: 7591)
2008-09-02
17:18
[543976efc0] part of check-in [e869446119] Fix the position of the SQLITE_WSD macro in the declaration of global variable vfsList. (CVS 5665) (check-in: [e869446119] user: danielk1977 branch: trunk, size: 7596)
10:22
[364d7c79f7] part of check-in [46acaf58e1] Change some more global variables to work with OMIT_WSD. (CVS 5660) (check-in: [46acaf58e1] user: danielk1977 branch: trunk, size: 7595)
2008-07-28
19:34
[939ae7690a] part of check-in [e48f9697e9] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697e9] user: drh branch: trunk, size: 7529)
2008-06-26
18:16
[292b3b4a49] part of check-in [168fd6f83e] Documentation updates in sqlite.h.in. No changes to code. (CVS 5315) (check-in: [168fd6f83e] user: drh branch: trunk, size: 7524)
10:41
[2b0b710dc1] part of check-in [cdd4cf4ce2] Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311) (check-in: [cdd4cf4ce2] user: danielk1977 branch: trunk, size: 7533)
08:29
[a8ef763c0f] part of check-in [70b2ed2afc] Fix a race condition in sqlite3_initialize(). (CVS 5310) (check-in: [70b2ed2afc] user: danielk1977 branch: trunk, size: 7526)
2008-06-25
17:19
[3e98547ef9] part of check-in [8fa33b79d7] Remove internal function sqlite3OsDefaultVfs(). The built-in VFS layers now register their VFS implementations by calling sqlite3_vfs_register() from within sqlite3_os_init(). (CVS 5307) (check-in: [8fa33b79d7] user: danielk1977 branch: trunk, size: 7631)
2008-06-19
16:07
[b1c7354746] part of check-in [7d38da3eea] Fix some minor compile problems. (CVS 5248) (check-in: [7d38da3eea] user: drh branch: trunk, size: 8085)
2008-06-18
17:09
[e9f37351dc] part of check-in [5059644c4b] Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) (check-in: [5059644c4b] user: danielk1977 branch: trunk, size: 8093)
2008-06-15
02:51
[cf7e09d421] part of check-in [65fe7b62cf] Continuing work on the new memory allocation subsystem. Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) (check-in: [65fe7b62cf] user: drh branch: trunk, size: 8093)
2008-06-13
18:24
[4f253152ae] part of check-in [a03c5af115] Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) (check-in: [a03c5af115] user: drh branch: trunk, size: 8095)
2008-06-06
11:11
[284abcb97f] part of check-in [5173b3e816] Remove the xGetTempname() method from the vfs structure. Temp files are now opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190) (check-in: [5173b3e816] user: danielk1977 branch: trunk, size: 7838)
2008-06-05
11:39
[0f6fd93b30] part of check-in [4226ac54be] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (check-in: [4226ac54be] user: danielk1977 branch: trunk, size: 7966)
2008-05-29
02:53
[541ea39fba] part of check-in [7c51a97dc1] sqlite3OsDl*() APIs can be omitted if SQLITE_OMIT_LOAD_EXTENSION defined. (CVS 5171) (check-in: [7c51a97dc1] user: shane branch: trunk, size: 7979)
2008-05-16
04:51
[9348e092f3] part of check-in [81a8c70ed7] Add more version tags to files that lack them. Ticket #3120. (CVS 5137) (check-in: [81a8c70ed7] user: danielk1977 branch: trunk, size: 7910)
2008-05-13
19:41
[10ec39461c] part of check-in [e4aab15004] On instruction from DRH, only do malloc failure tests for O/S ops on non-Windows systems. Better test fixture code will be introduced in 3.6.0 to add this coverage back in for Windows. (CVS 5130) (check-in: [e4aab15004] user: shane branch: trunk, size: 7848)
2008-05-07
14:49
[f9708b7ebd] part of check-in [3fbcef46f7] If an error occurs within xAccess(), it should return -1. Remove an assert() that was preventing it from doing so. (CVS 5098) (check-in: [3fbcef46f7] user: danielk1977 branch: trunk, size: 7827)
2008-04-08
03:09
[d811a3e1a1] part of check-in [be7f3240c2] Replace always-true condition with assertion (CVS 4970) (check-in: [be7f3240c2] user: mlcreech branch: trunk, size: 7855)
2008-03-27
22:42
[7bc8d9b187] part of check-in [3cb704c4c4] Allow the xAccess method in the VFS to return -1 to signal an I/O error, and in particular an SQLITE_IOERR_NOMEM. (CVS 4925) (check-in: [3cb704c4c4] user: drh branch: trunk, size: 7859)
2008-03-26
17:18
[9b943f71aa] part of check-in [afe1963ec5] Work around problems with compilers that do not allow C preprocessor macros with empty arguments. (CVS 4921) (check-in: [afe1963ec5] user: drh branch: trunk, size: 7731)
2008-02-13
18:25
[2f2753b8d3] part of check-in [990237e27e] Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) (check-in: [990237e27e] user: danielk1977 branch: trunk, size: 7467)
2008-01-23
03:03
[50c0c1706c] part of check-in [5375ad6b4b] Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) (check-in: [5375ad6b4b] user: drh branch: trunk, size: 7468)
2008-01-22
11:50
[32251c046e] part of check-in [17e7bd6c3f] Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737) (check-in: [17e7bd6c3f] user: danielk1977 branch: trunk, size: 7369)
2007-10-23
14:49
[8360932f14] part of check-in [c36500871e] Make sure the sqlite3_vfs_register() and sqlite3_vfs_unregister() APIs work right even if not VFS is currently registered. Ticket #2738. (CVS 4505) (check-in: [c36500871e] user: drh branch: trunk, size: 8183)
2007-10-03
08:46
[6a84b6ff28] part of check-in [12eca32a6a] Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454) (check-in: [12eca32a6a] user: danielk1977 branch: trunk, size: 8145)
2007-09-17
07:02
[3b66834a58] part of check-in [8b29f5fbfc] Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) (check-in: [8b29f5fbfc] user: danielk1977 branch: trunk, size: 7219)
06:06
[521a698a82] part of check-in [ad3687b16e] Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) (check-in: [ad3687b16e] user: danielk1977 branch: trunk, size: 7160)
2007-09-02
17:52
[198c6c55cb] part of check-in [4a9999a36d] The sqlite3_vfs_register() interface now calls sqlite3_vfs_find(0) to make sure the VFS subsystem is initialized. Ticket #2611. (CVS 4369) (check-in: [4a9999a36d] user: drh branch: trunk, size: 7160)
2007-09-01
06:51
[27dea97099] part of check-in [5f48fb95c2] Fix for registration of non-default vfs objects. (CVS 4360) (check-in: [5f48fb95c2] user: danielk1977 branch: trunk, size: 7100)
2007-08-31
18:34
[cc8b74355c] part of check-in [306586c412] Remove the xLockState method for sqlite3_io_methods. Replace it with a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) (check-in: [306586c412] user: drh branch: trunk, size: 7097)
16:11
[8e6ffe8386] part of check-in [d3ab3e3911] Initial implementation of the sqlite3_file_control() interface. Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) (check-in: [d3ab3e3911] user: drh branch: trunk, size: 7428)
2007-08-24
16:08
[a8ed3c4951] part of check-in [b8451da378] 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) (check-in: [b8451da378] user: drh branch: trunk, size: 7396)
03:51
[3b0d37208e] part of check-in [3a68fcddfa] The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (check-in: [3a68fcddfa] user: drh branch: trunk, size: 8033)
2007-08-23
08:06
[86593b6e8c] part of check-in [e2cc7b4a34] Add some tests for the atomic-write optimization. (CVS 4275) (check-in: [e2cc7b4a34] user: danielk1977 branch: trunk, size: 8018)
2007-08-22
11:22
[d8f029317c] part of check-in [581fadfe31] Add code for the atomic-write optimisation. Disabled by default. (CVS 4268) (check-in: [581fadfe31] user: danielk1977 branch: trunk, size: 7204)
2007-08-21
13:07
[89b93d67bc] part of check-in [5bced2392a] Fix some problems in the crash-test backend. (CVS 4256) (check-in: [5bced2392a] user: danielk1977 branch: trunk, size: 7160)
10:44
[dfe4718104] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda54] user: drh branch: trunk, size: 7122)
2007-08-20
22:48
[c9f91550af] part of check-in [1315bd8e12] Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) (check-in: [1315bd8e12] user: drh branch: trunk, size: 7138)
14:23
[68c46a16bc] part of check-in [40f66ada81] Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247) (check-in: [40f66ada81] user: danielk1977 branch: trunk, size: 4878)
2007-08-18
10:59
[f08ddf81e0] part of check-in [a258c4ec24] Further progress on migration to sqlite3_vfs. (CVS 4242) (check-in: [a258c4ec24] user: danielk1977 branch: trunk, size: 4717)
2007-08-17
16:50
[dce5a35b7e] part of check-in [08a0f48028] Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241) (check-in: [08a0f48028] user: danielk1977 branch: trunk, size: 4695)
15:53
[c8034df18a] part of check-in [af3e3c7acd] Begin migration to using sqlite3_vfs interface. (CVS 4240) (check-in: [af3e3c7acd] user: danielk1977 branch: trunk, size: 4721)
2007-08-15
17:08
[e2faefbe0f] part of check-in [af9503daf3] Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228) (check-in: [af9503daf3] user: danielk1977 branch: trunk, size: 3092)
2007-05-08
21:45
[1f10b47acc] part of check-in [c5754530c6] Remove compiler warnings in the amalgamation. (CVS 3960) (check-in: [c5754530c6] user: drh branch: trunk, size: 2961)
2007-04-05
21:58
[4650e98aad] part of check-in [f2caff870c] Fix the amalgamation so that it works with -DSQLITE_ENABLE_REDEF_IO. Change tclsqlite.c so that it can be appended to the amalgamation. Create a new amalgamation of header files for use by projects that want to redefine their own I/O interface using -DSQLITE_ENABLE_REDEF_IO. (CVS 3817) (check-in: [f2caff870c] user: drh branch: trunk, size: 3053)
2007-03-29
18:19
[5a194b9b9a] part of check-in [0fb9af1d6e] Change the name of PAGER_SECTOR_SIZE to SQLITE_DEFAULT_SECTOR_SIZE. Make the new OS-layer interface routine for finding sector size optional. (CVS 3750) (check-in: [0fb9af1d6e] user: drh branch: trunk, size: 3032)
2007-03-19
05:54
[6df3e9c23e] part of check-in [5752d84d37] Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700) (check-in: [5752d84d37] user: danielk1977 branch: trunk, size: 2944)
2006-01-24
10:58
[59f05de8c5] part of check-in [153940af5a] General test coverage improvements. (CVS 3022) (check-in: [153940af5a] user: danielk1977 branch: trunk, size: 2866)
2006-01-07
16:06
[1d1a61cdf1] part of check-in [e170e15766] Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883) (check-in: [e170e15766] user: drh branch: trunk, size: 2631)
2006-01-06
03:29
[a195397577] part of check-in [b8332aa8b8] Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866) (check-in: [b8332aa8b8] user: drh branch: trunk, size: 2165)
2005-12-15
10:11
[7b4a002d9c] part of check-in [c1ed79f594] Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) (check-in: [c1ed79f594] user: danielk1977 branch: trunk, size: 3142)
2005-11-30
03:20
Added: [bdd3a2fd08] part of check-in [bd8740d1ae] Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) (check-in: [bd8740d1ae] user: drh branch: trunk, size: 2095)
2005-06-06
15:07
[617db07b13] part of check-in [c1bd0a150c] Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2491) (check-in: [c1bd0a150c] user: drh branch: version_2, size: 51661)
2005-02-14
00:21
[989942fc5d] part of check-in [0eaebad5a0] Fix the vacuum bug in version 2.8. Also prepare for release 2.8.16. (CVS 2326) (check-in: [0eaebad5a0] user: drh branch: version_2, size: 51644)
2004-06-26
14:40
[8cfb27bd84] part of check-in [a4a2570822] Fold in changes submitted by the PHP developers. (CVS 1742) (check-in: [a4a2570822] user: drh branch: version_2, size: 51595)
2004-06-19
11:57
[6a8cf1c1d0] part of check-in [28b737b5a0] Fix a compiler warning in os.c. (CVS 1636) (check-in: [28b737b5a0] user: drh branch: version_2, size: 51513)
2004-05-22
17:41
Deleted: Split up os.c into separate files, one for each platform. (CVS 1441) (check-in: [5c61be1c47] user: drh branch: trunk, size: 0)
2004-05-10
10:34
[ddcda92f7f] part of check-in [2242423e31] Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) (check-in: [2242423e31] user: danielk1977 branch: trunk, size: 51059)
2004-05-08
08:23
[4092dcc87e] part of check-in [8af6474c49] Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) (check-in: [8af6474c49] user: danielk1977 branch: trunk, size: 51050)
2004-05-07
00:57
[edcd42ad1c] part of check-in [c90ed20dc4] Add the sqlite_temp_directory global variable which, if set, defines the directory in which temporary files are created. (CVS 1316) (check-in: [c90ed20dc4] user: drh branch: version_2, size: 51507)
2004-03-13
14:00
[5f11382733] part of check-in [31c94acc72] Fix the min/max optimizer so that it works when the FROM clause is a subquery. Ticket #658. (CVS 1293) (check-in: [31c94acc72] user: drh branch: trunk, size: 50984)
2004-02-29
00:11
[afcc304d13] part of check-in [e97089b7df] Fix some compiler warnings in LCC. The warnings did not indicate real problems. Ticket #634. Not all warnings in ticket #634 were fixed. (CVS 1276) (check-in: [e97089b7df] user: drh branch: trunk, size: 50983)
2004-02-11
09:46
[f5fc495472] part of check-in [f2bdccf4bb] Refactor the interface to the randomness generator. (CVS 1224) (check-in: [f2bdccf4bb] user: drh branch: trunk, size: 50979)
2004-01-12
00:39
[681ec36217] part of check-in [1ebe5fc7b0] On unix, embargo close() operations until all locks have cleared from the file. Ticket #561. (CVS 1171) (check-in: [1ebe5fc7b0] user: drh branch: trunk, size: 50804)
2004-01-06
00:44
[d5a13117ce] part of check-in [23fa407d50] Add the sqlite_current_time variable for testing purposes. (CVS 1156) (check-in: [23fa407d50] user: drh branch: trunk, size: 44844)
2003-12-31
16:00
[0412e9832d] part of check-in [646244008f] Fix a bug (ticket #541) introduced by the previous check-in ((1149)). (CVS 1150) (check-in: [646244008f] user: drh branch: trunk, size: 44554)
13:21
[b8e1621661] part of check-in [cfe0acf9ec] Reduce the randomness in the sqliteRandomSeed() routine in order to silence bogus errors from valgrind. Tickets #535 and #536. (CVS 1149) (check-in: [cfe0acf9ec] user: drh branch: trunk, size: 44522)
2003-12-19
08:40
[3460bc8354] part of check-in [7dddbeb586] A better fix for ticket #530 - one that is likely to work on unix implementations in addition to linux. Also more tests for multi-thread locking added. (CVS 1138) (check-in: [7dddbeb586] user: drh branch: trunk, size: 44028)
02:52
[000b62b95c] part of check-in [b36a4bb610] Add new thread-testing code and fix locking under Linux threads. Ticket #530. (CVS 1137) (check-in: [b36a4bb610] user: drh branch: trunk, size: 43971)
2003-12-06
21:43
[226d32db1f] part of check-in [656c90387a] Always use "(char*)0" to terminate the argument list of sqliteSetString(). This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) (check-in: [656c90387a] user: drh branch: trunk, size: 43818)
2003-08-10
16:16
[97df440bc7] part of check-in [02fac304c9] Make the sqliteOsCurrentTime() function work for Windows. Code contributed by "e4liberty" on the mailing list. (CVS 1071) (check-in: [02fac304c9] user: drh branch: trunk, size: 43743)
2003-08-09
21:32
[acb42a6524] part of check-in [a6197e2075] Add experimental date and time functions based on julian day number. (CVS 1069) (check-in: [a6197e2075] user: drh branch: trunk, size: 43386)
2003-07-27
18:59
[b0ae51da6e] part of check-in [09c10fe3c9] When creating a new journal file, open a (read-only) file descriptor on the directory containing the journal and sync that directory once to make sure that the journal filename entry gets into the directory. Ticket #410. (CVS 1066) (check-in: [09c10fe3c9] user: drh branch: trunk, size: 43042)
2003-07-22
00:39
[2f24ede4d3] part of check-in [6ccb92b14f] Make sure temporary file names in windows have a full 15 characters of random text at the end. (CVS 1059) (check-in: [6ccb92b14f] user: drh branch: trunk, size: 41188)
2003-06-28
16:20
[0d5252d60c] part of check-in [e2ca936fee] Fix a bug in the soundex() code. Ticket #367. Add tests for ticket #261 even thought the problem could not be reproduced. (CVS 1035) (check-in: [e2ca936fee] user: drh branch: trunk, size: 41182)
2003-06-04
16:24
[4f540b4e52] part of check-in [af6f2bdf59] Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999). Also clean up some compiler warnings for VC++. (CVS 1005) (check-in: [af6f2bdf59] user: drh branch: trunk, size: 41185)
2003-05-29
17:43
[080238f030] part of check-in [8c402db7e0] Modify the windows locking code so that it works correctly for a database being shared between Win95/98/ME and WinNT/2K/XP systems. Ticket #310. (CVS 988) (check-in: [8c402db7e0] user: drh branch: trunk, size: 41204)
2003-04-26
02:40
[94b618c0c0] part of check-in [acf9e9802f] Do not use the return value of fcntl() to find the reason that it failed. Use errno instead. Tickets #240 and #270. (CVS 938) (check-in: [acf9e9802f] user: drh branch: trunk, size: 40050)
2003-04-25
13:22
[e56853eaea] part of check-in [caa960289f] Make VACUUM work even if multiple processes have the database open at once. (CVS 933) (check-in: [caa960289f] user: drh branch: trunk, size: 40038)
2003-04-17
02:54
[7274951ed6] part of check-in [35caefe317] Change the shell to use the sqliteIsNumber() routine for determining if values are numeric. Modified os.c so that it should now work with DJGPP - though I have no way of testing this. (CVS 913) (check-in: [35caefe317] user: drh branch: trunk, size: 39996)
2003-04-06
20:44
[c33ebb3209] part of check-in [185d8dc8d0] Simplify the BTree interface by shortening names. Added two new methods for accessing the current filename and for changing the name of the database file. (CVS 900) (check-in: [185d8dc8d0] user: drh branch: trunk, size: 39588)
2003-03-19
03:14
[dfed46091f] part of check-in [875da9eed9] Modifications to the VDBE to support more than one database file. (CVS 878) (check-in: [875da9eed9] user: drh branch: trunk, size: 39584)
2003-02-16
22:21
[b12203e1cc] part of check-in [75ba78280f] Added test code to check for file descriptor leaks. All regression tests pass now on both win2k and linux. (CVS 868) (check-in: [75ba78280f] user: drh branch: trunk, size: 39181)
2003-01-21
02:39
[ed27e178e0] part of check-in [00f08fc0b5] In the pager, cache a pointer to the first page on the freelist that does not need to be synced. This makes a fetch of a page that is not in cache go a lot faster when the cache is full. This check-in also adds some performance instrumentation to the OS layer. (CVS 842) (check-in: [00f08fc0b5] user: drh branch: trunk, size: 38728)
2003-01-16
13:42
[3a652608c2] part of check-in [717523d375] Improvements to the pager to help large updates against a large database run faster. Also improved the testing of the pager rollback algorithms. (CVS 835) (check-in: [717523d375] user: drh branch: trunk, size: 38093)
2003-01-08
13:02
[28447687e7] part of check-in [13f82d67f6] Port ot MacOS Classic. Ticket #218. (CVS 820) (check-in: [13f82d67f6] user: drh branch: trunk, size: 38094)
2002-12-07
21:45
[7400228062] part of check-in [1c58b4fc03] Save the full pathname of the database file so that journalling still works even if the user changes working directories after opening the databae. Ticket #200. (CVS 798) (check-in: [1c58b4fc03] user: drh branch: trunk, size: 26326)
2002-12-02
04:25
[cb829aa53e] part of check-in [fa5c042585] Change to the pager to avoid opening journal files unnecessarily. This can sometimes results in a significant speed improvement. (CVS 791) (check-in: [fa5c042585] user: drh branch: trunk, size: 25529)
2002-12-01
02:00
[b3160bb723] part of check-in [9864a1265b] Fixed large file support under Linux. I'm unable to test under Windows. Ticket #191. (CVS 790) (check-in: [9864a1265b] user: drh branch: trunk, size: 25290)
2002-11-09
00:33
[caf5a34b35] part of check-in [a29d60ecc5] Try to better detect when the library is compiled for large file support (LFS) but the support is not available in the host OS kernel. (CVS 782) (check-in: [a29d60ecc5] user: drh branch: trunk, size: 25035)
2002-11-06
14:08
[ebe65e9a1c] part of check-in [2008b56fe1] Add large file support to Windows. Change large file support for Unix so that it compiles automatically - without requiring special options on the compiler command line. (CVS 781) (check-in: [2008b56fe1] user: drh branch: trunk, size: 24368)
00:59
[da4cd10aba] part of check-in [81bb1aed5e] Changes to include files so that the >2GB file patch will compile under BSD. (CVS 780) (check-in: [81bb1aed5e] user: drh branch: trunk, size: 24114)
2002-11-05
23:03
[355c66ca67] part of check-in [a3f67fe912] Add support for databases larger than 2GB under Unix. Must be compiled with -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE in order to work with larger databases. (CVS 778) (check-in: [a3f67fe912] user: drh branch: trunk, size: 24178)
2002-10-20
18:19
[ede7346dff] part of check-in [f50a177b42] Rework the changes for ticket #176 (check-ins (760) and (761)) to be more consistent with the rest of the source code. (CVS 768) (check-in: [f50a177b42] user: drh branch: trunk, size: 24067)
2002-10-17
09:01
[c045297aae] part of check-in [b53ab71d07] Minor coding fix in getting the windows platform version, when multithreading (CVS 761) (check-in: [b53ab71d07] user: mike branch: trunk, size: 23599)
00:38
[2c26f354c4] part of check-in [83add34f64] fix for locking in Windows (CVS 760) (check-in: [83add34f64] user: mike branch: trunk, size: 23570)
2002-10-12
13:44
[a099c7058e] part of check-in [d87a886d8f] Remove the call to srand() and add better comments to the sqliteOsRandomSeed() routine. Ticket #163. (CVS 759) (check-in: [d87a886d8f] user: drh branch: trunk, size: 22559)
2002-09-05
16:08
[091a89297b] part of check-in [f5c2654768] Fix for ticket #146: Correctly handle reads of unused disk blocks at the end of the file. (CVS 743) (check-in: [f5c2654768] user: drh branch: trunk, size: 22567)
2002-08-14
12:56
[00d10655e1] part of check-in [2127de3f03] Implement probabilistic reader/writer locks under windows so that windows can have multiple simultaneous readers. (CVS 714) (check-in: [2127de3f03] user: drh branch: trunk, size: 22238)
00:10
[35a3d362e1] part of check-in [26a4e7e7a3] Fix for ticket #132: make the working directory the last choice for where to write temporary files, not the first choice. (CVS 712) (check-in: [26a4e7e7a3] user: drh branch: trunk, size: 20388)
2002-08-02
10:36
[9665974085] part of check-in [bdbdb866f2] Remove the restriction that a transaction cannot be started by one linuxthread and continued by another. Leave in the documentation the warning about not carrying a database connection across fork() but do not test for it any more. Ticket #130. (CVS 701) (check-in: [bdbdb866f2] user: drh branch: trunk, size: 20388)
2002-07-13
17:23
[edb22daad5] part of check-in [72a609ec64] Partial fix for ticket #96: Return SQLITE_MISUSE from sqlite_exec() if called from a child process with an active transaction that was started in the parent. (CVS 675) (check-in: [72a609ec64] user: drh branch: trunk, size: 20617)
2002-07-07
16:52
[6902568313] part of check-in [f6e24d5ccb] More rollback problems: Fix two more errors introduced by checking (410) that can cause database corruption after a ROLLBACK. Also add new tests to make sure everything is working this time. (CVS 663) (check-in: [f6e24d5ccb] user: drh branch: trunk, size: 20389)
2002-05-29
12:44
[9cc40c5384] part of check-in [ed11abc81e] Remove extra \ characters from temporary filenames under windows. (Ticket #52) (CVS 596) (check-in: [ed11abc81e] user: drh branch: trunk, size: 20183)
2002-03-20
00:00
[5ab8b6b459] part of check-in [c2e0b79057] One more change before 2.4.2: Make the os.h header file more robust in detecting whether to use unix or windows. (CVS 434) (check-in: [c2e0b79057] user: drh branch: trunk, size: 20099)
2002-03-05
01:11
[db969ecd1b] part of check-in [414da4af1f] Add the ability to turn of calls to fsync() using the "synchronous" pragma. Increased the default cache size from 100 to 2000 and made the "cache_size" pragma persistent. (CVS 418) (check-in: [414da4af1f] user: drh branch: trunk, size: 20428)
2002-02-18
12:48
[f6bc9b7ab5] part of check-in [d3d59261da] Enhancement to Windows "file-exists" function by Joel Lucsy. (CVS 374) (check-in: [d3d59261da] user: drh branch: trunk, size: 20040)
2002-02-02
15:01
[1953080d14] part of check-in [aaa53e113e] Checkpoint code added to the pager. Regression tests work but the new APIs have not been tested yet. (CVS 361) (check-in: [aaa53e113e] user: drh branch: trunk, size: 20231)
2002-01-15
18:39
[c615faa4d2] part of check-in [f8a026a3ca] Added implementations for sqliteOsEnterMutex() and sqliteOsLeaveMutex(). (CVS 348) (check-in: [f8a026a3ca] user: drh branch: trunk, size: 19897)
2002-01-14
09:28
[dd91ef2155] part of check-in [f3038d218c] Fix warning messages in VC++. Patches from nicolas352001. (CVS 347) (check-in: [f3038d218c] user: drh branch: trunk, size: 18707)
2001-12-14
15:09
[07882cde5c] part of check-in [b0d2188764] Fix a race condition in the locking code that would sometimes cause SQLITE_PROTOCOL or SQLITE_CORRUPT to be returned when SQLITE_BUSY should have been returned. (CVS 326) (check-in: [b0d2188764] user: drh branch: trunk, size: 18702)
2001-12-06
13:24
[f4d19ca920] part of check-in [6694540608] Bug fix in the sqliteOsLock() and sqliteOsUnlock() routines of POSIX. Version 2.1.5. (CVS 325) (check-in: [6694540608] user: drh branch: trunk, size: 17484)
2001-11-22
00:01
[d7dc681438] part of check-in [a9db1c12c5] Fix a bug in the locking protocol. (CVS 315) (check-in: [a9db1c12c5] user: drh branch: trunk, size: 17439)
2001-11-09
22:41
[d1c5c12bcc] part of check-in [6e7e7dbf8e] Minor bugs fixed. (CVS 307) (check-in: [6e7e7dbf8e] user: drh branch: trunk, size: 17384)
2001-10-22
02:58
[66b677479e] part of check-in [f8328a5f11] More changes for 2.0.7. (CVS 293) (check-in: [f8328a5f11] user: drh branch: trunk, size: 17352)
2001-10-18
12:34
[2a501026a6] part of check-in [22948fc685] Support for UTF-8 and ISO8859 characters in identifiers. Bug fix in the column name generator for selects (was coreing). (CVS 290) (check-in: [22948fc685] user: drh branch: trunk, size: 17199)
2001-10-15
00:44
[886bdd6c1d] part of check-in [747bf1b30b] Added support for the COUNT_CHANGES pragma in order to help out the ODBC driver. Fixed a but on count(*) when applied to empty tables. (CVS 289) (check-in: [747bf1b30b] user: drh branch: trunk, size: 17194)
2001-10-12
17:30
[cece4ac6ca] part of check-in [0a7848b619] Fix an assertion failure when the disk fills up. Add tests for a full disk situation. (CVS 285) (check-in: [0a7848b619] user: drh branch: trunk, size: 17192)
2001-10-09
12:39
[a83f4cb85e] part of check-in [864349de6f] More changes prior to release 2.0.2. Mostly comment changes. But there was also a minor change to temptable.test so that it would work under Windows. (CVS 282) (check-in: [864349de6f] user: drh branch: trunk, size: 16398)
04:19
[64d0015bfc] part of check-in [484b82d8a1] Fix the locking protocol. (CVS 280) (check-in: [484b82d8a1] user: drh branch: trunk, size: 13437)
2001-10-08
13:22
[d3f435d892] part of check-in [9368c62e40] Support for temporary tables added. Still need more testing. (CVS 279) (check-in: [9368c62e40] user: drh branch: trunk, size: 9724)
2001-09-23
19:46
[45376582c4] part of check-in [bd7d6a64af] Additional test cases with locking fixes. Also, make the code thread-safe. (CVS 262) (check-in: [bd7d6a64af] user: drh branch: trunk, size: 9656)
2001-09-20
01:44
[faf9f484f3] part of check-in [d2a1aac467] 2.0-Alpha-2 release (CVS 258) (check-in: [d2a1aac467] user: drh branch: trunk, size: 9600)
2001-09-19
13:58
[43735db052] part of check-in [82db5456c9] Add the OpenReadOnly() OS method to fix a bug in the pager. (CVS 257) (check-in: [82db5456c9] user: drh branch: trunk, size: 9493)
13:22
[6ed6f61915] part of check-in [abff526d00] Trying to get the OS abstraction layer to work. (CVS 256) (check-in: [abff526d00] user: drh branch: trunk, size: 9017)
2001-09-17
20:25
Added: [2e0daeca8a] part of check-in [602ea4f9f6] Add a new column in the SQLITE_MASTER table to record the root page number of primary key indices. (CVS 252) (check-in: [602ea4f9f6] user: drh branch: trunk, size: 5469)