aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAge
...
* Add new extended error codes for I/O errors on seek and shared-memory map.drh2011-04-13
| | | | | Add sqlite3_log() calls in the windows backend to record details of errors. FossilOrigin-Name: fe603217fce8e3a696bd108d5ae7f7a291b7e215
* Make sure the array of overloadable system calls is always correctlydrh2011-04-13
| | | | | | sized, regardless of the compile-time configuration. Ticket [bb3a86e890c8e96ab]. FossilOrigin-Name: c6e727ab3b16e71b0151673bb24b0bafec368ee6
* Do not override the fchmod system call in unix unless thedrh2011-04-11
| | | | | SQLITE_ENABLE_LOCKING_STYLE compile-time option is engaged. FossilOrigin-Name: 51029d8430d2dbc782f161577d47e3dd11c4e4d7
* Fix a benign inaccuracy in the os_unix.c SQLITE_FCNTL_SIZE_HINT code.dan2011-04-06
| | | FossilOrigin-Name: 61a6ccbe3c9c3ad5f35fb325e3c327cb19409925
* Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is ↵dan2011-04-02
| | | | | invoked with NULL passed as the second argument, even if all the default system calls are already installed. FossilOrigin-Name: 3b91eaaa0b3c25022332ba3d1a5651848fc5d84c
* Move a variable declaration inside an #ifdef to avoid a compiler warning.drh2011-04-01
| | | FossilOrigin-Name: 7a6d05dfbc36310683dd51a280e9283cef4f9056
* In os_unix.c, do not return SQLITE_BUSY to SQLite following an error in ↵dan2011-04-01
| | | | | fcntl(F_UNLCK), regardless of the value of errno. FossilOrigin-Name: ff6dfe6ed74f9ff1669b2bda41d61a01cd0a1bc6
* Fix some problems in os_unix.c when compiled with ENABLE_LOCKING_STYLE on ↵dan2011-04-01
| | | | | OSX. Also some minor issues with test scripts. FossilOrigin-Name: 8088031bc949bd4efb5edf33bbd1bce5700fca56
* Further tests for os_unix.c.dan2011-03-30
| | | FossilOrigin-Name: a84f7711949ea3885b0e36e48118d2c76a8a5b82
* Fix a problem in the unix VFS implementation of xNextSystemCall(). Also some ↵dan2011-03-29
| | | | | typos that prevent compilation when HAVE_POSIX_FALLOCATE is defined. FossilOrigin-Name: bc6cce81565b17f886478bd51500bba2ed11ec1d
* Change the xSetSyscall methods of the VFS so that they do not cast objectdrh2011-03-23
| | | | | pointers into function pointers. Fix other unrelated compiler warnings. FossilOrigin-Name: e059152adce3a8fb693f082b82b5669a238c8d6f
* Make the "unix-excl" VFS work exactly like "unix" if the databasedrh2011-03-15
| | | | | file is read-only. FossilOrigin-Name: d9846834993079fb2e42d6bd2644b2154ef324d1
* In the "unix-excl" VFS, use the heap for shared memory, since only a singledrh2011-03-12
| | | | | process is able to read or write the database. FossilOrigin-Name: a05a6d40875df674f9c2b46e33128c6878d4edaa
* Add the new optional "unix-excl" VFS. This VFS grabs an exclusive lock ondrh2011-03-12
| | | | | | the database preventing other processes from accessing it, but continues to allow other database connections from the same process. FossilOrigin-Name: 00051c3296e11211b2bb5ae28f016b17dca857d7
* Remove an unused field from the unix sqlite3_file object.drh2011-03-11
| | | FossilOrigin-Name: f957f23a8a392bb1720720960bda2c7b24de9663
* Merge the syscall-override changes into trunk.drh2011-03-08
|\ | | | | FossilOrigin-Name: 36d79e6f54cdc4129c6e6366a49722e2cf1cccbd
| * Handle EINTR errors from open().drh2011-03-04
| | | | | | FossilOrigin-Name: a7d176b27cd73791d45eb3a31df78187ae10ce20
| * Add additional VFS methods to retrieve system call pointers and to get adrh2011-03-02
| | | | | | | | | | list of all changeable system calls. FossilOrigin-Name: 38558363494e3a736dcb091dd859e76b7ccd78b0
| * Add more system calls to the set that can be overridden in os_unix.c.drh2011-03-02
| |\ | | | | | | | | | | | | Also merge in recent fixes from trunk. FossilOrigin-Name: 80fac2a6e07221bb67613af84ab9dda3e18b5ceb
| * | Proof-of-concept prototype for the proposed xSetSystemCall extension methoddrh2011-03-02
| | | | | | | | | | | | | | | on the VFS. FossilOrigin-Name: 92b5a76abc53290e1bb87b6b55bc64bb1b331dfc
* | | Fix two compiler warnings. No functional code changes.drh2011-03-08
| |/ |/| | | FossilOrigin-Name: c829868aa2254c5e2268cdb803462cc6ec5cb71e
* | Fix bugs in [7b6e30e6a7] that only show up on Mac.drh2011-03-02
|/ | | FossilOrigin-Name: ec55e8c6bb4f2419b3813aa2fd1a20d8f5016159
* Log all error from close() in os_unix.c to sqlite3_log() but do not attempt todrh2011-03-02
| | | | | | report errors back up to the application. Update the unix error logging to put the most important information earlier in the message. FossilOrigin-Name: 7b6e30e6a712311d4ef275253b085b85e6e17116
* Comment out some code in os_unix.c that only runs on MacOSX withdrh2011-02-25
| | | | | SQLITE_ENABLE_LOCKING_STYLE. FossilOrigin-Name: 4e50b0362ab6604a4b6c9f4ad849ec1733d6ce1a
* Fix a typo in the robust_flock() macro for systems without EINTR.drh2011-02-23
| | | FossilOrigin-Name: af9ba2a6d2c37915e799eec52bb827de46afd34d
* Retry selected system calls on unix when they fail with EINTR.drh2011-02-23
| | | FossilOrigin-Name: b9d29ea385bafcf87c7dd07822ce9ec3d3892bd1
* Have os_unix.c call sqlite3_log() following errors in certain system calls.dan2011-02-21
| | | FossilOrigin-Name: 01076528a43b61ae20ef6969b7d326de9b5313e4
* Update all built-in VFSes to return SQLITE_OK for thedrh2011-01-26
| | | | | | | SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the xFileControl methods to return SQLITE_NOTFOUND for unrecognized operation codes. FossilOrigin-Name: 6f2c72a0f6579db3f40c079436ca40e3e52bd6d9
* Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined.drh2010-12-22
| | | FossilOrigin-Name: b82e85ece94c8e25c1dc3251f5444a295fbf8c89
* Rearrange a variable declaration in the proxy locking code to avoid a harmlessdrh2010-12-21
| | | | | compiler warning on recent MacOS versions. FossilOrigin-Name: 39bbd35599e735b32f7ed18143073165b805dd98
* Fix a warning in os_unix.c.dan2010-11-29
| | | FossilOrigin-Name: ee8dc8c87ed15b76ba437df23e1d7b1b7fa30296
* Fix compiler warnings discovered while building SQLite on ↵dan2010-11-29
| | | | | [http://www.devio.us/]. FossilOrigin-Name: 5602ec95aa2a74d0624bb6c7d53e7a0d35536253
* Fix a typo in unixCurrentTimeInt64() preventing compilation with NO_GETTOD ↵dan2010-11-22
| | | | | defined. FossilOrigin-Name: 3df3e79b56821201b4f5ecd23f94d485745c48c3
* Fix os_unix.c so that it works with the test_multiplex module.dan2010-11-05
| | | FossilOrigin-Name: 72ba3e368bec34532ec7b5e856a4daa7e1c8cccb
* Do not embedded #if inside an assert() statement.drh2010-10-05
| | | | | Fix for check-in [dca8763872a] FossilOrigin-Name: d7d4a94fc1209fd32d7c8e20ac83eb169b81ee25
* Fix an assert() failing on OSX.dan2010-10-05
| | | FossilOrigin-Name: dca8763872aa6244cb1a0f519167b360a6372d0d
* Do not call gethostuuid() on MacOS 10.4 and earlier, since it is notdrh2010-09-25
| | | | | supported there. FossilOrigin-Name: 44deaaefeeb95827daeaf84aa5e205b456e75b40
* Fix the computation of the offset on the mmap() for the Nth shared memorydrh2010-09-02
| | | | | | | 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. FossilOrigin-Name: 36397f62f2e3a62b4d5730b29c197449c6850cac
* Fix memory allocation in proxy locking so that it works with SQLITE_MEMDEBUG.drh2010-08-11
| | | FossilOrigin-Name: f854cbe06355dd3455b8af4ad6366949c412434e
* Support FCNTL_CHUNK_SIZE on windows too.dan2010-07-28
| | | FossilOrigin-Name: a038688c991435967b935946c2283707820bb5da
* Add experimental unix-only file-control to grow and truncate the database ↵dan2010-07-27
| | | | | file by a configurable chunk size. FossilOrigin-Name: 7cf0e851d4c5e826ea22ed08291b7c91d7b1abc7
* Fix a race condition in os_unix.c that may occur when one thread is opening ↵dan2010-07-20
| | | | | a connection to a shared-memory block and another is either closing or locking the same shared-memory. FossilOrigin-Name: 3b7330c19a5327322068e9460018fe0152b8ac87
* Previous check-in [534aab837e] accidently reverted somedrh2010-07-15
| | | | | changes from [a121cd80c5]. This check-in restores those changes. FossilOrigin-Name: abff795f38e33d778c8dd494a601bc029237da9e
* Optionally support shared-memory in /dev/shm or other tmpfs directorydrh2010-07-15
| | | | | using an unsupported compile-time option. FossilOrigin-Name: 534aab837e5a34fd58963ab2b505bfbb9da2e8ee
* When creating a journal file on unix, attempt to create it with the same ↵dan2010-07-15
| | | | | permissions as the associated database file. FossilOrigin-Name: a121cd80c5ac94e5977bc3164d2500e0ea132fed
* Fix a typo in a comment in os_unix.c.drh2010-07-14
| | | FossilOrigin-Name: e1e7312580a8b19825b0c52fa8af6c9382f99f22
* On unix, try to create the *-wal and *-shm files with the same permissions ↵dan2010-07-14
| | | | | as the associated database file. FossilOrigin-Name: e5d180eed245437b61bfb257ee01e2571c93afe7
* Fix the unix driver to return an I/O error if unlink fails for any reasondrh2010-07-14
| | | | | other than the file not existing in the first place. FossilOrigin-Name: 90d73c66bfa880cdeb688b3016c8b1c58bfcf35f
* Change the name of the xShmClose VFS method to xShmUnmap, everywhere.drh2010-07-14
| | | FossilOrigin-Name: c2d27cf51d33e6f38bab37008d39074051f75274
* Tweaks to the new shared-memory interface design - mostly comment changes.drh2010-07-13
| | | FossilOrigin-Name: 6336de7aa96a6e1e68cc123e5d5f485d790d95a2