SQLite
File History
Not logged in

History of files named src/os_unix.c

2014-12-11
02:28
[fb58712184] part of check-in [5b5d3e4d0d] Merge updates from trunk. (user: mistachkin branch: asciiMode)
2014-10-20
16:34
[fb58712184] part of check-in [d380a6482a] Merge version-3.8.7 changes with this branch. (user: dan branch: experimental-bulk-update)
2014-10-09
11:40
[2af3813fd2] part of check-in [2a6a082001] Record the errno on fstat() failures. (user: drh branch: apple-osx)
2014-10-01
01:46
[318d879a34] part of check-in [2078454ac9] Merge the latest enhancements from trunk. (user: drh branch: apple-osx)
2014-09-27
19:51
[fb58712184] part of check-in [497367cb57] Merge recent trunk changes (performance enhancements) into the sessions branch. (user: drh branch: sessions)
2014-09-22
03:22
[fb58712184] part of check-in [10a6e51049] Disable shared memory operations using the unix-nolock VFS. (user: drh branch: trunk)
2014-09-21
23:08
[eb7b17fa6a] part of check-in [3967ebe83e] Merge in all recent changes from trunk. (user: drh branch: apple-osx)
22:49
[9096a1b144] part of check-in [6406b77f2c] Merge all recent trunk changes into the sessions branch. (user: drh branch: sessions)
2014-09-19
19:00
[9096a1b144] part of check-in [3db78d6100] Make the "nolock" VFS on unix a version-3 VFS so that the sorter can use memory-mapped I/O. (user: drh branch: trunk)
2014-09-15
15:34
[addd023b26] part of check-in [55b8011d5b] Merge latest trunk changes with this branch. (user: dan branch: experimental-bulk-update)
2014-09-08
15:04
[addd023b26] part of check-in [c2885c6bb2] Merge support for large files on Android from trunk. (user: drh branch: sessions)
2014-09-06
17:06
[addd023b26] part of check-in [ad7063aa1a] Fixes to os_unix.c to support database (and other) files larger than 2GiB on Android. (user: dan branch: trunk)
16:52
[074879d737] part of check-in [9dca7ce557] Merge latest trunk changes with this branch. (user: dan branch: android-large-filles)
16:49
[22225d7969] part of check-in [e7fae33c07] Fixes to os_unix.c to support database (and other) files larger than 2GiB. (user: dan branch: android-large-filles)
16:39
[576f95b5b0] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (user: peter.d.reid branch: trunk)
2014-09-02
15:57
[187835e09c] part of check-in [696dc935f7] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
15:49
[8525ca7945] part of check-in [d4cce2c71e] Merge the latest trunk changes, including the multi-threaded sorter, into the sessions branch. (user: drh branch: sessions)
2014-09-01
13:37
[8525ca7945] part of check-in [b0f6b91f36] Attempt to make the xDelete method of the unix VFS more robust on VxWorks. (user: drh branch: trunk)
01:15
[bd7df3094a] part of check-in [51f33cf129] Merge updates from trunk. (user: mistachkin branch: asciiMode)
2014-08-14
14:02
[bd7df3094a] part of check-in [a608fd1d52] Merge the pre-3.8.6 changes into the threads branch. (user: drh branch: threads)
13:39
[cd50269688] part of check-in [08058df3af] Merge the pre-3.8.6 changes from trunk into the apple-osx branch. (user: drh branch: apple-osx)
2014-08-13
14:43
[bd7df3094a] part of check-in [d49455d9a9] Merge the trunk changes for 3.8.6 beta3 into the sessions branch. (user: drh branch: sessions)
11:39
[bd7df3094a] part of check-in [f01d42cc8b] Minor change to unixDelete for VxWorks with a DOS filesystem. (user: drh branch: trunk)
2014-08-12
12:19
[119f4f1fb9] part of check-in [19682e8fdc] Fix typos in the VxWorks code of os_unix.c. (user: drh branch: trunk)
2014-08-11
13:53
[17e7ab0f91] part of check-in [de27c742c0] Changes that will perhaps enable SQLite to work better on VxWorks. (user: drh branch: trunk)
2014-08-08
15:38
[f0a58d439d] part of check-in [36b7c5cefc] The SQLITE_IOERR_BLOCKED extended error code is not longer used, so remove assert() statements and documentation for that error code. Also make other documentation improvements. (user: drh branch: trunk)
2014-06-30
20:25
[a7baf1b30f] part of check-in [ae23a65eb1] Merge the latest trunk changes into the threads branch. (user: drh branch: threads)
20:02
[a7baf1b30f] part of check-in [a5d94eaba6] Merge the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
19:57
[bc2bed8cae] part of check-in [f426876fe1] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2014-06-23
10:04
[a7baf1b30f] part of check-in [612b6d1b1f] Fix a problem with SQLITE_OMIT_WAL builds. (user: dan branch: trunk)
2014-06-18
15:18
[9a97268f1e] part of check-in [0e1b73496f] Merge in all recent changes from trunk, and especially the automatic index enhancements. (user: drh branch: threads)
2014-06-16
18:35
[9a97268f1e] part of check-in [e43a2f92b6] Add the SQLITE_UNLINK_AFTER_CLOSE compile-time option. If enabled, the unlink of temporary files on unix is deferred until after the file is closed. (user: drh branch: trunk)
16:41
[ae4b5240af] part of check-in [0617e20a33] Back out the unix VFS changes that seeks to avoid fstat() calls after an unlink(). That change did not clear the problem on FuseFS. (user: drh branch: trunk)
2014-06-09
20:39
[89be80af51] part of check-in [6484fb5a25] Avoid an unnecessary initialization of the szFile field of unixFile in the unix VFS. (user: drh branch: trunk)
20:24
[e8c5f23bb6] part of check-in [10707d3578] Enhance the unix VFS so that it keeps track of the size of unlinked files internally and thus avoids the need to call fstat() on those files, since fstat() does not work reliably on unlinked files on some implementations of FuseFS. (user: drh branch: trunk)
20:06
[e8c5f23bb6] part of check-in [c41df393c6] Enhance the unix VFS so that it keeps track of the size of unlinked files internally and thus avoids the need to call fstat() on those files, since fstat() does not work reliably on unlinked files on some implementations of FuseFS. (user: drh branch: omit-fstat-after-unlink)
2014-05-09
14:56
[6a54dad9ff] part of check-in [c8d384d146] Fix a misplaced #endif and a C99-ism in the unix VFS. (user: drh branch: apple-osx)
2014-05-08
23:01
[a0ebd5f039] 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. (user: drh branch: apple-osx)
2014-05-02
21:42
[ae4b5240af] part of check-in [598a3875ce] Merge updates from trunk. (user: mistachkin branch: winIoRetry)
21:38
[ae4b5240af] part of check-in [c4d1d8a0db] Merge updates from trunk. (user: mistachkin branch: winHdr)
2014-03-31
22:03
[ae4b5240af] part of check-in [f6211540c9] Merge in the latest changes and fixes from trunk. (user: drh branch: overflow-pgno-cache)
2014-03-26
19:43
[ae4b5240af] part of check-in [fc8ca1a87e] Merge in fixes (including the corrupt-database crash fix) and performance enhancements from trunk. (user: drh branch: sessions)
2014-03-25
18:29
[ae4b5240af] part of check-in [e005f2d6dd] Merge enhancements and fixes from trunk. (user: drh branch: orderby-planning)
13:17
[ae4b5240af] part of check-in [b415dfb6cb] Merge all fixes and enhancements from trunk. (user: drh branch: threads)
2014-03-24
11:23
[ae4b5240af] part of check-in [db7d62c8d5] Avoid attempting to mmap memory from an offset that is not a multiple of the system page size on systems with page sizes larger than 32KB. (user: dan branch: trunk)
2014-03-20
09:42
[ae4b5240af] part of check-in [e3d2be3ba4] Add a test to ensure os_unix.c works with 64KiB OS pages. (user: dan branch: shm-mapping-fix)
08:59
[7e2f6348e9] part of check-in [6f3a5c24d2] Add an experimental fix to avoid attempting to mmap memory from an offset that is not a multiple of the system page size on systems with page sizes larger than 32KB. (user: dan branch: shm-mapping-fix)
2014-03-13
15:41
[18f7f95dc6] part of check-in [d17231b63d] Merge latest trunk changes into this branch. (user: dan branch: threads)
2014-02-21
10:48
[18f7f95dc6] part of check-in [09cf240a7f] Merge updates from trunk. (user: mistachkin branch: winHdr)
2014-02-12
15:05
[c53e2683d8] part of check-in [f352ef57e3] Various fixes and test case updates so that veryquick.test passes again. (user: dan branch: deferred-open)
2014-02-11
19:35
[d75a3d63df] part of check-in [8ef97420b2] Test case updates to account for the fact that database files are not created until they are first written. (user: dan branch: deferred-open)
04:30
[18f7f95dc6] part of check-in [b006792695] Sync the latest trunk changes, and in particular the STAT4 IS NOT NULL fix. (user: drh branch: sessions)
2014-02-10
21:09
[a45a0d2fc8] part of check-in [95d0c58d27] Fix a bug causing the POWERSAFE_OVERWRITE device-characteristic flag to be set incorrectly if file opening is deferred. (user: dan branch: deferred-open)
19:37
[dcb7dd4fb2] part of check-in [538f7b25e4] Experimental change to os_unix.c to delay creating a database file until it is first written. (user: dan branch: deferred-open)
2014-02-07
19:33
[18f7f95dc6] part of check-in [4043d87979] Fix redundant definitions of _LARGE_FILE and _LARGEFILE_SOURCE. (user: drh branch: trunk)
2014-01-28
18:06
[f3ed0e406c] part of check-in [7b5f377386] Bring in the latest updates from trunk. (user: drh branch: sessions)
2014-01-24
22:58
[f3ed0e406c] part of check-in [87bf60637e] Fixes for various clang warnings. (user: drh branch: trunk)
14:05
[3a4dcb554d] part of check-in [9b43e55919] Bring in all the latest trunk changes, including the Common Table Expressions implementation. (user: drh branch: sessions)
2014-01-15
00:24
[35b55bffd4] part of check-in [c697d2f83c] Merge recent fixes from trunk. Cherrypick of c43b59dac1, a221aa82bb, e1eba1fb09, and 1e131094b5. (user: mistachkin branch: branch-3.8.2)
2014-01-10
16:40
[3a4dcb554d] part of check-in [0484549bb8] Fix another harmless compiler warning in unixUnfetch(). (user: dan branch: trunk)
2014-01-09
13:39
[9270957b8e] part of check-in [618f248f4e] Fix harmless compiler warning in unixUnfetch(). (user: drh branch: trunk)
2014-01-01
15:18
[abeb9d5403] part of check-in [e1eba1fb09] Try to detect process ID changes due to fork() calls in os_unix.c and reset the PRNG when a process ID change is detected. (user: drh branch: trunk)
2013-12-14
18:24
[60a7b3b23e] part of check-in [32477642d7] Merge in all recent preformance enhancements from trunk. (user: drh branch: sessions)
2013-12-07
16:56
[60a7b3b23e] part of check-in [369a23e006] At the start of each journaled write transaction, check to see if the database file has been moved, and if it has refuse to start the transaction, returning an SQLITE_READONLY_DBMOVED error code. Writing to a moved or renamed database is still allowed when journal_mode is OFF or MEMORY. (user: drh branch: trunk)
12:29
[60a7b3b23e] part of check-in [2b1884dc14] Actually look at i-node numbers to determine whether or not the database file has moved. (user: drh branch: detect-moved-db)
2013-12-06
15:49
[f076587029] part of check-in [e579661a79] Update to the 3.8.2 release. (user: drh branch: sessions)
2013-12-05
16:41
[f076587029] part of check-in [e19eead8c9] Fix two potential (and apparently harmless) shift overflows discovered by the -fcatch-undefined-behavior option of clang. (user: drh branch: trunk)
2013-11-11
22:55
[143624d9ea] part of check-in [5addd1234d] Merge in the WITHOUT ROWID changes. A few tests are failing now. They will be fixed in a follow-on check-in. (user: drh branch: sessions)
2013-11-01
17:21
[143624d9ea] part of check-in [dd5d57b9a1] Merge all changes from trunk, and disable a pair of corruption tests that are no longer valid since sqlite_master.rootpage can now be NULL for tables. (user: drh branch: omit-rowid)
2013-10-31
18:49
[143624d9ea] part of check-in [090db8c81d] Fix a problem in os_unix.c causing compilation failure if SQLITE_DEBUG and SQLITE_MAX_MMAP_SIZE=0 are both defined. (user: dan branch: trunk)
2013-09-12
00:40
[243fb37f47] part of check-in [fca799f03a] Merge updates from trunk. (user: mistachkin branch: vsix2013)
2013-09-03
14:49
[243fb37f47] part of check-in [cdd3838b78] Merge in all the latest trunk changes, including the win32-longpath VFS and the fix for the segfault in the omit-left-join optimization. (user: drh branch: sessions)
2013-09-01
23:36
[243fb37f47] part of check-in [2982725e12] Merge updates from trunk. (user: mistachkin branch: toTypeFuncs)
2013-08-31
18:36
[243fb37f47] part of check-in [c94933f132] Cleanup of the windows VFS, including added support for Cygwin, fixes for compiler warnings under unusual configurations, and improved diagnostic error messages. (user: drh branch: trunk)
2013-08-30
21:52
[243fb37f47] part of check-in [a411df7251] Add support for Cygwin when handling temporary file names. Improve error codes and diagnostic messages for temporary file name handling on Windows. Rename winConvertUtf8Filename to winConvertFromUtf8Filename. Improve placement and comments for forward function declarations. (user: mistachkin branch: cygwinTempPath)
14:24
[7d5f3c51db] part of check-in [ba51905343] Add the SQLITE_MINIMUM_FILE_DESCRIPTOR compile-time option, for control over exactly which low-numbered file descriptors SQLite will use. (user: drh branch: trunk)
06:20
[81271e3808] part of check-in [d9c018f815] Improvements to the robust_open() logic in the unix VFS so that if an attempt is made to open a repository on file descriptors 0, 1, or 2, and blocking that file descriptor by opening it on /dev/null fails, then the open will fail. (user: drh branch: trunk)
2013-08-29
23:36
[45d425550a] part of check-in [30d38cc449] Make the unix VFS defensive against the error of having a database file open on file descriptors 1 or 2, as an error message might easily be written onto those file descriptors and thus overwrite and corrupt the database. (user: drh branch: trunk)
23:34
[45d425550a] part of check-in [66dddda068] Change the unix VFS so that it refuses to open a database file using a file descriptor less than 3. (user: drh branch: overwrite-avoidance)
21:26
[94c7edbd75] part of check-in [3426673e46] Never leave an open file descriptor pointing into the middle of the database file if the file descriptor number is 2 or less. (user: drh branch: overwrite-avoidance)
15:08
[c27a14a050] part of check-in [e7ebc8f74f] Merge from trunk: (1) Recent bug fixes (2) STAT4 support (3) win32-longpath support. (user: drh branch: sessions)
2013-08-28
18:56
[c27a14a050] part of check-in [ffc6e68283] Merge updates from trunk. (user: mistachkin branch: toTypeFuncs)
18:18
[c27a14a050] part of check-in [12d0a8859d] Add the win32-longpath VFS allowing windows filenames up to 32K characters in length. Remove unused code when -DSQLITE_MAX_MMAP_SIZE=0. Fix some compiler warnings on windows. (user: drh branch: trunk)
2013-08-26
19:36
[c27a14a050] part of check-in [9d6860098f] Merge updates from trunk. (user: mistachkin branch: mmapDisabled)
14:30
[6005be1c24] part of check-in [edd5dbdc32] Fix for builds with both SQLITE_OMIT_WAL and SQLITE_MAX_MMAP_SIZE=0 defined. (user: dan branch: trunk)
2013-08-24
01:12
[44a2b26acd] part of check-in [25b029d8f3] Fix a couple compilation issues on Unix. (user: mistachkin branch: mmapDisabled)
00:59
[e767bca6ca] part of check-in [032c31593d] Unify the result of PRAGMA mmap_size when mmap support is disabled. (user: mistachkin branch: mmapDisabled)
2013-06-26
13:31
[9eafa5458c] part of check-in [086a127236] Bring the sessions branch up-to-date with all the latest trunk changes. (user: drh branch: sessions)
2013-06-21
18:32
[9eafa5458c] part of check-in [fa2a91e6c6] Merge updates from trunk. (user: mistachkin branch: toTypeFuncs)
2013-06-20
14:17
[9eafa5458c] part of check-in [d94db3fd92] Pull in the posix_fallocate() change from trunk. (user: drh branch: nextgen-query-plan-exp)
14:07
[9eafa5458c] part of check-in [b674462243] Disable posix_fallocate() for all systems, all the time, unless the HAVE_POSIX_FALLOCATE compile-time macro is supplied. (user: drh branch: trunk)
2013-06-19
23:48
[a4c49f855c] part of check-in [bf5764067a] Merge in trunk changes to os_unix.c that allow the code to build on unix platforms that lack posix_fallocate(). (user: drh branch: nextgen-query-plan-exp)
14:49
[a4c49f855c] part of check-in [2b2ade9278] Only default HAVE_POSIX_FALLOCATE on for linux, and then only if it is not previously defined. (user: drh branch: trunk)
14:28
[4b19844690] part of check-in [b9b30d4f98] Only enable posix_fallocate by default on linux and mac. (user: drh branch: trunk)
2013-05-24
13:55
[42c9b8b7c6] part of check-in [7c8f992c04] Merge the latest trunk changes into the NGQP branch. (user: drh branch: nextgen-query-plan-exp)
2013-05-23
01:40
[42c9b8b7c6] part of check-in [761177927c] Cause the mmap_size PRAGMA to immediately change the mmap space if the database connection is already active. In particular, reducing mmap_size will immediately free up process address space. (user: drh branch: trunk)
2013-05-20
15:14
[75ce49309b] part of check-in [14ab6675e5] Merge in all trunk changes up through the 3.7.17 release. (user: drh branch: nextgen-query-plan-exp)
13:01
[75ce49309b] part of check-in [fc88f7311b] Update the sessions branch to the official 3.7.17 release code. (user: drh branch: sessions)
2013-05-17
12:10
[75ce49309b] part of check-in [1def4ea3a0] In os_unix.c and os_win.c, initialize the default mmap-limit of a new file descriptor to the current global default mmap-limit, not the current global maximum allowable mmap-limit. (user: dan branch: trunk)
2013-05-15
08:00
[5e0b0ca759] part of check-in [6fbad95725] Merge updates from trunk. (user: mistachkin branch: toTypeFuncs)
2013-05-10
02:11
[5e0b0ca759] part of check-in [5ed31c8279] Merge in the latest trunk changes. (user: drh branch: nextgen-query-plan-exp)
2013-05-09
23:40
[5e0b0ca759] part of check-in [512f8a1ef8] Merge trunk changes into the sessions branch. (user: drh branch: sessions)
18:12
[5e0b0ca759] part of check-in [cf5c364224] Add assert()s to the implementation of xRead() in the built-in VFSes to verify that the offset parameter is always non-negative. (user: drh branch: trunk)
2013-05-03
18:29
[658b180a09] part of check-in [3879ab1b53] Merge all recent trunk changes into the sessions branch. (user: drh branch: sessions)
2013-05-02
17:37
[658b180a09] part of check-in [b81e87e72b] Minor fixes for compilation with SQLITE_OMIT_WAL defined. (user: dan branch: trunk)
2013-04-27
12:13
[5a214c5431] part of check-in [f14d55cf35] Untested fix for building on VxWorks. (user: drh branch: trunk)
2013-04-26
17:00
[f86cd628ff] part of check-in [1bbb4be1a2] Avoid using posix_fallocate() in WAL mode, as it is not supported by all file-systems. (user: dan branch: trunk)
16:09
[f86cd628ff] part of check-in [9c7523dabf] Avoid using posix_fallocate() in WAL mode, as it is not supported by all file-systems. (user: dan branch: avoid-fallocate)
2013-04-22
23:59
[5a9ac4a566] part of check-in [6994826c07] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
23:38
[5a9ac4a566] part of check-in [1a1cf5aa86] Fix harmless compiler warnings. (user: drh branch: trunk)
2013-04-15
17:03
[0a561eae59] 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. (user: drh branch: trunk)
2013-04-11
01:16
[5707fcb125] part of check-in [e238dcf918] Have the UNIX VFS issue warnings via sqlite3_log() if a database file is renamed or unlinked or linked to more than one name while the file is open. (user: drh branch: trunk)
2013-04-09
19:19
[d732dca04f] part of check-in [96f04d99f3] Check in the instrumented code for the mptest test case that appears to show a spontaneously disappearing journal file. (user: dan branch: missing-journal-file)
16:19
[a6e9caadd8] part of check-in [c1e2523c90] Add extra #ifndef statements in os_unix.c and os_win.c to make sure the memory mapped I/O really is disabled when SQLITE_DISABLE_MMAP is set. (user: drh branch: trunk)
2013-04-08
15:30
[6d584190db] part of check-in [360473493e] Handle the case in os_unix.c where SQLITE_FCNTL_MMAP_LIMIT requests that the mmap limit be set to a value smaller than the current mapping. (user: dan branch: trunk)
2013-04-04
00:40
[f0ecce40d9] part of check-in [fff2be6077] Try to use mmap() to speed access to the database file on windows, linux, and mac. (user: drh branch: trunk)
2013-04-03
13:09
[f0ecce40d9] part of check-in [2d9f1327fe] Change the mmap_limit pragma to report the new limit, or to report the existing limit if called with no arguments. Report the default mmap_limit as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for all systems other than linux, mac, windows, and solaris. (user: drh branch: experimental-mmap)
10:50
[626ddccfd5] part of check-in [24bab7596b] Initialize the mmap_limit of temporary files to the configured mmap_limit. (user: drh branch: experimental-mmap)
00:42
[f7d8c6ef5f] part of check-in [1dd42ef414] Fix the unix driver to check defined(_BSD_SOURCE) rather than just the plain _BSD_SOURCE macro. This fixes the build for OpenBSD. (user: drh branch: experimental-mmap)
2013-04-02
20:55
[e8e76c9542] part of check-in [b29cda03fe] Fix a resource leak in os_unix.c. (user: dan branch: experimental-mmap)
12:04
[42684a59b0] part of check-in [3098a3c1e7] Add test cases for errors in mmap() or mremap() is os_unix.c. (user: dan branch: experimental-mmap)
2013-04-01
22:42
[d136eca0cf] part of check-in [8198cdd8ac] Remove a debugging printf() accidently left in the previous check-in. (user: drh branch: experimental-mmap)
22:38
[9912ab0cfc] part of check-in [78141d0a16] Add the SQLITE_CONFIG_MMAP_LIMIT configuration option for overriding the SQLITE_DEFAULT_MMAP_LIMIT compile-time setting. Enhance "PRAGMA mmap_limit" so that without a specific database name, it sets the limit on all database files and changes the default for any future databases that might be added using ATTACH. (user: drh branch: experimental-mmap)
17:56
[d136eca0cf] part of check-in [4d67433db8] Attempt to emulate mremap() on non-Linux systems by allocating a second mapping immediately following the first in virtual memory. (user: dan branch: experimental-mmap)
14:20
[2c54787f5c] part of check-in [80c63443c4] Minor changes to unixMapfile() function. (user: dan branch: two-mappings)
2013-03-29
18:52
[0bebbe673f] part of check-in [e8bcdf938e] Fix a problem in btree.c that could cause a crash following an OOM. Also various test script problems. (user: dan branch: two-mappings)
11:24
[68b5606c0b] part of check-in [3b7ec8d79e] Avoid assuming the page-size is 4096 bytes in os_unix.c. (user: dan branch: two-mappings)
2013-03-28
01:19
[21a36fa0b3] part of check-in [ee35a89712] Merge the changes for the 3.7.16.1 release candidate into the sessions branch. (user: drh branch: sessions)
2013-03-27
19:53
[3894d0620b] part of check-in [0e3d511927] Modify various test cases so that they work if the file is extended in units of the system page-size. (user: dan branch: two-mappings)
2013-03-26
20:32
[d37ec5f108] part of check-in [e7698cba9b] Change os_unix.c to use either one or two mappings internally. (user: dan branch: two-mappings)
18:48
[d698121858] part of check-in [72813b8ec9] Fix a comment in os_unix.c. No code changes. (user: drh branch: experimental-mmap)
2013-03-25
23:09
[57306f1d2a] part of check-in [1b37c4effd] Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can be 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. (user: drh branch: experimental-mmap)
20:50
[6b3f972a8b] part of check-in [8776047bd7] Add munmap and mremap to the set of os interfaces that can be overloaded in os_unix.c. (user: drh branch: experimental-mmap)
20:30
[a4d7076a6e] part of check-in [431aecc860] Use mremap() on Linux. (user: dan branch: experimental-mmap)
19:57
[54b82f341b] part of check-in [a607d63f0b] Merge all recent trunk changes into the experimental-mmap branch. (user: drh branch: experimental-mmap)
19:05
[6815e3dd9a] part of check-in [6ec7367d8e] Add a test that simulates an error in mmap(). (user: dan branch: experimental-mmap)
17:00
[664fc178a9] part of check-in [115b830509] Change the signature of the xUnfetch method to "int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p)". (user: dan branch: experimental-mmap)
16:28
[82efc58c81] part of check-in [dce35c01a5] Remove unnecessary code to round the size of a memory mapping to 4KB from os_unix.c. Rename SQLITE_IOERR_MREMAP to SQLITE_IOERR_MMAP. Fix other small issues in os_unix.c. (user: dan branch: experimental-mmap)
13:50
[1e61abcb66] part of check-in [5885ba6ce7] Fix a case in the pager where an xFetch() reference was being leaked following an OOM error. (user: dan branch: experimental-mmap)
2013-03-23
21:00
[d8cdf331ad] part of check-in [1431be9557] Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch. (user: dan branch: experimental-mmap)
2013-03-22
17:46
[55d1108793] part of check-in [19345416ed] Add a fix for the assert() statements added by the previous commit. (user: dan branch: experimental-mmap)
08:58
[18153e6fc0] part of check-in [765615f9fb] Add assert statements to os_unix.c to ensure that any mapped region of the database file is not being read or written using the xRead() or xWrite() methods. (user: dan branch: experimental-mmap)
2013-03-21
21:20
[21a36fa0b3] part of check-in [6f6e2d5094] Many spelling fixes in comments. No changes to code. (user: mistachkin branch: trunk)
14:47
[be66c31337] part of check-in [5ed8ad780c] Do not use the Linux mremap() call. Use the same strategy for xMremap() as on OSX instead. (user: dan branch: experimental-mmap)
2013-03-20
18:25
[c96bdc9e91] part of check-in [9529ed88a7] Optimize the xMremap method in os_unix.c some. (user: dan branch: experimental-mmap)
14:26
[aedd47c214] part of check-in [14135da3cd] When possible, use memory mapping when appending new pages to a database file. (user: dan branch: experimental-mmap)
2013-03-19
19:28
[0c7b0d076f] part of check-in [6183f1bd86] Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size". (user: dan branch: experimental-mmap)
2013-03-14
18:34
[2a4cd96aab] part of check-in [6f21d9cbf5] Use mmap() to read from the database file in rollback mode. This branch is unix only for now. (user: dan branch: experimental-mmap)
2013-03-06
02:12
[f6387eef0c] part of check-in [d69d21903b] Merge all the latest trunk changes into the sessions branch. (user: drh branch: sessions)
01:48
[f6387eef0c] part of check-in [ce4ac66a4b] Add the SQLITE_READONLY_ROLLBACK extended error code. Do not try to set the permissions on journal or wal files except if the filesize is initially zero (indicating that it is a new file.) (user: drh branch: trunk)
01:41
[f6387eef0c] part of check-in [4f5f3aebe8] Fix an operator precedence problem on the 1d8086902e check-in. (user: drh branch: ex-robust-open)
2013-03-05
16:54
[d8ab3f4bae] part of check-in [4e6e07a60e] Failed merge experimental branch with trunk. (user: dan branch: ex-robust-open)
15:27
[d8ab3f4bae] part of check-in [1d8086902e] Do not attempt to set the permissions on an existing journal or wal file. Do this only immediately after creating a new file (or opening one zero bytes in size). (user: dan branch: experimental)
2013-03-01
01:07
[8964f621aa] part of check-in [d73435587b] Always use strncmp() rather than memcmp() when comparing strings where one or other string might be less than the length parameter, since optimized versions of memcmp() might read past the first difference and in so doing generate an access violation. (user: drh branch: trunk)
2013-01-09
14:49
[dfdc04b126] part of check-in [34af6fac67] Merge latest trunk changes into the sessions branch, especially the ORDER BY bug fix of 3.7.15.2. (user: drh branch: sessions)
2013-01-07
17:31
[dfdc04b126] part of check-in [bf90f1fbf8] Merge updates from trunk. (user: mistachkin branch: configReadOnly)
2013-01-04
20:45
[dfdc04b126] part of check-in [6c4c2b7dba] Do not use umask() since it change the umask for the entire process, not just the thread using SQLite. Make whatever permission changes are needed using fchmod() after the file is created, instead. (user: drh branch: trunk)
2012-12-14
15:54
[ad459bb62e] part of check-in [6d507e4de9] Merge in all the trunk changes that have occurred since this branch was opened. (user: drh branch: vtab-IN-opt)
2012-12-08
23:37
[ad459bb62e] part of check-in [4f6d69ae94] Pull the latest trunk changes into the sessions branch, and in particular the collating-sequence refactorization. (user: drh branch: sessions)
06:46
[ad459bb62e] part of check-in [e65db42c9f] Merge updates from trunk. (user: mistachkin branch: configReadOnly)
2012-12-06
19:01
[ad459bb62e] part of check-in [1a63b1d5fa] Add the SQLITE_FCNTL_TEMPFILENAME file control that asks the underlying VFS to return a new temporary filename. Per request from NSS team at Mozilla. (user: drh branch: trunk)
2012-11-27
21:56
[b75d9b0876] part of check-in [ba8d08b670] Update the sessions branch to include the SQLLOG enhancement, the SQLITE_IOERR_DELETE_NOENT fix, and a fix for the number-of-documents bug in FTS4. (user: drh branch: sessions)
2012-11-13
11:16
[b75d9b0876] part of check-in [29980b08ec] Strive to use posix_fallocate() rather than ftruncate() when posix_fallocate() is available. Ticket [5eaa61ea18]. (user: drh branch: trunk)
11:08
[b75d9b0876] part of check-in [597333f102] Use preprocessor macros to automatically detect whether or not posix_allocate() is available. (It is generally available on Linux but not on Mac.) Ticket [5eaa61ea1881040b17449ca043b6f8fd9ca55dc3] (user: drh branch: tkt-5eaa61ea18)
10:54
[fad4c9cbf8] part of check-in [356259617c] When available, use posix_fallocate() rather than ftruncate() to allocate space for mmap()ed -shm files, since posix_fallocate() gives an error if no disk space is available whereas ftruncate() is silent and leaves the system vulnerable to a SIGBUS upon first write to the mmap()ed region. Ticket [5eaa61ea1881040b17449ca043b6f8fd9ca55dc3] (user: drh branch: tkt-5eaa61ea18)
2012-11-10
01:27
[f0753566e1] part of check-in [2993ca2020] Merge the latest changes from trunk: chiefly the outer/inner loop query optimizer scoring enhancement and the INSTR() function. (user: drh branch: sessions)
2012-11-09
21:40
[f0753566e1] part of check-in [5a3b07f0f5] Only log unlink() errors if the error is something other than SQLITE_IOERR_DELETE_NOENT. The error is still reported up the stack, it is simply not added to the sqlite3_log(). (user: drh branch: trunk)
20:17
[1f7c7f2a3b] part of check-in [bed9c172ce] Change os_unix.c to propagate ENOENT errors back to sqlite as SQLITE_IOERR_DELETE_NOENT. Have SQLite ignore these where they are benign and propagate them back to the caller where they may indicate a file-system malfunction of some description. (user: dan branch: trunk)
2012-10-30
21:03
[603d020fe6] part of check-in [fce667f2d9] Pull all the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
2012-10-26
13:46
[603d020fe6] part of check-in [63a7dd75e6] Add QNX-specific performance tweaks to the unix VFS. (Cherry-pick merge of b02849e7bde458.) (user: drh branch: trunk)
13:25
[2383c59237] part of check-in [cbfd1b120a] Add QNX-specific performance tweaks to the unix VFS. (Cherry-pick merge of b02849e7bde458.) Put auxiliary libraries after libsqlite3.a in the testfixture target of the "main.mk" makefile. (Cherry-pick merge of 8fc8548f52ab8fcfb5.) (user: drh branch: branch-3.7.14)
2012-10-16
23:08
[0d3a39dd57] part of check-in [f021559d8a] Merge updates from trunk. (user: mistachkin branch: configReadOnly)
2012-10-15
14:25
[0d3a39dd57] part of check-in [76767d651f] Merge all the latest core changes into the sessions branch. (user: drh branch: sessions)
2012-10-09
18:51
[0d3a39dd57] part of check-in [7b1a6e6cb5] Attempt to suppress warnings generated by Coverity. (user: drh branch: trunk)
14:58
[a5a45a2857] part of check-in [f1fbb8c5bf] Merge the latest trunk changes, especially the ORDER BY optimizer enhancements but also other fixes, onto the sessions branch. (user: drh branch: sessions)
2012-10-05
19:10
[97c346f849] part of check-in [b02849e7bd] Add QNX-specific performance tweaks to the unix VFS. (user: drh branch: branch-3.7.9)
2012-10-03
20:25
[a5a45a2857] part of check-in [1138815c62] Merge updates from trunk. (user: mistachkin branch: configReadOnly)
2012-10-01
12:16
[a5a45a2857] part of check-in [daebe3bd2d] Make sure the size parameter to read and write VFS methods in the unix VFS do not become too big or go negative. This was not actually possible in the current code. The checks are added to make sure some future bug does not make it possible. (user: drh branch: trunk)
2012-08-31
14:23
[69b2fe6631] part of check-in [87995dc940] Update with latest trunk changes. (user: dan branch: sessions)
14:10
[0482b132e8] part of check-in [bc9b9cd058] Merge in latest trunk changes. (user: dan branch: apple-osx)
2012-08-25
10:01
[69b2fe6631] part of check-in [9b19b84753] Fix all known instances of 'repeated the' style typos in comments. No changes to code. (user: mistachkin branch: trunk)
01:38
[7f7816723a] part of check-in [6723add4f4] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
01:21
[b5149a3343] part of check-in [aa62d6881b] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2012-08-21
17:46
[b5149a3343] part of check-in [45cdc32f1e] Merge in all the latest trunk changes. (user: drh branch: threads-sort-ex1)
17:36
[b5149a3343] part of check-in [c92b0fe137] Cherry-pick 555fc07: Changes to the thread routines to disable them when threading is turned off using sqlite3_config(). Also merge all recent trunk changes. (user: drh branch: threads)
2012-08-20
15:53
[b5149a3343] part of check-in [7edd10a960] Remove tab characters from source code files. Replace them with spaces. (user: drh branch: trunk)
2012-06-08
01:13
[767d9ae4ed] part of check-in [9d1b851562] Merge trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-06-07
23:58
[d7c96b5d14] part of check-in [c621403983] Merge all trunk changes, including the WinRT enhancements, into the sessions branch. (user: drh branch: sessions)
2012-06-05
19:20
[d7c96b5d14] part of check-in [42338e9e69] Merge the latest trunk changes into shared-schema branch. Also fix a C99-ism in that branch. (user: drh branch: shared-schema)
2012-05-31
13:10
[d7c96b5d14] part of check-in [70c419a434] Avoid calling fchown() if the process is not running as root. (user: drh branch: trunk)
00:21
[1f91f7309b] part of check-in [ed53b645cc] Only call fchown when running as root and supporting files mismatch the database owner & perms (user: adam branch: apple-osx)
2012-05-29
17:02
[8a90a7cdfc] part of check-in [8e3025709e] Changes some NDEBUG macros to SQLITE_DEBUG in os_unix.c. The is a notational change only and really should not effect the code. (user: drh branch: trunk)
2012-05-17
14:17
[d0eeadc475] part of check-in [4068abe05c] Stylistic fixes: limit source code line length to 80 characters. C89-style comments only, not C++/C99 style. (user: drh branch: apple-osx)
2012-05-16
22:08
[a87e927ca7] part of check-in [92e7bb9078] Improve error reporting from sqlite3_file_control, SQLITE_FCNTL_REPLACE_DATABASE shouldn't copy file security/ACL metadata, bad bit mask fixed (user: adam branch: apple-osx)
2012-05-09
22:36
[f8c943a0f9] part of check-in [654792941011c] Added support for SQLITE_ENABLE_PERSIST_WAL compile time macro, retrieving lastErrno from WAL file and setting last errno when writes fail due to space constraints (user: adam branch: apple-osx)
2012-04-19
20:43
[d1978ba892] part of check-in [b72f07b4a2] Update the apple-osx branch so that it includes all of the latest trunk changes. (user: drh branch: apple-osx)
2012-04-18
05:57
[424d46e0ed] part of check-in [ad5cd15f49] Import all the latest trunk changes into the WinRT branch. Refactor and/or remove WinCE-specific macros and functions used for file locking to improve clarity of presentation. (user: mistachkin branch: winrt)
01:41
[424d46e0ed] part of check-in [87a0eab5d9] Import all the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2012-04-14
13:25
[424d46e0ed] part of check-in [9efbeb11ae] In the unix VFS, always set every open file to close-on-exec using either O_CLOEXEC at open (preferred) or FD_CLOEXEC in an ioctl after opening. Before this changes, many files were done this way, but not all. (user: drh branch: trunk)
2012-04-05
20:04
[75eff7b41c] part of check-in [1b08fef945] Ignore the value of SQLITE_FCNTL_CHUNK_SIZE if it is negative. (user: drh branch: trunk)
2012-04-02
23:35
[5e6ead4f8f] part of check-in [d51c086e5c] Merge in latest changes, autologging options, read only file system wal support, test config conditionalization, WAL frame write prebuffering (user: adam branch: apple-osx)
2012-03-05
16:39
[c008584c89] part of check-in [504bf49086] Pull in all the latest trunk changes. (user: drh branch: apple-osx)
16:26
[0e3d2942d2] part of check-in [ff86875ca3] Merge in the latest trunk changes. (user: drh branch: sessions)
2012-02-22
20:08
[0e3d2942d2] part of check-in [c81fc40b2b] Move test logic for SQLITE_FCNTL_PRAGMA out of os_unix.c and into test_vfs.c. (user: drh branch: file-control-pragma)
19:03
[49e10d7d57] part of check-in [9a1da91850] Disable the "filename" pragma implemented by os_unix.c except when compiled with SQLITE_TEST. (user: drh branch: file-control-pragma)
16:58
[497e355ab6] part of check-in [fd8d744027] Change the SQLITE_FCNTL_PRAGMA file-control so that it can return a string value. (user: drh branch: file-control-pragma)
2012-02-13
20:28
[0e3d2942d2] part of check-in [a8a042a751] Fix a harmless compiler warning introduced by the previous check-in. (user: drh branch: trunk)
20:16
[8035d8af66] part of check-in [84b324606a] On unix, ignore the umask when creating journal files. That way, journal files will have exactly the same permissions as the original database and any process that has permission to write to the database can also recover hot journals. (user: drh branch: trunk)
08:50
[fd5875e602] part of check-in [bfbfe05b81] Fix a typo in the type of the fchown() function in os_unix.c. (user: dan branch: trunk)
2012-02-11
23:55
[55fbf23bb9] part of check-in [98efac9630] Make fchown() an overrideable system call in os_unix.c. (user: drh branch: trunk)
21:21
[3dd0399fe0] part of check-in [b022547389] Silence GCC compiler warnings about unused return value from fchown(). (user: drh branch: trunk)
19:23
[f7e7b3e4f6] part of check-in [1254dffe40] When creating journal files (including -wal and -shm files) try to set the ownership to be the same as the original database. This will prevent root from locking out the original owner of the file. (user: drh branch: trunk)
18:51
[35fb4bc9bc] part of check-in [31142ca795] Remove a redundant test from the shared-memory logic in os_unix.c. (user: drh branch: trunk)
2012-02-10
18:18
[34a2b44b83] part of check-in [e248598649] Pull the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
17:54
[d509b369ed] part of check-in [361fb66a79] Pull all the latest trunk changes into the sessions branch. (user: drh branch: sessions)
03:10
[d509b369ed] part of check-in [1a16db0bca] Fix an important bug in the handling of EINTR in unixRead(). Never came up on x86 but crashes on sparc. (user: drh branch: trunk)
2012-01-14
14:13
[43d5790e03] part of check-in [2cc414cd14] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
13:50
[657672fab2] part of check-in [01c84fd391] Update sessions branch with latest changes from trunk. (user: dan branch: sessions)
2012-01-10
23:18
[657672fab2] part of check-in [cb774b26e1] Only require double-zero terminators on database filenames, not any every files supplied to the xOpen method. This backs out 2544f233f1. Also refactor the fillInUnixFile() routine in os_unix.c to reduce the number of parameters. (user: drh branch: trunk)
2012-01-05
21:19
[2ad4366b3c] part of check-in [3d088ba5e3] Make sure the name of the shared memory file has two zero-terminators in the UNIX VFS, so that sqlite3_uri_parameter() will work correctly on that name. (user: drh branch: trunk)
16:07
[b65e2d9084] 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. (user: drh branch: trunk)
13:02
[f19ca2ef60] part of check-in [a9bcb432f5] Merge all of the latest trunk changes into the sessions branch. (user: drh branch: sessions)
11:43
[f19ca2ef60] part of check-in [7cf568a101] Remove the SQLITE_FCNTL_SYNC_OMITTED cases from the unix and windows VFSes as they are no longer needed because of check-in fd3822f1f2. (user: drh branch: trunk)
2012-01-03
21:54
[fc31595783] part of check-in [8a048423f0] Pull all the latest trunk changes over into the apple-osx branch. (user: drh branch: apple-osx)
14:50
[aff2f5e663] part of check-in [d73e93cfdc] Make sure filenames passed into sqlite3OsOpen() always have the extra zero-terminators needed by sqlite3_uri_parameter(). (user: drh branch: trunk)
2012-01-02
18:20
[51acd5477f] part of check-in [03d8362cd2] Remove the code that attempts to find the sector size from the OS and hardcode the xSectorSize methods of the unix and windows VFSes to return SQLITE_DEFAULT_SECTOR_SIZE, which is now set to 4096 unless overridden. (user: drh branch: trunk)
2011-12-23
02:07
[3a441671f3] part of check-in [2370d70eb5] Merge the POWERSAFE_OVERWRITE features and the use of statvfs() from the statvfs branch into trunk. (user: drh branch: trunk)
01:04
[3a441671f3] part of check-in [6191c5e451] Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE. The query parameter used to control this device characteristic is now "psow". (user: drh branch: statvfs)
00:25
[ac21edf979] part of check-in [d5e36327c1] Merge the latest trunk changes into the statvfs branch. (user: drh branch: statvfs)
00:07
[ee4ea557de] part of check-in [83d26b9a91] Add interfaces sqlite3_uri_boolean() and sqlite3_uri_int64() which are wrappers around sqlite3_uri_parameter() combined with internal routines for converting strings to booleans and 64-bit integers. (user: drh branch: trunk)
2011-12-21
14:42
[3e630701ef] part of check-in [c83627b732] Add the ability to enable or disable SQLITE_IOCAP_ZERO_DAMAGE using a URI 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. (user: drh branch: statvfs)
2011-12-17
19:49
[e2b96f85eb] part of check-in [a0be6ea464] Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Use 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(). (user: drh branch: statvfs)
16:25
[a1d12b748d] part of check-in [915713ffe4] Fix a bad #endif with the previous check-in on this branch. (user: drh branch: statvfs)
16:09
[987407fd03] part of check-in [e0d44450b9] Add support for statvfs() in os_unix.c, for determining the sector size. This causes many TCL test failures under Linux. (user: drh branch: statvfs)
2011-12-14
18:33
[7dc7df1033] part of check-in [da118e02c0] Merge the nx-devkit changes into trunk. This includes the new SQLITE_FCNTL_VFSNAME file-control. (user: drh branch: trunk)
18:28
[baad28b27a] part of check-in [08c1dc517c] Merge the VFSNAME file-control addition into the nx-devkit branch. (user: drh branch: nx-devkit)
17:53
[baad28b27a] part of check-in [cdbfb553af] Add a file-control that will discover the name of the bottom-level VFS and all the shims in between. (user: drh branch: vfsname-filectrl)
2011-12-12
20:01
[02b3794c00] part of check-in [c4e2ce4862] Backport a minimal set of changes needed to get 8+3 filenames and the multiplexor shim playing well together. (user: drh branch: nx-devkit)
19:48
[dcb42d7404] part of check-in [169e12295c] Fix os_unix.c so that, unless 8.3 filenames are actually in use, journal and wal file permissions are assigned correctly even if SQLITE_ENABLE_8_3_NAMES is defined. (user: dan branch: trunk)
2011-12-11
02:29
[07dcae2de5] part of check-in [1e6a698aab] Fix harmless compiler warnings. (user: drh branch: trunk)
2011-12-08
21:08
[fa4ef25eb0] part of check-in [59e0d4f3d9] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-11-14
01:55
[f2c4cfdc35] 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. (user: drh branch: mmap-experimental)
2011-11-07
18:16
[4fbb917261] part of check-in [a210695abc] Make the unix VFS tolerant of read() calls that return less than the requested number of bytes. (user: drh branch: trunk)
2011-11-04
02:24
[32f2ac2adb] part of check-in [e2f08426d7] Use mkdir() and rmdir() rather than open() and unlink() to create the lock files with the unix-dotlock VFS. The change is backwards compatible and, we are told, works better on some network filesystems. (user: drh branch: trunk)
2011-11-01
15:45
[82e7107119] part of check-in [72256634773f] If the read() system call in unix returns fewer bytes than expected, retry it until it either returns zero or an error. (user: drh branch: retry-short-reads)
2011-10-31
19:34
[c70a44872d] part of check-in [b2f7639c8f] Fix the os_unix.c source file so that it will build as part of an amalgamation on non-apple platforms. (user: drh branch: apple-osx)
2011-10-21
17:18
[68ca0b5e20] part of check-in [be62ef058b] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
17:08
[ddda0b1c5a] part of check-in [8baef58170] Merge the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
2011-10-20
18:23
[ddda0b1c5a] part of check-in [2b35c5144d] Fix an issue with finding the access permissions of journal files when 8+3 filenames are in use. (user: drh branch: trunk)
2011-10-15
00:16
[1e7dcc176a] 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. (user: drh branch: trunk)
2011-10-14
21:49
[951ac52608] part of check-in [60fee9574b] Add assert() statements and eliminate needless variable assignments in order to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. (user: drh branch: trunk)
2011-10-13
01:01
[d42ad1c4cb] part of check-in [4bf4d5ebfb] Fix a harmless compiler warning introduced into os_unix.c by one of the recent changes. (user: drh branch: trunk)
2011-10-12
23:13
[7f8031b5b3] part of check-in [c96651dd6c] The date/time functions return NULL if the xCurrentTime or xCurrentTimeInt64 VFS methods fail. Ticket [0b803bff856c644c] (user: drh branch: trunk)
2011-10-11
18:38
[cf2d133800] part of check-in [9efb74cefb] Simplify the readonly_shm implementation so that it conforms to the implementation on trunk. Update the test cases to agree with the new behavior. (user: drh branch: apple-osx)
18:18
[b14e8b40e2] part of check-in [f136400483] Change the behavior of the readonly_shm=1 query parameter so that it never attempts to open the -shm file read/write. (user: drh branch: trunk)
15:03
[c254695c73] part of check-in [cce1f52136] Fix a locking error introduced when porting the new Apple locking code. (user: drh branch: apple-osx)
14:19
[b84dfb5c8d] part of check-in [7e2c489822] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
12:58
[9da63854b7] part of check-in [403431cac6] Merge all the latest trunk changes into the sessions branch - especially the SQLITE_ENABLE_STAT3 enhancements. (user: drh branch: sessions)
00:09
[c936dcabe9] part of check-in [b431a63437] Patches to the apple-osx-377 branch so that it will compile and run on non-Mac unix platforms. (user: drh branch: apple-osx-377)
2011-10-10
23:53
[ed727d5822] part of check-in [6cb43f6c6e] Forward port the Apple-specific changes from db5b7b778c in the apple-osx-377 branch. Fix this up so that it will compile and run on Linux. (user: drh branch: apple-osx)
22:11
[8f60f53930] part of check-in [db5b7b778c] Merging in cherry picked diffs for persist wal, alloc padding, wal-safe vacuum and sqlite3_file_control based lockstate checking (user: adam branch: apple-osx-377)
2011-10-05
15:26
[9da63854b7] part of check-in [328cc1867f] When finding the appropriate file permissions for journal files with SQLITE_ENABLE_8_3_NAMES, ignore "-" characters in the name of the containing directory. (user: drh branch: trunk)
2011-09-17
18:56
[6fdce4067d] part of check-in [ffed86bf96] Remove a couple of comments that were causing problems for the amalgamation generator script. (user: drh branch: apple-osx)
2011-09-14
19:41
[10e0c4dcdb] part of check-in [c00e45ede7] Merge latest changes from the trunk into the sessions branch. (user: dan branch: sessions)
19:05
[fed168d529] part of check-in [2456b4d0d2] Merge in the latest changes from trunk. (user: drh branch: apple-osx)
2011-09-13
19:09
[10e0c4dcdb] part of check-in [11ca4ed8bf] Merge the latest trunk changes into the stat3-trunk branch. (user: drh branch: stat3-trunk)
2011-08-31
21:01
[10e0c4dcdb] part of check-in [70b5b30956] Formerly, we enabled fdatasync() on linux only. But now we learn that fdatasync() is not supported on Android. So we disable fdatasync() on Linux too. It can be reenabled at compile-time for those who really need it. (user: drh branch: trunk)
18:35
[9e6e26b96b] part of check-in [07803476206b] Always include the unixShm.id field, even when not debugging. (user: drh branch: trunk)
2011-08-30
01:23
[ae82cf32c4] part of check-in [88b763e8d7] Make sure SQLITE_FCNTL_SIZE_HINT a no-op if the chunk size is not greater than zero. (user: mistachkin branch: trunk)
2011-08-29
11:56
[014cd466ed] part of check-in [639cc85a91] Back out 05c9832e5f6eb since it was causing a performance regression with no obvious benefit. (user: drh branch: trunk)
2011-08-26
20:55
[3792524439a] part of check-in [5454d0fe22] Fix several harmless compiler warnings and a documentation bug. (user: drh branch: trunk)
19:20
[1a34ca3794] part of check-in [eb036d6f81] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
19:18
[0cac72a676] part of check-in [55af80035f] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-08-25
13:46
[1a34ca3794] part of check-in [6deb3ea1f0] Fix the SQLITE_DISABLE_DIRSYNC compile time option. (user: dan branch: trunk)
2011-08-23
20:11
[81341980c5] part of check-in [880b51150a] If the application-defined openDirectory() function returns SQLITE_CANTOPEN, then silently ignore the error. This allows the chromium sandbox to disallow opening of directories without causing errors. (user: drh branch: trunk)
18:06
[bcdfbf4f55] part of check-in [c5f7977b89] Merge latest trunk changes into the apple-osx branch. (user: dan branch: apple-osx)
12:50
[87ced852f8] part of check-in [768c1846d4] Merge the PAGECACHE_BLOCKALLOC changes into trunk. (user: drh branch: trunk)
05:10
[87ced852f8] part of check-in [ca47da2a1f] Change to test instrumentation of os_unix.c: Regard IO errors that occur within SQLITE_FCNTL_SIZE_HINT requests as benign. (This check-in was intended for trunk and went onto the branch accidentally.) (user: dan branch: pager-blockalloc)
2011-08-19
14:54
[81f15448f1] part of check-in [21452f3ae6] When retrying a write() after an EINTR error on unix, be sure to also rerun the previous lseek(). Ticket [e59bdf6116036a] (user: drh branch: trunk)
2011-08-12
16:30
[0177d9f411] part of check-in [7e515055f2] Merge latest trunk changes into experimental branch. (user: dan branch: experimental)
2011-08-10
01:52
[0177d9f411] part of check-in [6b236069e1] Make the openDirectory routine in os_unix.c overrideable so that it can be turned into a harmless no-op for the chromium sandbox. (user: drh branch: trunk)
2011-08-08
23:48
[d059bd9c8b] part of check-in [713b1b7dc1] In os_unix.c, do not open the directory containing the database file when the database file is opened. Instead, wait until time to fsync() the directory. And do not report an error if the open fails, since some systems (Ex: AIX and a chromium sandbox) are unable to open and fsync directories. (user: drh branch: trunk)
23:18
[597c854d94] part of check-in [8d1b5c3ac0] Allow the unlink() system call to be overridden in os_unix.c. (user: drh branch: trunk)
2011-08-03
21:46
[51caec436f] part of check-in [c570903608] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-08-02
18:25
[f7883504e1] part of check-in [77376b332b] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-07-28
20:48
[51caec436f] part of check-in [1b56677bdf] Merge changes for the new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (user: mistachkin branch: trunk)
00:14
[c617801bbe] part of check-in [9109128cb5] Use osStat() instead of stat() consistently in os_unix.c (user: drh branch: trunk)
2011-07-26
16:23
[637fa96921] part of check-in [a9d8794ae9] Test cases added. Fix the query mode. (user: drh branch: persistent-wal-patch)
16:03
[294e8e9803] part of check-in [e34c553bf0] Prototype change for a new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (user: drh branch: persistent-wal-patch)
2011-07-25
23:25
[b83e0924d1] part of check-in [05c9832e5f] Enable the SQLITE_FCNTL_SIZE_HINT on unix even if SQLITE_FCNTL_CHUNK_SIZE has not been set. (user: drh branch: trunk)
2011-07-22
12:49
[dcd6d5782d] part of check-in [110cfd6920] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-07-15
13:43
[dcd6d5782d] part of check-in [87017410f2] In os_unix.c, check if the ESTALE macro is defined before using it. (user: dan branch: trunk)
2011-06-27
19:25
[d3e7b17100] part of check-in [11ea98e454] Merge latest trunk changes. (user: dan branch: fts3-changes)
2011-06-24
20:47
[af3aa6c091] part of check-in [34f0efa2b1] Merging local changes to apple-osx (user: adam branch: apple-osx)
11:29
[d3e7b17100] part of check-in [9b191bb4c7] Fix some harmless compiler warnings that were occurring with THREADSAFE=0. (user: drh branch: trunk)
2011-06-21
01:30
[aeef5f0075] part of check-in [76005fdca0] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
01:29
[07acbb3e07] part of check-in [f3d148e0d1] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-06-20
18:00
[07acbb3e07] part of check-in [f69ed286ff] Rework the autoconf script to better deal with utime() and dlopen(). (user: drh branch: trunk)
10:44
[fd4e9588ff] part of check-in [4c5e276c90] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-06-06
18:14
[fd4e9588ff] part of check-in [567dd84359] Merge the latest trunk changes into the fts3-prefix-search branch. (user: drh branch: fts3-prefix-search)
2011-06-02
13:07
[56c56d4c20] part of check-in [ce5f95dee6] Merge the latest trunk changes, including the read-only shared memory enhancement, into the apple-osx branch. (user: drh branch: apple-osx)
13:04
[fd4e9588ff] part of check-in [19084a6641] Merge the read-only shared memory branch into trunk. After this merge, an unprivileged process can open WAL-mode databases owned by another user as long as a database connection with write permission exists on the database file and if the readonly_shm=1 URI query parameter is supplied. (user: drh branch: trunk)
2011-06-01
20:13
[fd4e9588ff] part of check-in [1f930d7e04] Make use of the sqlite3GetBoolean() interface for more robust processing of the readonly_shm query parameter inside of unixShmMap(). (user: drh branch: wal-readonly)
20:01
[a59c071802] part of check-in [d6b4709de4] Simplify the wal-readonly branch so that it does not require changes to anything other than os_unix.c and wal.c and a couple of new error codes. (user: drh branch: wal-readonly)
2011-05-31
17:08
[af3c3f6a0f] part of check-in [2c6b5a28e3] Merge the latest trunk changes into the wal-readonly branch. (user: drh branch: wal-readonly)
2011-05-19
02:48
[6d4a58d81a] part of check-in [5b1b536cf8] Merge all the latest trunk changes into the sessions branch, especially the disappearing WAL transaction fix. (user: drh branch: sessions)
02:34
[d5feb6cbdb] part of check-in [5791232778c] Bring the apple-wal-readonly branch up to date with the latest changes in apple-osx, and especially the fix for disappearing WAL transactions. (user: drh branch: apple-wal-readonly)
01:51
[e911e44f3d] part of check-in [8d1a6bb002] Pull all the latest trunk changes, and especially the fix for WAL cache spills causing transactions to disappear, into the apple-osx branch. (user: drh branch: apple-osx)
2011-05-17
20:36
[6d4a58d81a] part of check-in [96d6098560] Add the ability to limit filenames to 8+3 using the SQLITE_ENABLE_8_3_NAMES compile-time option together with a URI parameter of "8_3_names=1". (user: drh branch: trunk)
2011-05-12
15:32
[dabbe23efc] part of check-in [97b9801076] Pull in the patches to support read-only WAL databases into a new branch off of the apple-osx branch. This also pulls in all the other pending 3.7.7 changes such as URI support. (user: drh branch: apple-wal-readonly)
2011-05-10
17:31
[03630dd062] part of check-in [bb59f9862d] Add experimental support for read-only connections to WAL databases. (user: dan branch: wal-readonly)
2011-05-05
15:52
[b206f9d56b] part of check-in [f9b149e538] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
15:46
[2c67d12687] part of check-in [6883580e6c] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-05-02
17:41
[2c67d12687] part of check-in [7fdd0786c7] Merge the latest trunk changes into uri branch. (user: dan branch: uri)
2011-04-25
18:01
[2c67d12687] part of check-in [4c7ff4dd35] Invoke the unix open() system call through a wrapper to avoid problems resulting from differing declarations to that function in various systems. (user: drh branch: trunk)
2011-04-18
17:30
[d7889a0f93] part of check-in [b91b4c31fe] Merge trunk changes into sessions branch. (user: dan branch: sessions)
2011-04-17
17:14
[4389231d07] part of check-in [986f2f25ba] Change the prototype for the open() system call to agree with Posix. Though a faulty function prototype in a pointer cast is a seemingly innocuous error, the correct prototype is necessary for pthreads to work correctly on NetBSD. (user: drh branch: branch-3.7.6)
17:09
[d7889a0f93] part of check-in [3e135748f1] Change the prototype for the open() system call to agree with Posix. Though a faulty function prototype in a pointer cast is a seemingly innocuous error, the correct prototype is necessary for pthreads to work correctly on NetBSD. (user: drh branch: trunk)
2011-04-15
14:33
[c80e9d427c] part of check-in [8775f159c1] Fix #ifs involving SQLITE_ENABLE_LOCKING_STYLE so that they check the value of that macro and not whether it is defined. (user: drh branch: trunk)
12:36
[dfe0ce8b08] part of check-in [721e3c16b3] Make sure the unix backend returns SQLITE_FULL if write() fails with an ENOSPC error code. (user: drh branch: trunk)
2011-04-13
20:26
[6c9db47286] part of check-in [fe603217fc] Add new extended error codes for I/O errors on seek and shared-memory map. Add sqlite3_log() calls in the windows backend to record details of errors. (user: drh branch: trunk)
15:42
[b90124c1c4] part of check-in [289194d68e] Update the apple-osx branch to version 3.7.6.1. (user: drh branch: apple-osx)
13:42
[b2d4cd9976] part of check-in [c6e727ab3b] Make sure the array of overloadable system calls is always correctly sized, regardless of the compile-time configuration. Ticket [bb3a86e890c8e96ab]. (user: drh branch: trunk)
2011-04-11
18:35
[9541fdb1be] part of check-in [51029d8430] Do not override the fchmod system call in unix unless the SQLITE_ENABLE_LOCKING_STYLE compile-time option is engaged. (user: drh branch: trunk)
2011-04-09
18:13
[a3688d61ed] part of check-in [4eaef4ad4c] Pull all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-04-06
22:33
[a8fe62148d] part of check-in [435b57dc2b] Merge in the latest changes from the trunk. (user: drh branch: sessions)
19:15
[a8fe62148d] part of check-in [61a6ccbe3c] Fix a benign inaccuracy in the os_unix.c SQLITE_FCNTL_SIZE_HINT code. (user: dan branch: trunk)
2011-04-04
13:19
[32414676594a] part of check-in [95d53c4432] Merge the latest changes of trunk into the session branch. (user: drh branch: sessions)
13:11
[4cef66b6bc] part of check-in [6d78a25ddc] Merge in the latest changes from trunk. (user: drh branch: apple-osx)
2011-04-02
20:08
[32414676594a] part of check-in [0d99229a7a] Merge in the latest changes from trunk. (user: drh branch: schema-parse-refactor)
17:00
[32414676594a] part of check-in [3b91eaaa0b] Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is invoked with NULL passed as the second argument, even if all the default system calls are already installed. (user: dan branch: trunk)
2011-04-01
15:43
[a3b4cdf50a] part of check-in [d184cf0057] Merge latest trunk changes. (user: dan branch: sessions)
13:29
[a3b4cdf50a] part of check-in [7a6d05dfbc] Move a variable declaration inside an #ifdef to avoid a compiler warning. (user: drh branch: trunk)
11:56
[8115c85152] part of check-in [ff6dfe6ed7] In os_unix.c, do not return SQLITE_BUSY to SQLite following an error in fcntl(F_UNLCK), regardless of the value of errno. (user: dan branch: trunk)
09:04
[9a129123a0] part of check-in [8088031bc9] Fix some problems in os_unix.c when compiled with ENABLE_LOCKING_STYLE on OSX. Also some minor issues with test scripts. (user: dan branch: trunk)
2011-03-30
19:08
[be9f9d3383] part of check-in [a84f771194] Further tests for os_unix.c. (user: dan branch: trunk)
02:03
[0b37759312] part of check-in [b11d941e92] Merge in all the latest changes from trunk. (user: drh branch: sessions)
2011-03-29
10:04
[0b37759312] part of check-in [bc6cce8156] Fix a problem in the unix VFS implementation of xNextSystemCall(). Also some typos that prevent compilation when HAVE_POSIX_FALLOCATE is defined. (user: dan branch: trunk)
2011-03-23
22:48
[942a9dca5d] part of check-in [9c3a6e4799] Merge in all the latest changes from the trunk, and especially the interface changes to the SystemCall methods of the VFS. (user: drh branch: sessions)
22:02
[942a9dca5d] part of check-in [e059152adc] Change the xSetSyscall methods of the VFS so that they do not cast object pointers into function pointers. Fix other unrelated compiler warnings. (user: drh branch: trunk)
2011-03-18
12:35
[919972244d] part of check-in [94fd5bb6da] Merge all the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
2011-03-15
19:08
[919972244d] part of check-in [d984683499] Make the "unix-excl" VFS work exactly like "unix" if the database file is read-only. (user: drh branch: trunk)
2011-03-14
13:54
[1debf5ea6e] part of check-in [3934b004e9] Merge the unix-excl VFS into the trunk. This merge also adds the -vfs option to the command-line shell. (user: drh branch: trunk)
2011-03-12
18:10
[1debf5ea6e] part of check-in [a05a6d4087] In the "unix-excl" VFS, use the heap for shared memory, since only a single process is able to read or write the database. (user: drh branch: unix-excl)
17:02
[557837beff] part of check-in [00051c3296] Add the new optional "unix-excl" VFS. This VFS grabs an exclusive lock on the database preventing other processes from accessing it, but continues to allow other database connections from the same process. (user: drh branch: unix-excl)
2011-03-11
16:15
[c4d5060813] part of check-in [f957f23a8a] Remove an unused field from the unix sqlite3_file object. (user: drh branch: trunk)
2011-03-08
16:39
[58fe884567] part of check-in [36d79e6f54] Merge the syscall-override changes into trunk. (user: drh branch: trunk)
13:06
[67f9a30464] part of check-in [c829868aa2] Fix two compiler warnings. No functional code changes. (user: drh branch: trunk)
2011-03-04
15:43
[cb94e52f70] part of check-in [a7d176b27c] Handle EINTR errors from open(). (user: drh branch: syscall-override)
2011-03-02
19:06
[3d38767952] part of check-in [38558363494e] Add additional VFS methods to retrieve system call pointers and to get a list of all changeable system calls. (user: drh branch: syscall-override)
18:01
[a13aa2394c] part of check-in [80fac2a6e0] Add more system calls to the set that can be overridden in os_unix.c. Also merge in recent fixes from trunk. (user: drh branch: syscall-override)
17:54
[54cd8b64e3] part of check-in [ec55e8c6bb] Fix bugs in 7b6e30e6a7 that only show up on Mac. (user: drh branch: trunk)
15:09
[34f0341ab4] part of check-in [92b5a76abc] Proof-of-concept prototype for the proposed xSetSystemCall extension method on the VFS. (user: drh branch: syscall-override)
02:08
[5e2e1187c1] part of check-in [7b6e30e6a7] Log all error from close() in os_unix.c to sqlite3_log() but do not attempt to report errors back up to the application. Update the unix error logging to put the most important information earlier in the message. (user: drh branch: trunk)
2011-02-25
03:25
[64a2e0ebbb] part of check-in [4e50b0362a] Comment out some code in os_unix.c that only runs on MacOSX with SQLITE_ENABLE_LOCKING_STYLE. (user: drh branch: trunk)
2011-02-23
14:33
[ef71b9892a] part of check-in [8609a15dfa] Automatically retry system calls that fail with EINTR. This is a backport of the changes from b9d29ea385bafc and af9ba2a6d2c379. (user: drh branch: branch-3.7.4)
14:05
[c9f2a09124] part of check-in [a4333b1545] Backport the os_unix.c error logging enhancements from check-in 01076528a43b61a. (user: drh branch: branch-3.7.4)
14:00
[33c062c56c] part of check-in [af9ba2a6d2] Fix a typo in the robust_flock() macro for systems without EINTR. (user: drh branch: trunk)
13:53
[33c062c56c] part of check-in [e701efbd1d] The robust_flock() fix that accidently included some unrelated, though harmless changes. I should follow my own checklist! (user: drh branch: mistake)
13:33
[866aa2d83f] part of check-in [b9d29ea385] Retry selected system calls on unix when they fail with EINTR. (user: drh branch: trunk)
2011-02-21
11:46
[0969a5921f] part of check-in [01076528a4] Have os_unix.c call sqlite3_log() following errors in certain system calls. (user: dan branch: trunk)
2011-01-27
18:48
[9b2e175145] part of check-in [09d6c91dcf] Pull in all the changes from trunk up through the version 3.7.5 release candidate 1. (user: drh branch: apple-osx)
2011-01-26
19:46
[1be46a35ba] part of check-in [6f2c72a0f6] Update all built-in VFSes to return SQLITE_OK for the SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the xFileControl methods to return SQLITE_NOTFOUND for unrecognized operation codes. (user: drh branch: trunk)
2010-12-22
21:48
[aeaf65d261] part of check-in [b82e85ece9] Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined. (user: drh branch: trunk)
2010-12-21
00:16
[c43a55b46a] part of check-in [39bbd35599] Rearrange a variable declaration in the proxy locking code to avoid a harmless compiler warning on recent MacOS versions. (user: drh branch: trunk)
2010-12-07
15:49
[49f8334f45] part of check-in [d2ccf7fc06] Merge in all changes to the trunk through version 3.7.4rc3. (user: drh branch: apple-osx)
2010-11-29
18:36
[0240c5b547] part of check-in [ee8dc8c87e] Fix a warning in os_unix.c. (user: dan branch: trunk)
17:55
[b392967bbf] part of check-in [5602ec95aa] Fix compiler warnings discovered while building SQLite on http://www.devio.us/. (user: dan branch: trunk)
2010-11-22
17:26
[6bbb2ac121] part of check-in [3df3e79b56] Fix a typo in unixCurrentTimeInt64() preventing compilation with NO_GETTOD defined. (user: dan branch: trunk)
2010-11-19
23:50
[357e5f1b26] part of check-in [c8bc057c7d] Merge all the latest changes from the trunk into the apple-osx branch. (user: drh branch: apple-osx)
2010-11-09
00:43
[79cf726c9a] part of check-in [fd4d38fa66] Integrated proxy locking file support for WAL journal mode and double free fix (user: adam branch: apple-osx)
2010-11-05
18:07
[de5be4cdbf] part of check-in [72ba3e368b] Fix os_unix.c so that it works with the test_multiplex module. (user: dan branch: trunk)
2010-10-05
18:22
[00a4a84aba] part of check-in [d7d4a94fc1] Do not embedded #if inside an assert() statement. Fix for check-in dca8763872a (user: drh branch: trunk)
11:33
[ae27ac760a] part of check-in [dca8763872] Fix an assert() failing on OSX. (user: dan branch: trunk)
2010-09-25
14:13
[dd62c4b204] part of check-in [44deaaefee] Do not call gethostuuid() on MacOS 10.4 and earlier, since it is not supported there. (user: drh branch: trunk)
2010-09-10
23:16
[e10e9f086d] part of check-in [e01c5f3eda] fixed memory leak in proxy lock file error handling (user: adam branch: apple-osx)
2010-09-02
14:00
[6152042c3a] part of check-in [36397f62f2] Fix the computation of the offset on the mmap() for the Nth shared memory region. Because of the way shared memory is accessed, the old computation, though wrong, still happened to always get the right answer. Nevertheless, it is good to do the computation correctly. (user: drh branch: trunk)
2010-08-18
00:24
[3853edc254] part of check-in [866e9286ae] Merge the 3.7.1 pre-release snapshot changes as of 2010-08-18 into the apple-osx branch. (user: drh branch: apple-osx)
00:09
[b7267d7fa3] part of check-in [5e2ee7db0f] Updating apple-osx with minor source fixes, database truncate and replace private calls and a bunch of conditionalization for tests running in different environments (user: adam branch: apple-osx)
2010-08-11
06:14
[11194cbcf6] part of check-in [f854cbe063] Fix memory allocation in proxy locking so that it works with SQLITE_MEMDEBUG. (user: drh branch: trunk)
06:04
[ae5ca8a603] part of check-in [aa092ac928] Merge experimental changes into trunk. (user: dan branch: trunk)
2010-08-07
11:46
[3109e0e5a0] part of check-in [f88c6367d2] Merge in all changes up to the 3.7.0.1 release. (user: drh branch: apple-osx)
2010-07-28
14:26
[ae5ca8a603] part of check-in [a038688c99] Support FCNTL_CHUNK_SIZE on windows too. (user: dan branch: experimental)
2010-07-27
18:34
[77e963fbbe] part of check-in [7cf0e851d4] Add experimental unix-only file-control to grow and truncate the database file by a configurable chunk size. (user: dan branch: experimental)
2010-07-20
18:59
[3109e0e5a0] part of check-in [3b7330c19a] Fix a race condition in os_unix.c that may occur when one thread is opening a connection to a shared-memory block and another is either closing or locking the same shared-memory. (user: dan branch: trunk)
2010-07-15
18:38
[fa606537ad] part of check-in [abff795f38] Previous check-in 534aab837e accidently reverted some changes from a121cd80c5. This check-in restores those changes. (user: drh branch: trunk)
18:32
[d27404c02d] part of check-in [534aab837e] Optionally support shared-memory in /dev/shm or other tmpfs directory using an unsupported compile-time option. (user: drh branch: trunk)
14:59
[73cce1696c] part of check-in [a121cd80c5] When creating a journal file on unix, attempt to create it with the same permissions as the associated database file. (user: dan branch: trunk)
2010-07-14
20:51
[fd7706aaec] part of check-in [e1e7312580] Fix a typo in a comment in os_unix.c. (user: drh branch: trunk)
14:48
[417a378a19] part of check-in [e5d180eed2] On unix, try to create the *-wal and *-shm files with the same permissions as the associated database file. (user: dan branch: trunk)
01:45
[cfcb63d4aa] part of check-in [90d73c66bf] Fix the unix driver to return an I/O error if unlink fails for any reason other than the file not existing in the first place. (user: drh branch: trunk)
00:22
[7845a3c91b] part of check-in [2b68e50268] Remove the xShmOpen method from the VFS. Shared-memory is opened automatically by a call to xShmMap. Rename the xShmClose method to xShmUnmap. (user: drh branch: trunk)
00:14
[7845a3c91b] part of check-in [c2d27cf51d] Change the name of the xShmClose VFS method to xShmUnmap, everywhere. (user: drh branch: experimental)
2010-07-13
23:41
[53a84d8a2a] part of check-in [6336de7aa9] Tweaks to the new shared-memory interface design - mostly comment changes. (user: drh branch: experimental)
18:44
[abefe4129f] 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. (user: dan branch: experimental)
2010-07-03
17:13
[c6112f0ae3] part of check-in [51ec0e5432] Remove the unused xRename() method from the sqlite3_vfs object. Add better documentation on the xCurrentTimeInt64() method. (user: drh branch: trunk)
12:31
[d7910391a4] part of check-in [48bf309391] Cherry-pick the correct changes out of the recent "mistake" branch while omitting the bugs. (user: drh branch: trunk)
2010-07-02
17:10
[d7910391a4] part of check-in [26c7689cfe] Fix compiler warnings in the proxy locking code. (user: drh branch: mistake)
2010-06-26
21:34
[ec7c7f7ca2] part of check-in [e82d008eaf] Suppress various compiler warnings. (user: drh branch: trunk)
2010-06-23
17:58
[4b03e5a8a3] part of check-in [a6dc0df304] Adjust the shared-memory locking range to account for the new version number values in the wal-index header. (user: drh branch: trunk)
2010-06-21
12:47
[5231a75a37] part of check-in [ee0acef1fa] Merge the experimental UNDELETABLE_WHEN_OPEN optimization into the trunk. (user: drh branch: trunk)
06:00
[5231a75a37] part of check-in [f6d26e07b7] Merge latest trunk change. (user: dan branch: experimental)
2010-06-19
23:53
[838e0c0cab] part of check-in [822a0283c6] Fix an uninitialized variable in os_unix.c. (user: drh branch: trunk)
15:10
[a76d1952ac] part of check-in [2241788bc8] Change the unix VFS to always allocate shared-memory using a file in the same directory as the database. Otherwise, a chroot might cause different processes to use different shared memory files resulting in database corruption. (user: drh branch: trunk)
2010-06-18
11:10
[2555f00c4c] part of check-in [077b0e5bcd] Change the implementation of the unix implementation of xAccess() so that it returns 0 (does not exist) to an SQLITE_ACCESS_EXISTS query on a file that exists but is zero bytes in size. (user: dan branch: experimental)
2010-06-16
19:48
[fdeb37c703] part of check-in [21ca87f691] Merge in changes up to and including the 3.6.23.1 release. (user: drh branch: apple-osx)
10:55
[ae173c9f6a] part of check-in [6c5c04eea1] Fix a memory leak that can occur in os_unix.c if an IO error occurs within the xUnlock method. (user: dan branch: trunk)
2010-06-14
18:01
[22bb2a8c1f] part of check-in [58dfd83d8b] Move the xShmMap method to in between xShmLock and xShmBarrier, since it seems to fit in there logically. (user: drh branch: trunk)
17:09
[710418915c] part of check-in [f295e7ed5f] Merge the experimental shared-memory mmap-by-chunk changes into the trunk. (user: drh branch: trunk)
16:16
[710418915c] part of check-in [13e7a82422] Add the new xShmMap (formerly xShmPage) to os_win.c. (user: dan branch: experimental)
14:07
[0a57b86241] 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. (user: dan branch: experimental)
2010-06-11
19:04
[29dac62790] part of check-in [ca68472db0] Experimental change to the xShmXXX parts of the VFS interface. (user: dan branch: experimental)
2010-06-07
19:26
[12051d37e5] part of check-in [95cc976f15] In os_unix.c, call munmap() to unmap a shared-memory region prior to closing the associated file descriptor. (user: dan branch: trunk)
2010-06-02
15:59
[8fa4eeb27c] part of check-in [f97bd520f0] Make sure the directory used by os_unix.c for shared-memory files is always the same, regardless of individual client permissions and environment variable settings. (user: drh branch: trunk)
14:45
[7ae9257f65] part of check-in [ebf4041383] Changes to make WAL more robust against SHM locking failures and OOM errors. (user: drh branch: trunk)
2010-06-01
21:02
[31511480da] part of check-in [fc18c4aadb] The shared-memory used by WAL on linux now really is shared memory in /dev/shm. On other unix flavors, the file is in a temporary directory rather than in the same directory as the database. (user: drh branch: trunk)
15:24
[29dd06f485] part of check-in [1d3e569e59] The incremental checkpoint feature is not perfect yet, but it is working well enough to merge it into the trunk. (user: drh branch: trunk)
11:08
[29dd06f485] part of check-in [9622dd468c] Do not hold the shared-memory mutex in os_unix.c if returning NULL. (user: dan branch: wal-incr-ckpt)
00:03
[fe672ba65f] part of check-in [bc707c83e5] Fix os_unix.c so that it will compile and build on a Mac. (user: drh branch: wal-incr-ckpt)
2010-05-31
20:28
[129e60ccca] part of check-in [8deba0cebd] Fix issues with locking_mode=EXCLUSIVE in WAL. (user: drh branch: wal-incr-ckpt)
16:56
[18ed601668] part of check-in [552658da28] Fix an inconsistent #ifdef in wal.c. Fix os_unix.c so that it does not allow moving an SHM lock directly exclusive to shared without going through unlocked. (user: drh branch: wal-incr-ckpt)
16:10
[833dbeae00] part of check-in [149a7082e2] Get the new xShmLock interface design working on os_win.c. (user: drh branch: wal-incr-ckpt)
14:28
[824dc63f67] part of check-in [cdbb4e7ca7] Remove the tests that enable tracing based on the existance of the "vdbe_*" files when in SQLITE_DEBUG mode. (user: drh branch: wal-incr-ckpt)
01:41
[f95ffaf687] part of check-in [ace58acbf1] WAL runs but quickly deadlocks. (user: drh branch: wal-incr-ckpt)
2010-05-30
19:55
[df0c87b2d5] 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. (user: drh branch: wal-incr-ckpt)
2010-05-26
15:06
[683ba91de6] part of check-in [72de007312] Change the semantics of xShmGet() such that it will never increase the size of shared memory. xShmSize() must be used to grow the size of shared memory. A shared memory segment size cannot be shrunk (except by dropping it). (user: drh branch: trunk)
2010-05-25
13:40
[a5771c3fcf] part of check-in [40030c0739] Update header comments in wal.c to correctly describe the WAL file format. Update the locking region offsets in os_unix.c and os_win.c and add assert() statement to verify that the locking region offsets are correct. (user: drh branch: trunk)
2010-05-21
18:24
[35ace48378] part of check-in [7d01309da6] Comment out the SQLITE_FCNTL_SIZE_HINT from os_unix.c since it does not seem to provide any performance gain there. (user: drh branch: trunk)
2010-05-20
23:51
[5c53b43c84] 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. (user: drh branch: trunk)
2010-05-19
22:09
[fdeb37c703] part of check-in [776679af58] Cherry-pick the SQLITE_FCNTL_SIZE_HINT patch (check-in 2b7e3b4a30d6a7c4a8 and bump the version number to 3.6.23.2. (user: drh branch: branch-3.6.23)
19:26
[6db01eb2c8] part of check-in [2b7e3b4a30] Add the SQLITE_FCNTL_SIZE_HINT operator to sqlite3_file_control() and use it to give the VFS hints about the ultimate size of a database file when the file is growing. (user: drh branch: trunk)
2010-05-18
13:27
[6db3289dcf] part of check-in [0a6787908e] Mark the shared-memory in the WAL implementation as volatile. (user: drh branch: trunk)
2010-05-17
15:33
[23b64faec0] part of check-in [9a08371171] Invoke the SQLITE_FCNTL_SIZE_HINT opcode on the sqlite3_file_control() interface for database files before extending the size of the file. The VFS can use this hint to preallocate space. (user: drh branch: branch-3.6.1)
2010-05-14
20:15
[28caddcd74] part of check-in [9ef99d97d2] Fix a typo that (by bad luck) was not a syntax error but which caused some important lines of code to be skipped when SQLITE_DEBUG was not used. (user: drh branch: trunk)
16:34
[025da44ba1] part of check-in [4b69f2cd31] Pull in all the latest changes from the trunk. Update the win32 SHM methods to work with the new interface design. (user: drh branch: wal-win32)
14:52
[025da44ba1] part of check-in [d1debe5def] Simplifications to the SHM implementation in os_unix.c, taking advantage of the removal of the LinuxThreads mess. (user: drh branch: trunk)
12:43
[a725e2dc6f] part of check-in [e294b696ba] Simplify os_unix.c by removing support for LinuxThreads. Linux systems must either use NPTL or else not share database connections across threads. (user: drh branch: trunk)
11:30
[1a02adfbc4] part of check-in [5fe529f239] Change the OSTRACEn() macro to OSTRACE(()). Also rename some internal fields and variables in os_unix.c to be more meaningful and searchable. (user: drh branch: trunk)
2010-05-13
08:53
[a65eb0c527] part of check-in [bce21c1838] The refactored of VFS SHM primitives are now working so merge the wal-refactor branch back into the trunk. (user: drh branch: trunk)
08:33
[a65eb0c527] part of check-in [149d2ae4a6] Change the xShmSize() implementation in os_unix.c so that it will only increase and never decrease the size of a shared-memory segment. (user: drh branch: wal-refactor)
2010-05-12
18:01
[c7ff5a947f] 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. (user: drh branch: wal-refactor)
2010-05-11
16:29
[c306feb1be] part of check-in [885e854e7c] Have os_unix.c use the suffix "-wal-index" for wal-index files instead of "-wal-inde". (user: dan branch: trunk)
2010-05-10
19:51
[34fe71c67f] part of check-in [6e3735f72c] Fix an off-by-one error while constructing the name of the mmap file for the wal-index under os_unix.c. (user: drh branch: trunk)
18:10
[f3a7ea94e5] part of check-in [c67756c404] Merge 96d6eaf4d2 and 40b0a6357b. (user: dan branch: trunk)
17:29
[f3a7ea94e5] part of check-in [96d6eaf4d2] Fix an uninitialized variable in OSX proxy locking. (user: drh branch: trunk)
2010-05-07
20:02
[164d85df39] part of check-in [a65c293926] Change the xShmOpen() method of the VFS to take the database file name as its argument, not the WAL file name. Also fix some unrelated compiler warnings. (user: drh branch: trunk)
2010-05-06
18:48
[00403219ce] part of check-in [bb0b6021e7] Instead of transitioning to RECOVER state from CHECKPOINT when a recovery is required, perform the recovery while holding the CHECKPOINT lock. (user: dan branch: trunk)
2010-05-05
19:09
[2ce91d5d9a] part of check-in [e9bfa6e4ce] Further simplifications to the SHM locking logic. Remove the SQLITE_SHM_QUERY option. Unify the WRITE to READ and RECOVER to READ transitions. (user: drh branch: trunk)
18:20
[623a195fbc] part of check-in [9de05bfb09] Simplifications to the SHM locking implementation in os_unix.c. (user: drh branch: trunk)
2010-05-03
18:22
[7ab8d2fe59] part of check-in [551df11a56] Fix a bug in the xCurrentTime() method of the os_unix.c VFS. (user: drh branch: trunk)
17:18
[2d19037594] part of check-in [9d3f3736be] Fix a couple of errors in WAL code that can occur in an OOM situation. (user: dan branch: trunk)
16:30
[7d706a3a50] part of check-in [43b5b07f0d] Change the VFS definition so that all methods take a VFS object pointer as their first parameter. (user: drh branch: trunk)
14:32
[f3c0faad1c] 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. (user: drh branch: trunk)
14:08
[5c821e4eb0] part of check-in [de9ae443cc] Merge the write-ahead-logging changes into the trunk. (user: drh branch: trunk)
08:19
[5c821e4eb0] part of check-in [23c0e6c3f3] Merge two wal leaves. (user: dan branch: wal)
2010-05-01
20:17
[5c821e4eb0] part of check-in [94dea5f9c1] Change the SHM interface so that it does not take the name of the shared 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. (user: drh branch: wal)
18:23
[d003631afe] part of check-in [69e07fdbde] Remove the xShmPush and xShmPull methods from the VFS. (user: drh branch: wal)
17:57
[bb8b65d92a] part of check-in [6af2dca75b] Define an invariant to guarantee deadlock-free operation of SHM in os_unix.c and check that invariant with assert() statements. (user: drh branch: wal)
17:50
[d402146bd3] part of check-in [1a0f69bef2] Rework mutexes on the SHM implemention for os_unix to avoid a deadlock during WAL recovery. (user: drh branch: wal)
16:40
[27ec47f279] part of check-in [9b230c43df] Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. (user: dan branch: wal)
2010-04-30
17:47
[559f9f18cc] part of check-in [8660cda6f8] Change the SHM VFS logic in os_unix.c so that it does not hold an exclusive lock n the mapped memory when also holding a CHECKPOINT lock. This improves concurrency between readers and checkpointers. (user: drh branch: wal)
16:48
[edbc13a32a] part of check-in [2afc33de2b] In the debugging output for SHM-LOCK in os_unix.c, use symbolic names for the lock states rather than raw numbers. (user: drh branch: wal)
16:41
[72413d328c] part of check-in [90119fecbc] Fix a problem in the previous commit. Both unixShm.lockState and unixShm.readLock should be set to READ when downgrading from a WRITE to a READ lock (user: dan branch: wal)
16:38
[d0deee9969] part of check-in [55f5af5e17] Fix a bug whereby upgrading from a READ_FULL to a WRITE lock, and then back to a read lock was dropping all WAL locks. (user: dan branch: wal)
15:54
[7d10d3a8b4] part of check-in [69567c5fca] Fix a couple uninitialized variables in the xShmLock method of the unix VFS. Improved debugging logic for xShmLock. (user: drh branch: wal)
14:39
[b2322d8fb3] part of check-in [4cbe49f13f] Separate the concepts of underlying storage size and mapped size in the VFS shared-memory implementation. (user: drh branch: wal)
11:43
[7451a71757] part of check-in [1f9e8c5c27] Add a missing walIndexUnmap() call to the checkpoint code. Change a couple of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT. (user: dan branch: wal)
10:06
[f5e41bd2f5] part of check-in [a4741cb54d] Add missing mutexes to unixShmClose(). (user: dan branch: wal)
09:52
[685b034738] part of check-in [a8f958be80] Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo(). (user: dan branch: wal)
09:32
[4237d2a642] part of check-in [72b95fde15] Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen(). (user: dan branch: wal)
02:13
[d9b2b01721] part of check-in [a92c1851da] The first 6 WAL tests now work. It's a start. (user: drh branch: wal)
2010-04-29
22:34
[bf4cc543fc] part of check-in [62db5fa3b6] Refactor wal.c to use the VFS. This check-in compiles and links and works ok as long as you leave WAL turned off, but WAL does not work. (user: drh branch: wal)
16:40
[f0e002e741] part of check-in [706611283e] Untested implementation of the shared-memory dead-man-switch. (user: drh branch: wal)
15:17
[340c503705] part of check-in [1bde41cf08] Progress towards a VFS that will support WAL. Locking code is in place but is untested. Still no support for the DMS. (user: drh branch: wal)
2010-04-28
17:49
[c8b7d1e0f4] part of check-in [13d2d5a66e] Merge two "wal" leaves. (user: dan branch: wal)
17:21
[c8b7d1e0f4] part of check-in [348409de26] Changes to the interface design for the xShmLock method of the VFS. (user: drh branch: wal)
2010-04-27
18:49
[332ff9185a] part of check-in [8c2d43babd] Merge two "wal" leaves. (user: dan branch: wal)
11:49
[332ff9185a] part of check-in [ed715b47c5] Add the xShmRelease() method to the VFS. The os_unix.c implementation of the shared memory logic is still non-functional. (user: drh branch: wal)
2010-04-26
00:04
[1acc854259] part of check-in [f5e615c28c] Begin moving WAL-specific I/O into the VFS. This checkin contains VFS infrastructure but it is untested and is not yet hooked up to the WAL. The version number is bumped to 3.7.0 because of the VFS extension. (user: drh branch: wal)
2010-04-12
19:00
[5bf0015ceb] part of check-in [409d61baeb] Import experimental write-ahead-logging code. (user: dan branch: wal)
2010-03-05
13:53
[148d2f625d] part of check-in [27413fc8dd] Adjustments to #ifdefs so that the #include of <sys/mount.h> is not included twice, because that confuses the amalgamation builder. (user: drh branch: trunk)
13:41
[d4832e8936] part of check-in [0cc981f1cc] Adjust some #ifdefs so that the build works on Mac both with and without SQLITE_ENABLE_LOCKING_STYLE. (user: drh branch: trunk)
2010-03-04
22:36
[0cdbfd79dc] part of check-in [1a0fa8d19d] Second thoughts: Let Tiger users set SQLITE_ENABLE_LOCKING_STYLE=0. Was: Change SQLITE_ENABLE_LOCKING_STYLE to default off, even on Macs, since older Macs (Tiger) cannot compile the latest proxy locking sources. (user: drh branch: mistake)
16:12
[284398041b] part of check-in [fc2c63ac78] Suppress harmless compiler warnings. (user: drh branch: trunk)
2010-03-03
16:54
[97c2d5dd10] part of check-in [88b466bae4] Merged trunk to lemon-update-2010 branch. (user: icculus branch: lemon-update-2010)
2010-02-26
13:07
[97c2d5dd10] part of check-in [8f29490da6] Avoid incorrect compiler warnings by doing a couple of needless variable initializations. (user: drh branch: trunk)
2010-02-25
02:32
[bf7f66b06d] part of check-in [46f406b202] Merge in all of the logging enhancements. This is a cherrypick merge of the following check-ins: 103321e37a, a8076aede3, 6d910245ad, 7c4cca6d1a, edea3bb740, 1a6d4bb130, a8c984c1d6, 69a493182f, and 1168763d2c. (user: drh branch: branch-3.6.22)
2010-02-23
20:11
[79f2b9aec3] part of check-in [edea3bb740] Continuing improvements to error reporting and the sqlite3_log() routine. (user: drh branch: trunk)
17:36
[13b5d1ffc0] part of check-in [7c4cca6d1a] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (user: drh branch: trunk)
2010-02-17
19:34
[0af0a55e2d] part of check-in [4b72e39bd0] Merge latest changes from the trunk into the apple-osx branch. (user: drh branch: apple-osx)
2010-02-16
12:18
[0af0a55e2d] part of check-in [7a1933097f] Change a C++ style comment in os_unix.c to use normal C style commenting. (user: dan branch: trunk)
2010-02-05
18:00
[85479b27b9] part of check-in [f64b81f13d] Make sure file descriptors are closed before unlinking in VxWorks. (user: drh branch: trunk)
2010-01-20
13:20
[0b97269557] part of check-in [fa0f6c140e] Align the os_unix.c source file with the version found on trunk. (user: drh branch: apple-osx)
13:07
[0b97269557] part of check-in [571594bfbe] Move the Apple OS-X VFS changes into the trunk. (user: drh branch: trunk)
2010-01-06
13:12
[b0f41dcee4] part of check-in [541e2b488e] Update the OS-X branch to include all trunk changes through version 3.6.22. (user: drh branch: apple-osx)
2010-01-05
00:14
[b245107921] part of check-in [e02f255602] Fix a case in os_unix.c where two structures that might have uninitialized padding bytes are compared using memcmp(). (user: drh branch: trunk)
2009-12-07
23:53
[afabe88b8a] part of check-in [ad08794d72] Merge all changes associated with the version 3.6.21 release into the OS-X branch. (user: drh branch: apple-osx)
2009-12-04
14:25
[fe85acfede] part of check-in [082b8da005] In the OSTRACE debugging macros in os_unix.c, identify the VFS currently in use. (user: drh branch: trunk)
2009-11-09
19:30
[6b74fa8300] part of check-in [62f15c0aea] Fix for lock structure sharing with AFP-style locking (user: adam branch: apple-osx)
2009-11-06
04:13
[bdd6ca0932] part of check-in [ddb71cd9ed] Fix the backup API so that a backup from an empty database to a non-empty database works. Ticket [0bf974bdf9]. The only changes are in assert() statements. (user: drh branch: trunk)
2009-11-05
18:31
[1d06b265ff] part of check-in [9552de8fb5] Fix an undefined variable on non-Mac builds. (user: drh branch: apple-osx)
2009-11-04
18:51
Added [a4b4ea928c] part of check-in [590d4ac1ee] Fix documentation typos. (user: drh branch: shunning-error)
2009-11-03
22:34
[cb7a1418fb] part of check-in [941a01eb86] Customizations for OSX contributed by Apple. (user: adam branch: apple-osx)
2009-11-01
19:26
[a4b4ea928c] part of check-in [cfa2db0ff7] Fix compiler warnings. Better comments on some variables associated with LIKE/GLOB processing in the query planner. (user: drh branch: trunk)
2009-10-07
23:42
[5686c0e4f0] part of check-in [56f609da4b] Use memcpy() rather than structure assignment so that memcmp() can later be used for comparison. Ticket [8550ecca70] (user: drh branch: trunk)
2009-09-10
19:20
[5369272992c] part of check-in [e9d064bd93] Make sure the threadsOverrideEachOthersLocks variable is only referenced by linux systems on a threadsafe compile. (user: drh branch: trunk)
2009-09-09
18:46
[4e5ce6099b] part of check-in [ef99eb57c5] Trying to open a transaction in one thread and close it in another is a misuse with LinuxThreads. Doing so may cause memory and file-descriptors to be leaked. Update an assert() and some test cases to account for this. (user: dan branch: trunk)
16:10
[0b94e58153] part of check-in [f0c72a53c5] Suppress some harmless compiler warnings. (user: drh branch: trunk)
2009-09-07
17:41
[52b1097147] part of check-in [ecbe0832be] Merge 1958db4493 and 26cd015c0e. (user: dan branch: trunk)
2009-09-03
16:23
[52b1097147] part of check-in [2aeab80e5b] Add the "unix-wfl" VFS that does whole-file locking in order to help NFS do better cache coherency. (user: drh branch: trunk)
2009-08-31
05:39
[f14ff07aec] part of check-in [6e09e28751] Merge with main branch. (user: dan branch: trunk)
2009-08-27
17:56
[f14ff07aec] part of check-in [609c5341be] Patch to the named semaphore locking mechanism used by VxWorks. (user: drh branch: trunk)
2009-08-25
05:57
[96e2e409df] part of check-in [2a5c9e1dbf] Fix a bad interaction between "proxy-locking" and aa6acfa8ca. (user: dan branch: trunk)
2009-08-24
18:57
[5fc8443b16] part of check-in [82d1934a42] Fix some errors in aa6acfa8ca. (user: dan branch: trunk)
2009-08-22
11:39
[f151f27d35] part of check-in [aa6acfa8ca] Fix a problem in os_unix.c where a malloc failure could lead to a leaked file descriptor. (user: dan branch: trunk)
2009-08-21
17:18
[1546de71b8] part of check-in [9b4d9ab62d] When a database file is opened, try to find an unused file descriptor to reuse. This change affects unix (and other systems that use os_unix.c) only. Fix for cvstrac ticket #4018. (user: dan branch: trunk)
08:29
[85f6ed2869] part of check-in [11a669b653] Add assert() statements to os_unix.c to check that the mutex is held when it should be. (user: dan branch: trunk)
2009-08-19
14:42
[6895098a9e] part of check-in [6c8a0e2b37] Merge with 709e16145e. (user: dan branch: trunk)
2009-08-17
15:52
[6895098a9e] part of check-in [67ad21abf8] Move error simulation code from the sqlite3_os_init() functions into a wrapper. (user: dan branch: trunk)
15:16
[aea2a5c1c0] part of check-in [904a371c6c] Add tests to check that sqlite recovers from an error in sqlite3_initialize() correctly. (user: dan branch: trunk)
2009-07-03
12:57
[cdb2a08b9c] part of check-in [304c5110ad] Test the result of pthread_create() and do not call pthread_join() if the thread creation failed. Ticket #3933. (CVS 6839) (user: drh branch: trunk)
2009-06-17
13:09
[b64129c296] part of check-in [59ec937ce2] Suppress some -Wextra compiler warnings from GCC. (CVS 6774) (user: drh branch: trunk)
2009-06-15
20:45
[f00dbdc09d] part of check-in [1591b8322b] Changes to allow a clean compile with no floating-point instructions generated when SQLITE_OMIT_FLOATING_POINT is used. (CVS 6763) (user: drh branch: trunk)
2009-05-08
11:34
[e55d977c51] part of check-in [254ca3273c] Fix a warning in the osx-specific part of os_unix.c. Ticket #3847. (CVS 6620) (user: danielk1977 branch: trunk)
2009-04-07
05:35
[9ad9f45049] part of check-in [efd0682b7e] Compile fixes and improvements for vxwork: fixed deadlock in semClose, detect if fcntl is usable, fall back to named semaphores if not. (CVS 6460) (user: chw branch: trunk)
00:35
[e5eef59cfb] part of check-in [47aa7eb0e0] It is OK for a unix file descriptor to be zero. It just can't be negative. Adjust an assert accordingly. Ticket #3781. (CVS 6457) (user: drh branch: trunk)
2009-03-30
07:39
[5d667f2461] part of check-in [50fbcdea04] Another change related to (6401) and (6402): When an attempt to unlock a file fails in os_unix.c, close all files held open waiting for the unlock event anyway. This prevents a file-descriptor leak when testing IO errors. (CVS 6406) (user: danielk1977 branch: trunk)
2009-03-28
23:47
[b62e660f82] part of check-in [2e7d3cc9f0] Previous commit ((6401)) did not quite fix the problem. This should work better. (CVS 6402) (user: drh branch: trunk)
23:23
[344fb50f9a] part of check-in [fb35cff855] In the unix-backend, when simulating an I/O error on an unlock operation, still mark the connection as unlocked to avoid a future assert(). (CVS 6401) (user: drh branch: trunk)
2009-03-25
01:06
[7bf3ebde13] part of check-in [cbf2ca4cc4] Use fdatasync() only on linux, unless -Dfdatasync=fdatasync is set at compilation time. (CVS 6383) (user: drh branch: trunk)
2009-03-21
14:56
[a20fe61c02] part of check-in [a331562727] Rig the unix backend to use fdatasync() by default, without having to set the HAVE_FDATASYNC macro. Systems that do not support fdatasync() can be compiled using -Dfdatasync=fsync. (CVS 6368) (user: drh branch: trunk)
14:41
[8f6ffa95c8] part of check-in [0d6b11bcf6] On unix, always use fdatasync() instead of fsync() when available, even if the file size changes, since (we are told) fdatasync() will automatically flush the inode when the file size changes. (CVS 6367) (user: drh branch: trunk)
2009-03-01
22:29
[52352674c1] part of check-in [a2373e5409] Suppress some compiler warnings (where possible). Ticket #3696. (CVS 6331) (user: drh branch: trunk)
2009-02-09
17:34
[4e916cafbf] part of check-in [93e792ffa8] Add assert() statements to os_unix.c which fire if there is a read or write for the locking region of a database file. (CVS 6270) (user: drh branch: trunk)
05:32
[9f89f98c07] part of check-in [8227af3463] Ignore the return structure of and F_GETLK fcntl() call on djgpp. Fix for #3642. (CVS 6268) (user: danielk1977 branch: trunk)
2009-02-03
15:27
[f0fce30420] part of check-in [b054b56917] Check at the write() call to work around the msdos bug in OSX actually succeeds and throw an error if it does not. #ifdef out the work-around for all platforms other than OSX. Ticket #3633. (CVS 6237) (user: drh branch: trunk)
2009-01-16
23:47
[c74255cc1f] part of check-in [191c399fc6] Remove a harmless UMR that occurs inside some debugging code. (CVS 6190) (user: drh branch: trunk)
2009-01-15
04:30
[c0ebce13fa] part of check-in [fcb6c67712] Avoid using ENOTSUP on systems that do not define that symbol. Ticket #3512. (CVS 6182) (user: drh branch: trunk)
2009-01-14
23:03
[5d176993d0] part of check-in [b676ccfd90] Add asserts to detect if a transaction commits without first incrementing the transaction counter. These asserts are intended to prevent future problems similar to ticket #3584. (CVS 6179) (user: drh branch: trunk)
2009-01-09
21:41
[7825c61785] part of check-in [64c56226b9] Coverage improvements in pragma.c. Change the __DARWIN__ macro to __APPLE__, which is available by default on Leopard. (CVS 6153) (user: drh branch: trunk)
2009-01-08
14:36
[a1f05f59c2] part of check-in [81014334ad] Allow database files to be created in the root directory on unix. Ticket #3570. (CVS 6141) (user: drh branch: trunk)
2008-12-22
03:37
[e6eacc7ec7] part of check-in [d9595b9618] Fix a variable type to prevent a warning in the proxy-locking code. (CVS 6051) (user: danielk1977 branch: trunk)
2008-12-11
02:56
[96b4a6e873] part of check-in [561d5de16e] Fix the TCL test harness so that it compiles and runs on OSX with SQLITE_ENABLE_LOCKING_STYLE. (CVS 6017) (user: drh branch: trunk)
2008-12-10
19:26
[970e4a98a2] part of check-in [c872d55493] Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) (user: drh branch: trunk)
2008-12-08
18:19
[cec838fe55] part of check-in [73c7302c5f] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (user: drh branch: trunk)
2008-12-04
12:34
[e625d22880] part of check-in [4697249fcc] Make sure dot-lock is fully enabled when SQLITE_ENABLE_LOCKING_STYLE is disabled. Fix compiler warnings when SQLITE_ENABLE_LOCKING_STYLE is disabled. (CVS 5976) (user: drh branch: trunk)
2008-12-03
22:48
[bc3e50bcc7] part of check-in [24235300b3] Fix a missing forward declaration that is needed when SQLITE_PREFER_PROXY_LOCKING is defined. (CVS 5972) (user: drh branch: trunk)
22:32
[540aebcdfb] part of check-in [31f6090e22] Reorganize the proxy-locking method in os_unix.c. Additional cleanup. (CVS 5971) (user: drh branch: trunk)
21:26
[199a3f3af7] part of check-in [3efedac6aa] Make os_unix compile with SQLITE_ENABLE_PROXY_LOCKING (CVS 5970) (user: aswift branch: trunk)
19:34
[0c5fa756d8] part of check-in [215d36ea89] Continue with the cleanup of os_unix.c. (CVS 5969) (user: drh branch: trunk)
2008-11-29
02:20
[a5c0e3fe58] part of check-in [c13df0311e] Continuing to refactor os_unix.c. This is an incremental check-in. (CVS 5967) (user: drh branch: trunk)
00:56
[9c5269d610] part of check-in [1017d2fb19] Continuing work on the os_unix.c refactoring. Removed all of the LOCKING_STYLE_* constants and instead pass around pointers to the underlying sqlite3_io_method objects. (CVS 5966) (user: drh branch: trunk)
2008-11-28
15:37
[26f4b3dde5] part of check-in [7825cd63e5] First step in refactoring os_unix.c. This is work in progress. The code compiles and runs on Linux and MacOSX (as long as SQLITE_ENABLE_LOCKING_STYLE is turned off), but there are a few test failures. (CVS 5965) (user: drh branch: trunk)
2008-11-25
12:07
[add9937ac6] part of check-in [622cb59791] Move the definition of function transferOwnership() in os_unix.c to below the static functions it calls. (CVS 5954) (user: danielk1977 branch: trunk)
2008-11-21
22:21
[d6218ae6a6] part of check-in [adb0aafaa6] Factor out and simplify the canonical pathname logic in the VxWorks OS interface. (CVS 5943) (user: drh branch: trunk)
20:32
[d3803e7c5f] part of check-in [30a0132a83] Work toward cleaning up and refactoring the os_unix.c VFS module. Change IS_VXWORKS to OS_VXWORKS. The VxWorks implementation can now be built and tested on Linux using -DOS_VXWORKS=1 -Dsem_t=int -DPATH_MAX=512 -DNO_GETTOD=1. (CVS 5942) (user: drh branch: trunk)
00:24
[28cc4da788] part of check-in [6f910b7036] Fixes to the proxy locking so that os_unix.c compiles on linux with proxy locking omitted. (CVS 5935) (user: drh branch: trunk)
00:10
[bdb0b66407] part of check-in [b9bc36d3d5] Added support for proxy file locking style Added pragma support for controlling proxy file locking Added file control access to last errno and proxy locking Added support for TMPDIR environment variable Extended unit tests to cover new proxy locking pragmas and file control features (CVS 5934) (user: aswift branch: trunk)
2008-11-19
16:52
[03c76b5269] part of check-in [d1abe8a1c9] Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927) (user: danielk1977 branch: trunk)
14:35
[975cdd3e1b] part of check-in [70b2f6839c] Fix a few more compiler warnings. (CVS 5926) (user: danielk1977 branch: trunk)
13:52
[88cfaa018b] part of check-in [92c91a6cd7] In os_unix.c, use "IS_VXWORKS" instead of "defined(__RTP__) || defined(_WRS_KERNEL)". Purely because it's easier on the eyes. (CVS 5925) (user: danielk1977 branch: trunk)
11:35
[d8555013e6] part of check-in [2f5aaad90b] Eliminate some of the "unused parameter" warnings in os_unix.c. (CVS 5923) (user: danielk1977 branch: trunk)
09:05
[a5f8a41b47] part of check-in [88134322c3] Changes to avoid "unused parameter" compiler warnings. (CVS 5921) (user: danielk1977 branch: trunk)
2008-11-17
19:18
[16b0981836] part of check-in [8009220c36] Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914) (user: danielk1977 branch: trunk)
08:05
[a25bea30c5] part of check-in [f45a149363] Added support for vxworks >= 6.4; RTP mode tested, kernel mode untested. (CVS 5910) (user: chw branch: trunk)
2008-11-11
18:34
[af390f03eb] part of check-in [8ecae0943b] Change the way threadsOverrideEachOthersLocks() works to avoid trying to write-lock a (potentially) read-only files. Also, assume that on non-linux systems threads do override each others locks. Ticket #3472. (CVS 5883) (user: danielk1977 branch: trunk)
2008-11-07
00:06
[d17f694eda] part of check-in [fb311d6f40] Add documentation to make it clear that short reads from xRead in the VFS must be zero-filled. (CVS 5867) (user: drh branch: trunk)
2008-10-16
13:27
[5e3b3c9a54] part of check-in [8065a92f70] Fix an error in (5826). (CVS 5828) (user: danielk1977 branch: trunk)
2008-10-15
16:02
[85d7e98eb2] part of check-in [8ef141644e] Do not open and sync the directory in unixDelete() if the SQLITE_DISABLE_DIRSYNC option is defined. (CVS 5826) (user: danielk1977 branch: trunk)
2008-10-14
17:58
[48527028ce] part of check-in [b7687e2f2d] Fix the xRandomness() method on the unix VFS to return the number of bytes of randomness obtained. (CVS 5821) (user: drh branch: trunk)
2008-09-24
09:12
[f33b69d8a8] part of check-in [0fb98c3535] Fix some function declarations (change "int foo()" to "int foo(void)"). Ticket #3399. (CVS 5740) (user: danielk1977 branch: trunk)
2008-09-23
10:23
[ee778087d7] part of check-in [bae1d5b169] Enable the LOCKING_STYLE extensions by default on a Mac. Leave them disabled on all other posix platforms. (CVS 5737) (user: drh branch: trunk)
2008-09-22
11:46
[badd226d71] part of check-in [7bd2da93c6] Add instrumentation to os_unix.c to test that a return value of SQLITE_FULL from an xSync() callback is handled correctly. (CVS 5730) (user: danielk1977 branch: trunk)
2008-09-15
04:20
[8f4def6a92] part of check-in [c32cb106c5] Check if error code ENOTSUP is supported before using it. Ticket #3375. (CVS 5697) (user: danielk1977 branch: trunk)
2008-09-04
17:17
[075c3e474d] part of check-in [85c2a58901] Add support for the SQLITE_THREADSAFE=2 and SQLITE_DEFAULT_MEMSTATUS compilation options. (CVS 5676) (user: danielk1977 branch: trunk)
06:22
[e99f82f1f7] part of check-in [6e8fb64639] If SQLITE_ENABLE_LOCKING_STYLE is defined, have the os_unix.c module offer the following extra VFS implementations for explicitly selecting a locking-style: "unix-none", "unix-afp", "unix-posix", "unix-flock" and "unix-dotfile". (CVS 5674) (user: danielk1977 branch: trunk)
2008-08-22
18:41
[4665cef763] part of check-in [f8a70501c2] quieting compiler warning about pointer/int conversion size mismatch (CVS 5602) (user: aswift branch: trunk)
00:47
[f1be99705e] part of check-in [2416708208357304904e] Fix os_unix.c so that it will compile on Linux again. (CVS 5588) (user: drh branch: trunk)
00:22
[9fddf8735f] part of check-in [c1af14e2b6] Added SQLITE_IOERR_LOCK extended error code and support for detecting and returning errors in the os_unix lock, unlock and check reserved lock variants, also added support for populating and returning system error codes so that they can be accessed via xGetLastError, unfortunately xGetLastError can't seem to access the unixFile structure where the lastErrno is recorded. (CVS 5586) (user: aswift branch: trunk)
2008-07-30
17:28
[fe0dbc35bc] part of check-in [a480a8845f] When opening a zero-size database on unix, write one byte into the file before interrogating the inode number. This works around issues with msdos filesystems mounted on OS-X. Ticket #3260. (CVS 5504) (user: drh branch: trunk)
15:27
[c778a6b709] part of check-in [db4022db64] In the unix OS implementation, replace inode hash tables with linked lists. (CVS 5503) (user: drh branch: trunk)
2008-07-10
00:32
[1df6108efd] part of check-in [636cd72329] Remove unused code. Test coverage enhancements. Modify the algorithm used to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) (user: drh branch: trunk)
2008-06-30
10:16
[3d19f0491e] part of check-in [ba8819a6f3] Fix a malloc() failure related problem in os_unix.c. (CVS 5328) (user: danielk1977 branch: trunk)
2008-06-28
11:23
[715e702be9] part of check-in [f70d552bcd] Rearrange some ENABLE_LOCKING_STYLE related code in os_unix.c. (CVS 5324) (user: danielk1977 branch: trunk)
2008-06-26
10:41
[8b5116abc1] 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) (user: danielk1977 branch: trunk)
2008-06-25
17:19
[800138f4b9] 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) (user: danielk1977 branch: trunk)
2008-06-18
17:09
[b8c07b0cd8] part of check-in [5059644c4b] Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) (user: danielk1977 branch: trunk)
2008-06-13
18:24
[dd4a7b19ec] 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) (user: drh branch: trunk)
2008-06-06
15:49
[47936aee82] part of check-in [b8f1da52c3] Add the xGetLastError() member function to the sqlite3_vfs structure. It is neither called nor implemented at this point. (CVS 5192) (user: danielk1977 branch: trunk)
11:11
[067a4d5a26] 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) (user: danielk1977 branch: trunk)
2008-06-05
11:39
[bea384cc48] part of check-in [4226ac54be] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (user: danielk1977 branch: trunk)
2008-05-29
20:22
[a6b02934fd] part of check-in [9883b406ce] Consolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC version. Modified code for consistent use of hwtime(). Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5178) (user: shane branch: trunk)
2008-05-16
04:51
[06dceb3230] part of check-in [81a8c70ed7] Add more version tags to files that lack them. Ticket #3120. (CVS 5137) (user: danielk1977 branch: trunk)
2008-05-05
16:56
[a810e2aefd] part of check-in [bdd89cd231] Better error messages when trying to open a large file using a version of SQLite that omits large file support. Tickets #3096 and #3094. (CVS 5085) (user: drh branch: trunk)
2008-04-30
08:56
[8cf512c432] part of check-in [fc0ca647bd] Fix test for buffer overrun in unixGettempname(). Fix for #3091. (CVS 5069) (user: danielk1977 branch: trunk)
2008-03-19
14:15
[fdec4e5ee5] part of check-in [15110ea027] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (user: drh branch: trunk)
2008-03-07
20:14
[4cdd17e768] part of check-in [22bd537ee2] Another fix to the OsUnlock I/O error logic. (CVS 4839) (user: drh branch: trunk)
19:51
[04ff58d84a] part of check-in [b4c1258edb] Correctly handle I/O errors that occur during OsUnlock(). Before this fix, an I/O error during OsUnlock() could lead to database corruption. That is not a serious problem, though, since errors during OsUnlock() are not possible on most systems. (CVS 4838) (user: drh branch: trunk)
15:34
[bf339cd689] part of check-in [40f55c09db] Cleanup the locking-style code in os_unix.c. (CVS 4837) (user: drh branch: trunk)
00:27
[b21695b8cc] part of check-in [6ebce3b798] Updates to the locking-style code in os_unix.c. Not yet working. (CVS 4834) (user: drh branch: trunk)
2008-01-16
17:46
[e4daef7628] part of check-in [5807921f5a] Get all tests running without memory leaks. (CVS 4714) (user: drh branch: trunk)
2007-12-13
21:54
[4e67737fec] part of check-in [4e91a267fe] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (user: drh branch: trunk)
2007-12-06
13:26
[10641ed959] part of check-in [f015a38771] Use the specified buffer length, not the maximum buffer length in unixFullPathname() and related functions. (CVS 4595) (user: drh branch: trunk)
2007-10-30
17:28
[db6755454c] part of check-in [c249d5da72] Avoid leaking a file descriptor after a malloc failure on unix. (CVS 4518) (user: danielk1977 branch: trunk)
2007-10-23
15:59
[e556e86a2f] part of check-in [d7ed7cd077] Add comments to the code warning that _XOPEN_SOURCE might need to be defined manually if using USE_PREAD or USE_PREAD64. (CVS 4509) (user: drh branch: trunk)
2007-09-20
10:02
[308bd8ad69] part of check-in [27fe128833] Fixes for uninitialized variables. Tickets #2658 and #2659. (CVS 4437) (user: drh branch: trunk)
08:38
[89283ae67b] part of check-in [91831ff292] The code is correct as it contains an assert(3) in the "default" switch case, but GCC 4.3 is not able to detect this and instead complains with "warning: 'amode' may be used uninitialized in this function". Hence, although the assert(3) already protects the code here, get rid of this compiler warning by doing a simple initialization of the "amode" variable. (CVS 4436) (user: rse branch: trunk)
2007-09-17
07:02
[8d4f5e952a] 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) (user: danielk1977 branch: trunk)
06:06
[2c6a5507cd] part of check-in [ad3687b16e] Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) (user: danielk1977 branch: trunk)
2007-09-05
13:56
[522486e24d] part of check-in [1786e9c881] Remove the unixFile.isOpen variable (no longer in use). (CVS 4401) (user: danielk1977 branch: trunk)
2007-09-03
17:42
[99bf97b31b] part of check-in [ed15db4610] Unix OS interface returns SQLITE_CANTOPEN following a getcwd() failure. (CVS 4384) (user: drh branch: trunk)
15:19
[75521336c9] part of check-in [020a2b10d4] Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) (user: drh branch: trunk)
2007-09-01
16:16
[3b1b9c6d1b] part of check-in [fb27692ab1] Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses a global lru list of page, it is no longer required. (CVS 4364) (user: danielk1977 branch: trunk)
06:51
[9043705193a] part of check-in [5f48fb95c2] Fix for registration of non-default vfs objects. (CVS 4360) (user: danielk1977 branch: trunk)
2007-08-31
18:34
[4d36cd0375] 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) (user: drh branch: trunk)
16:11
[5c8fd11fa1] 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) (user: drh branch: trunk)
2007-08-30
16:13
[84dcfc0100] part of check-in [e30546504c] Prevent sqlite from opening directories as databases under unix. Fix for test cae in misc7.test. (CVS 4342) (user: danielk1977 branch: trunk)
14:49
[0f3997dc16] part of check-in [5a22d8695b] Remove the SYNC_BARRIER flag. (CVS 4337) (user: danielk1977 branch: trunk)
2007-08-27
23:26
[89bf24aa24] part of check-in [dc80b2e1f4] Work around problem with forward declarations of constants in MSVC in the amalgamation. Ticket #2574. (CVS 4304) (user: drh branch: trunk)
21:10
[7a340c712e] part of check-in [0791f917bb] Added the 34to35.html document describing the changes between 3.4.2 and 3.5.0. Minor interface cleanups. (CVS 4302) (user: drh branch: trunk)
2007-08-24
16:08
[27b1fad585] 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) (user: drh branch: trunk)
03:51
[c45b20f868] part of check-in [3a68fcddfa] The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (user: drh branch: trunk)
2007-08-23
02:47
[3ff776e035] part of check-in [21f6b31097] Improvements to memory leak detection. The --backtrace=NNN option is now recognized by tester.tcl. Memory leak summaries are automatically written to the file ./memleak.txt and each leak is tagged with the test in which it occurred. The quick.test script runs on Linux with no errors and no leaks. (CVS 4273) (user: drh branch: trunk)
2007-08-22
20:18
[3e1ce27aa8] part of check-in [db818430e9] The malloc.test script now passes all tests with no errors. (CVS 4271) (user: drh branch: trunk)
2007-08-21
13:51
[7aad42b1ee] part of check-in [6225cd461c] Remove the obsolete static mutexes. Use only the lastest static mutex code. (CVS 4259) (user: drh branch: trunk)
10:44
[55e4d3c441] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (user: drh branch: trunk)
2007-08-20
22:48
[41a737d14d] part of check-in [1315bd8e12] Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) (user: drh branch: trunk)
16:07
[10fb60a8d9] part of check-in [917790413c] Call sqlite3OsSleep() with an argument in microseconds, not milliseconds. (CVS 4248) (user: danielk1977 branch: trunk)
14:23
[7ff8ad09e8] part of check-in [40f66ada81] Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247) (user: danielk1977 branch: trunk)
06:44
[dc726e5fa1] part of check-in [41f2175b1e] Update the locking-style code in os_unix.c. The updates are as yet untested. (CVS 4244) (user: danielk1977 branch: trunk)
05:36
[bf192a86b9] part of check-in [cb24cda179] Fix full_fsync() related functionality broken as part of the migration to sqlite3_vfs. (CVS 4243) (user: danielk1977 branch: trunk)
2007-08-18
10:59
[07c91dfdf6] part of check-in [a258c4ec24] Further progress on migration to sqlite3_vfs. (CVS 4242) (user: danielk1977 branch: trunk)
2007-08-17
16:50
[4b27202b4b] part of check-in [08a0f48028] Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241) (user: danielk1977 branch: trunk)
15:53
[bf86c474a5] part of check-in [af3e3c7acd] Begin migration to using sqlite3_vfs interface. (CVS 4240) (user: danielk1977 branch: trunk)
2007-08-16
13:01
[e685354a7f] part of check-in [3d60c14a32] Remove the thread specific data subsystem from the unix build. Remove legacy cruft from sqliteInt.h. Use the new mutex subsystem in the PRNG. (CVS 4237) (user: drh branch: trunk)
10:09
[7c7dcb7dcc] part of check-in [77b1671351] More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) (user: danielk1977 branch: trunk)
04:30
[67601899b5] part of check-in [deb7ecd65f] Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) (user: drh branch: trunk)
2007-08-15
17:08
[05ad65c32b] 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) (user: danielk1977 branch: trunk)
2007-08-07
17:13
[9d2a421acc] part of check-in [7550dd1d59] Remove all tabs from source code files. Ticket #2556. (CVS 4198) (user: drh branch: trunk)
2007-06-29
12:04
[4099d05dc4] part of check-in [f1e5fed8eb] Set FD_CLOEXEC on all open files under Unix. Ticket #2475. (CVS 4146) (user: drh branch: trunk)
2007-06-19
10:50
[113ae35575] part of check-in [0b20a69609] Cast the 2nd parameter of ftruncate to off_t to work around bugs in some unix implementations. Ticket #2425. (CVS 4089) (user: drh branch: trunk)
2007-06-08
18:27
[f2ccf2e9a9] part of check-in [8f5b789fea] Use C-sylte comments exclusively, never C++ comments. Ticket #2406. (CVS 4052) (user: drh branch: trunk)
2007-05-04
13:15
[cb1fb044b8] part of check-in [ba4845b32b] Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) (user: drh branch: trunk)
2007-04-06
18:23
[426b4c03c3] part of check-in [26b2e1aede] Additional coverage testing. (CVS 3823) (user: drh branch: trunk)
2007-04-02
18:06
[13c6f73a7b] part of check-in [96b678818c] Do not use the second parameter to gettimeofday() on unix. Pass it a NULL. (CVS 3804) (user: drh branch: trunk)
2007-04-01
23:49
[ccb003fb9f] part of check-in [18aec1ddfb] Fix some warnings about unused and uninitialized variables. (CVS 3788) (user: drh branch: trunk)
18:46
[5e3cbef7ef] part of check-in [ddfc3b2df0] Make unix builds threadsafe by default. (CVS 3787) (user: drh branch: trunk)
2007-03-30
11:29
[4291be23ee] part of check-in [23653f7aab] Move the sqlite3_temp_directory global variable out of the OS porting layer and into main.c so that it is more accessible to non-standard OS porting layers. (CVS 3759) (user: drh branch: trunk)
2007-03-29
20:19
[fe0c017503] part of check-in [8d0073c0e8] Assume any return code from fcntl() other than -1 is success. Formerly we only assumed that 0 was success. Ticket #2173. (CVS 3754) (user: drh branch: trunk)
18:19
[5f7ee6c930] 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) (user: drh branch: trunk)
2007-03-27
16:19
[0d91b28d57] part of check-in [b24a6e7b02] Test handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also use an anonymous file for temporary storage during a VACUUM. (CVS 3729) (user: danielk1977 branch: trunk)
2007-03-26
22:05
[1f32d15449] part of check-in [0b832e218e] Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) (user: drh branch: trunk)
2007-03-23
10:08
[4642f23ed0] part of check-in [0fd9983a98] Add a comment to the OsSectorSize() function. (CVS 3710) (user: danielk1977 branch: trunk)
2007-03-22
15:22
[f6c261661a] part of check-in [177cd92910] In os_unix.c, make a distinction between pread() and pread64(). Add a new compile-time macro USE_PREAD64 to select the latter. (CVS 3709) (user: drh branch: trunk)
2007-03-19
05:54
[33ee7c1483] part of check-in [5752d84d37] Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700) (user: danielk1977 branch: trunk)
2007-03-15
01:16
[a3b26ad827] part of check-in [5af61402f6] Enhanced temp-file security under unix. There are no known attacks against prior versions - this check-in is just an added precaution. (CVS 3687) (user: drh branch: trunk)
2007-02-27
02:01
[abdb0f7b8e] part of check-in [3ad96dbe09] Improvements to OS layer tracing on the unix backend. (CVS 3664) (user: drh branch: trunk)
2007-02-06
11:11
[2f7f7dbb95] part of check-in [e4408dd1fd] Check the return value of lseek() in os_unix.c to make sure it really worked. (CVS 3628) (user: drh branch: trunk)
2007-01-31
23:37
[09d4223709] part of check-in [f044c5f49f] Fixed incorrect typecast for flock structure ptr in fcntl() call in sqlite3TestLockingStyle() Restored previous fullfsync behavior, try fsync() if fcntl(fd, F_FULLFSYNC, 0) returns an error. (CVS 3621) (user: aswift branch: trunk)
2007-01-03
23:36
[9fbbd8ab0a] part of check-in [a593d5743e] Additional changes in the pager and os interface layers to fix problems that might be contributing to recently observed database corruption. (CVS 3549) (user: drh branch: trunk)
2006-12-21
01:29
[d4bc8cbe1c] part of check-in [a1bcc6de57] Move the shared-library loading routines into the OS portability layer, thus enabling the os_win.c code to handle the character encoding confusion of win95/nt/ce. Ticket #2023. (CVS 3541) (user: drh branch: trunk)
2006-11-11
01:31
[d3b6b66b79] part of check-in [b9dd16ef3d] The uninitialized file descriptor from the unixFile structure is passed to sqlite3DetectLockingStyle in allocateUnixFile rather than the file descriptor passed in. This was causing the locking detection on NFS file systems to behave somewhat randomly and the result was locks were not respected and data loss could occur. (CVS 3508) (user: aswift branch: trunk)
2006-11-06
21:20
[f9a46b57af] part of check-in [6324ea811e] Use the difference between the SQLITE_IOERR_SHORT_READ and SQLITE_IOERR_READ returns from sqlite3OsRead() to make decisions about what to do with the error. (CVS 3503) (user: drh branch: trunk)
2006-10-11
17:19
[523b674d93] part of check-in [aa0b96c3df] Bug fix: named local variable lockStyle as lockingStyle in SQLITE_ENABLE_LOCKING_STYLE block in allocateUnixFile (CVS 3473) (user: aswift branch: trunk)
2006-10-03
17:40
[a4fa8871c8] part of check-in [f4103dea5e] Add the OS-X locking style patches to os_unix.c. Disabled by default. (CVS 3459) (user: drh branch: trunk)
2006-09-15
07:28
[3ed7fd1639] part of check-in [ba579ddc43] Add support for extended result codes - additional result information carried in the higher bits of the integer return codes. This must be enabled using the sqlite3_extended_result_code() API. Only a few extra result codes are currently defined. (CVS 3422) (user: drh branch: trunk)
2006-09-14
13:47
[4a99fca111] part of check-in [86931854fc] Enhanced I/O error simulation. (CVS 3418) (user: drh branch: trunk)
2006-04-19
01:24
[17d91581a0] part of check-in [4f195aa1eb] Remove a superfluous call to access() in the unix driver. Error spotted by Coverity. (CVS 3175) (user: drh branch: trunk)
2006-03-23
22:42
[35ad4d81c9] part of check-in [5a24f61981] Use the pread()/pwrite() interface on Posix if compiled with -DUSE_PREAD=1. Note that on Linux this is slower and does not work for large files. (CVS 3147) (user: drh branch: trunk)
2006-02-14
10:48
[757a7b7267] part of check-in [f4150c29df] Changes so that test_async.c works with memory management turned on. (CVS 3093) (user: danielk1977 branch: trunk)
2006-02-13
18:42
[365edd498b] part of check-in [111a426b3e] Disable the /./ and /../ collapser logic in sqlite3OsFullPathname under Unix. (CVS 3092) (user: drh branch: trunk)
17:03
[7604ea2bdb] part of check-in [42379c6230] Add in-process file locking to test_async.c. The unix implementation of sqlite3OsFullPathname() now attempts to remove /./ and /../ elements from the path. (CVS 3090) (user: drh branch: trunk)
2006-02-11
02:03
[378a89aaf1] part of check-in [c0e987bcfa] Fix typo in os_unix.c. (CVS 3082) (user: drh branch: trunk)
01:25
[88f3f422f4] part of check-in [f2069d0bf3] Add support and documentation for the fullfsync pragma. Also include some other unrelated documentation updates. (CVS 3080) (user: drh branch: trunk)
2006-02-10
13:11
[bd42a51385] part of check-in [4b6f568884] More comments on the unix locking code. Ticket #1672. (CVS 3075) (user: drh branch: trunk)
04:33
[50e51ba8a7] part of check-in [a6c30be214] Fix deadlock problem in the unix mutex. Ticket #1672. (CVS 3071) (user: drh branch: trunk)
2006-02-09
23:05
[dfd3b03ab0] part of check-in [d54d3b82c4] Ignore errors when when calling fsync() on a directory. Ticket #1657. (CVS 3068) (user: drh branch: trunk)
2006-01-31
23:03
[9de1887768] part of check-in [e83a19e8cb] Add the SQLITE_THREADS_OVERRIDE_LOCKS compile-time option that disables the run-time test to see if threads can override each others locks on unix. (CVS 3050) (user: drh branch: trunk)
2006-01-27
06:32
[73c5e722a6] part of check-in [2e23231f0c] Fix a couple of (harmless) intel compiler warnings. (CVS 3034) (user: danielk1977 branch: trunk)
2006-01-23
16:24
[b25eca667f] part of check-in [892e644d20] Fix uninitialized variable in os_unix.c. (CVS 3006) (user: drh branch: trunk)
2006-01-20
18:10
[38a55e51fb] part of check-in [507653a98c] More compiler warnings fixed - or in some cases comments are added to explain that the compiler is wrong. (CVS 2984) (user: drh branch: trunk)
2006-01-18
18:22
[a242a9458b] part of check-in [c7b9d50d0a] Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974) (user: danielk1977 branch: trunk)
17:25
[9d44bcfbc1] part of check-in [e1ad9df1cf] Modify the sqlite3OsInMutex os-layer interface to take a single parameter to distinguish between mutexes held by the current thread and mutexes held by any thread. Part of the fix for ticket #1630. (CVS 2973) (user: drh branch: trunk)
16:51
[51fa18a26a] part of check-in [ac090f2ab3] Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) (user: danielk1977 branch: trunk)
15:25
[fb7ae89d86] part of check-in [e0b022e5b2] Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) (user: danielk1977 branch: trunk)
14:06
[7c085f8079] part of check-in [8830bbbac8] Convert the unix driver to use a recusive mutex. Similar changes to the windows driver are pending. (CVS 2968) (user: drh branch: trunk)
2006-01-17
16:10
[5f1ce55c02] part of check-in [9e2e40845d] Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623. (CVS 2965) (user: danielk1977 branch: trunk)
2006-01-15
17:27
[7daa1720d4] part of check-in [2170e803ad] Clean up comments in os_unix.c. (CVS 2950) (user: drh branch: trunk)
02:43
[7457d51c00] part of check-in [ad8f12cad1] Closing a file from the wrong thread is harmless on most systems. (See ticket #1611) But on systems like RedHat9 with broken fcntl() locks, it leaks file descriptors. That is better than the alternative of prematurely breaking locks and causing database corruption. Nevertheless, it would be good if we could figure out a way to report errors when closing a file from the wrong thread. (CVS 2946) (user: drh branch: trunk)
02:30
[a1245b1101] part of check-in [f68e05cb2b] Add tests and fix bugs in the new cross-thread lock resolution code. When an unlock fails, do not leak file descriptors (ticket #1611). But we really ought to report SQLITE_MISUSE or some other error instead of just returning SQLITE_OK. (CVS 2945) (user: drh branch: trunk)
00:13
[e6ff5035b3] part of check-in [03c422ecb5] Documentation updates. Fix to date.c. But most importantly: database connections are now allowed to change threads as long as they are not holding a lock. (CVS 2944) (user: drh branch: trunk)
2006-01-12
01:25
[bc35a237a1] part of check-in [a8c74febec] Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) (user: drh branch: trunk)
2006-01-11
23:40
[d3ec9c61a1] part of check-in [fb518b0ce4] Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup() API is documented. This should close ticket #1601. (CVS 2920) (user: drh branch: trunk)
21:41
[557a21c563] part of check-in [5d9c6aa964] Automatically deallocate thread-specific data when it is no longer being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) (user: drh branch: trunk)
2006-01-09
23:40
[8943febbed] part of check-in [ec332d8822] Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) (user: drh branch: trunk)
06:29
[c5d1a3fe88] part of check-in [82b81f69c7] Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) (user: danielk1977 branch: trunk)
2006-01-07
04:06
[ba70f76230] part of check-in [77ac231c0e] Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880) (user: drh branch: trunk)
2006-01-06
21:52
[05223f8440] part of check-in [9d71b7deaf] Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) (user: drh branch: trunk)
14:46
[1ade7cd84c] part of check-in [373b56f004] Fix an alignment problem in the sqlite3OsRandomSeed(). Ticket #1584. (CVS 2872) (user: drh branch: trunk)
14:32
[d220bf3721] part of check-in [2529c2e11f] Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) (user: drh branch: trunk)
00:36
[d99158f789] part of check-in [3aa8befedf] Windows implementation of the thread-specific data interface. (CVS 2864) (user: drh branch: trunk)
2006-01-05
13:48
[d52d87a06c] part of check-in [6fdbb8b771] Disable automatic invocation of sqlite3_release_memory() when a malloc() fails in those cases where the global mutex is held. (CVS 2860) (user: danielk1977 branch: trunk)
2006-01-02
20:00
[e4fbf1370e] part of check-in [a582b15959] Add the xInMutex method to the os-layer switch for testing whether or not mutexes are used correctly. (CVS 2851) (user: drh branch: trunk)
2005-12-15
10:50
[6394d2fa3a] part of check-in [81a41f6637] Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) (user: danielk1977 branch: trunk)
10:11
[df6e497209] part of check-in [c1ed79f594] Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) (user: danielk1977 branch: trunk)
2005-12-09
20:02
[f11eba69ee] part of check-in [83a5915155] Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810) (user: drh branch: trunk)
14:25
[01648f7fa1] part of check-in [601c335463] Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) (user: danielk1977 branch: trunk)
2005-12-06
12:52
[76189e4cb5] part of check-in [e1606658f1] Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800) (user: danielk1977 branch: trunk)
2005-11-30
03:20
[1a7278bf7a] 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) (user: drh branch: trunk)
2005-11-29
19:56
[471d3642d0] part of check-in [fa1d7ecfcc] The crash test works now, at least on unix. Untested on windows. But it never worked on windows before so if it still does not there is no big loss. I am still troubled by the current design of the OS overloading mechanism. Expect to see more changes. (CVS 2794) (user: drh branch: trunk)
03:13
[02b6a1c7e7] part of check-in [058f317538] Make the OsFile structure opaque with its internal structure known only to the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h include files. The crash tests are broken by this patch. (CVS 2791) (user: drh branch: trunk)
2005-11-26
03:43
[09f174975f] part of check-in [57a674fc71] Add an OS method for making copies of file descriptors. This fixes the crash tests. (CVS 2786) (user: drh branch: trunk)
00:25
[57f47fd917] part of check-in [1f69aec285] Modify the OS layer so that I/O routines are called through a virtual function table. The os_test.c module has been replaced by test6.c. The crash tests are busted now and need to be fixed. (CVS 2785) (user: drh branch: trunk)
2005-11-25
10:38
[1c51efc175] part of check-in [f1298bb103] Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782) (user: danielk1977 branch: trunk)
09:01
[4847182df1] part of check-in [f882a516da] If SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781) (user: danielk1977 branch: trunk)
08:47
[0a75314cdd] part of check-in [84aae3b0ae] Check the return code of full_fsync() when used to sync a directory fd. (CVS 2780) (user: danielk1977 branch: trunk)
2005-11-24
23:14
[6878d8aeaa] part of check-in [84aa4d5800] The --enable-cross-thread-connect configuration option or the -DSQLITE_ALLOW_XTHREAD_CONNECT compile-time option permits database connections to be moved across threads. This will cause latch-ups and failures on some linux systems such as RedHat-9. Do not use these options if you want a portable build. (CVS 2778) (user: drh branch: trunk)
2005-10-20
07:28
[2af2d2cea9] part of check-in [e261b8b09a] Changes to prevent various compiler warnings. (CVS 2750) (user: drh branch: trunk)
2005-10-05
10:29
[23d6c04d08] part of check-in [115340d4e8] Another attempt to get fdatasync to be ignored on non-conforming posix systems. Now a system has to opt-in for fdatasync instead of opt-out. Ticket #1467. (CVS 2741) (user: drh branch: trunk)
2005-09-22
15:45
[407dd07818] part of check-in [a9b341dccf] Optionally call fdatasync() instead of fsync() only if _POSIX_SYNCHRONIZED_IO is positive, which should only be the case on operating systems that actually support fdatasync(). (CVS 2732) (user: drh branch: trunk)
2005-09-09
01:32
[c86cf43b7c] part of check-in [461e3a0a27] Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679) (user: drh branch: trunk)
2005-09-08
12:38
[4838fab463] part of check-in [3c555a8749] While doing a transaction comment, use fdatasync() instead of fsync() in cases there the file size is unchanged. (CVS 2673) (user: drh branch: trunk)
2005-09-06
21:40
[cbdac6b207] part of check-in [b86bd70f30] Changes to reduce the amount of stack space required. (CVS 2661) (user: drh branch: trunk)
2005-08-29
23:00
[b4c4592589] part of check-in [ed2ca0873f] Increase resolution of time-of-day on unix. Add an experimental sqlite3_profile() API. (CVS 2639) (user: drh branch: trunk)
2005-08-21
21:45
[7fae44e25c] part of check-in [545e702a23] Clean up possible locking problem in multithreaded applications that take a malloc failure. (CVS 2611) (user: drh branch: trunk)
2005-08-13
17:17
[535cd82c2f] part of check-in [7961ec0ccb] Give the same access permissions to journal files as is given to databases. (CVS 2590) (user: drh branch: trunk)
2005-06-15
17:47
[be8f327f95] part of check-in [006dda3119] Changes to the unix OS layer aimed at finding and fixing tickets #1272 and #1285. (CVS 2517) (user: drh branch: trunk)
2005-06-07
22:22
[45540d7ee5] part of check-in [62a7353d4a] Changes to support linking without a parser and without a disk I/O interface. (CVS 2504) (user: drh branch: trunk)
2005-06-06
15:06
[443ca9d199] part of check-in [c1691004d6] Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2490) (user: drh branch: trunk)
2005-05-17
11:25
[cb8a39901b] part of check-in [bfa55bec32] Provide a compile-time parameter to set the default file creation permissions under Unix. Ticket #1247. (CVS 2461) (user: drh branch: trunk)
2005-03-18
14:03
[fba0167576] part of check-in [f2f31919fd] Remove unused code from util.c. Enhance the trace output in os_unix.c. (CVS 2397) (user: drh branch: trunk)
2005-03-11
17:52
[d4823c6b3d] part of check-in [3c57a4571f] Fix bugs discovered in 3.1.4. F_FULLFSYNC not F_FULLSYNC. And a bug in "make doc". Also typos in the documentation. (CVS 2379) (user: drh branch: trunk)
2005-03-10
14:11
[4fe368b621] part of check-in [58b8733b96] Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372) (user: drh branch: trunk)
2005-02-03
00:29
[68d3d32937] part of check-in [4b399ae779] Make sure the rc variable in OsWrite of os_win.c is always initialized. Also assert that the amt parameter is always greater than zero. Ticket #1094. (CVS 2309) (user: drh branch: trunk)
2005-01-21
17:53
[1f17ceff05] part of check-in [aab8e7f8d8] Initialize the random number generator from /dev/urandom, if available. (CVS 2258) (user: drh branch: trunk)
2005-01-19
23:24
[77319e31f5] part of check-in [d8b2a7e091] Continued refactoring of the name resolution logic and query optimizer. (CVS 2236) (user: drh branch: trunk)
2005-01-08
15:44
[08340c8648] part of check-in [0a90eaf398] Fixes to the temp_store_directory pragma. (CVS 2185) (user: drh branch: trunk)
2004-12-20
19:01
[f3835451ff] part of check-in [772e22cbd6] Add PRAGMA 'temp_store_directory'. Added os_*.c function sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into invalidateTempStorage(). (CVS 2171) (user: tpoindex branch: trunk)
2004-10-06
15:41
[5824b22ba4] part of check-in [d790c84c5a] Convert many constants to have type "const". (CVS 2006) (user: drh branch: trunk)
2004-10-02
20:38
[5c1f362846] part of check-in [c4697503d0] Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind when requested. Honor the error code that OsUnlock() returns. Ticket #913 and #938. (CVS 1997) (user: drh branch: trunk)
2004-10-01
14:38
[ca7891d1f8] part of check-in [44e56f0bba] Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994) (user: drh branch: trunk)
03:02
[8ee13cc8ef] part of check-in [11a37a74b1] Fully release exclusive locks in the Unlock primitive of Unix. Ticket #913. (CVS 1993) (user: drh branch: trunk)
02:00
[6a02c1bc1d] part of check-in [8972c004dc] Use type i64 instead of off_t for file offsets since off_t is giving portability problems. Ticket #924. (CVS 1992) (user: drh branch: trunk)
2004-08-29
23:42
[a5625eed7a] part of check-in [431f7436a6] Change the name of the global variable to sqlite3_temp_directory to avoid a naming conflict with version 2.8. (CVS 1918) (user: drh branch: trunk)
2004-08-14
17:10
[3239a45dbd] part of check-in [fce56ba6a3] Add the ability to specify a alternative temporary file directory using the "sqlite_temp_directory" global variable. (CVS 1885) (user: drh branch: trunk)
2004-08-04
14:44
[d084e34432] part of check-in [add266ccc3] Separate P4 timing asm code out of the SQLITE_DEBUG macro so that SQLITE_DEBUG can be used on non-x86 machines and with compilers other than GCC. Ticket #838. (CVS 1876) (user: drh branch: trunk)
2004-07-20
14:06
[02a08065f9] part of check-in [3c5aa850ee] Lemon collapses common destructors and reduce actions into a single case. (CVS 1837) (user: drh branch: trunk)
01:14
[ee607890d9] part of check-in [4d77037be3] Report an error when attempting to open a directory as a database. Ticket #687. (CVS 1832) (user: drh branch: trunk)
2004-07-19
22:08
[4d5cb2f992] part of check-in [511ee63924] The OsFile under Unix records a pointer back to the pager. This is intended to be used for an externalized locking patch. (CVS 1821) (user: drh branch: trunk)
2004-07-17
21:44
[7dca8d07ac] part of check-in [1d30d0dd46] Use the F_FULLFSYNC fctrl if it is available. Record the name of files that are opened in the OsFile structure. (CVS 1799) (user: drh branch: trunk)
2004-06-29
11:08
[7df6ae05fa] part of check-in [20db8124ac] Comment out unused routine in os_unix.c. (CVS 1759) (user: drh branch: trunk)
07:45
[8acbb7190c] part of check-in [ffd3312b66] Bug-fixes to get the two threadtest C programs working again. (CVS 1756) (user: danielk1977 branch: trunk)
03:29
[2d787fd91a] part of check-in [a8417cb83e] Try to get threads working again on Linux. (CVS 1755) (user: drh branch: trunk)
2004-06-28
08:25
[295d0d4fe8] part of check-in [b0fcc99d22] Add a simple test case for inter-process locking. (CVS 1752) (user: danielk1977 branch: trunk)
2004-06-25
08:32
[bd62e20d3a] part of check-in [b68b4a4262] A few more comment changes. No code alterations. (CVS 1689) (user: danielk1977 branch: trunk)
07:21
[63608cd3dd] part of check-in [084f3fffbd] Add a comment on the implementation of sqlite3OsLock(). No code changes. (CVS 1688) (user: danielk1977 branch: trunk)
2004-06-22
11:29
[39e73ed02f] part of check-in [d16b863849] Add os_test.c. Not activated yet. (CVS 1655) (user: danielk1977 branch: trunk)
2004-06-21
18:14
[3d3553d71c] part of check-in [afc398c2ca] Fix an uninitialized variable. The variable was harmless, but pedantic error checking in MSVC raised an exception on it. (CVS 1651) (user: drh branch: trunk)
2004-06-18
17:10
[47176c8e9b] part of check-in [2590fffcaa] Changes to allow libsqlite3.a and libsqlite.a to be both linked into the same program at the same time. (CVS 1621) (user: drh branch: trunk)
06:02
[add5af1cc4] part of check-in [960f55f3ec] Fix a couple of gcc warnings. (CVS 1615) (user: danielk1977 branch: trunk)
2004-06-17
19:04
[132864ff57] part of check-in [9fb29f7331] Documentation updates in preparation for the release of version 3.0.0. (CVS 1613) (user: drh branch: trunk)
2004-06-15
11:40
[8832c78dd9] part of check-in [e21a181376] Minor bugfixes and test case adjustments for version 2 test cases to work with version 3. (CVS 1598) (user: danielk1977 branch: trunk)
00:29
[7eac2e8403] part of check-in [186c6f93e1] Add the sqlite3OsFileModTime() interface. But it is still unused. The change counter in page 1 is always incremented. (CVS 1594) (user: drh branch: trunk)
2004-06-14
09:35
[558006f887] part of check-in [cb3cbe00be] Ensure master journal file is deleted when a transaction is committed. (CVS 1586) (user: danielk1977 branch: trunk)
2004-06-12
02:17
[7ece785e36] part of check-in [dcad244f58] Bug fix in the unix locking code. (CVS 1574) (user: drh branch: trunk)
2004-06-09
17:37
[1d6f3d1a87] part of check-in [dc0763455b] Fixes to the file locking. 109 tests are now failing. (CVS 1548) (user: drh branch: trunk)
2004-06-08
00:47
[3747274f27] part of check-in [4dfdea7373] Do not require a RESERVED lock when transitioning from SHARED to EXCLUSIVE. (CVS 1542) (user: drh branch: trunk)
2004-06-07
16:27
[f78604d00c] part of check-in [0c2d169cf3] More work on windows locking. Fix some problems with unix locking. There is still an assertion failure on windows locking in attach2.test. (CVS 1539) (user: drh branch: trunk)
2004-06-04
10:38
[a4feb70b23] part of check-in [d2f69e5ef2] Defer the exclusive db lock until the pager cache is flushed to disk. 41 tests now fail. (CVS 1528) (user: danielk1977 branch: trunk)
2004-06-03
16:08
[3175540f8d] part of check-in [d57e5252c8] Untested updates to support atomic multi-file transactions (CVS 1526) (user: danielk1977 branch: trunk)
2004-06-02
06:30
[36682ee5e9] part of check-in [51348b82c4] Fix a segfault in sqlite3OsLock() (CVS 1525) (user: danielk1977 branch: trunk)
2004-06-01
14:09
[3dc2868d7f] part of check-in [023d1760c1] Unix version of sqlite3OsLock(). (CVS 1520) (user: danielk1977 branch: trunk)
2004-05-22
21:30
[585665eccd] part of check-in [18e690e405] Remove the OP_SetInsert opcode. (CVS 1443) (user: drh branch: trunk)
17:41
Added [e93a6858b4] part of check-in [5c61be1c47] Split up os.c into separate files, one for each platform. (CVS 1441) (user: drh branch: trunk)