aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAge
...
| * | Prototype change for a new sqlite3_file_control() that will cause thedrh2011-07-26
| | | | | | | | | | | | | | | -wal and -shm files to persist after the last database connection closes. FossilOrigin-Name: e34c553bf04761e86f3bd72f91439c05886caa5c
* | | Use osStat() instead of stat() consistently in os_unix.cdrh2011-07-28
|/ / | | | | FossilOrigin-Name: 9109128cb5640d687251dfbefa2fd998063cd9fb
* / Enable the SQLITE_FCNTL_SIZE_HINT on unix even if SQLITE_FCNTL_CHUNK_SIZEdrh2011-07-25
|/ | | | | has not been set. FossilOrigin-Name: 05c9832e5f6eb705f1dce4e65cf4e2d56512ff6b
* In os_unix.c, check if the ESTALE macro is defined before using it.dan2011-07-15
| | | FossilOrigin-Name: 87017410f2fc3f2ae15ef06714563ba9ad4350c7
* Fix some harmless compiler warnings that were occurring with THREADSAFE=0.drh2011-06-24
| | | FossilOrigin-Name: 9b191bb4c7c1e1b12b188c0b3eee1f8f587887c8
* Rework the autoconf script to better deal with utime() and dlopen().drh2011-06-20
| | | FossilOrigin-Name: f69ed286ffb3f62f5cb5c1f7df55fa4d2468b472
* Make use of the sqlite3GetBoolean() interface for more robust processingdrh2011-06-01
| | | | | of the readonly_shm query parameter inside of unixShmMap(). FossilOrigin-Name: 1f930d7e04cd4a5ff3d91a0e9f1b62114f1cebd2
* Simplify the wal-readonly branch so that it does not require changes todrh2011-06-01
| | | | | anything other than os_unix.c and wal.c and a couple of new error codes. FossilOrigin-Name: d6b4709de4d1f8af001f58938247f00a652a616e
* Merge the latest trunk changes into the wal-readonly branch.drh2011-05-31
|\ | | | | FossilOrigin-Name: 2c6b5a28e3f6b7cb96b944d0a254f3707885f1ce
| * Add the ability to limit filenames to 8+3 using thedrh2011-05-17
| | | | | | | | | | | | SQLITE_ENABLE_8_3_NAMES compile-time option together with a URI parameter of "8_3_names=1". FossilOrigin-Name: 96d609856025919571f781207dfa6a24b1732e8d
* | Add experimental support for read-only connections to WAL databases.dan2011-05-10
|/ | | FossilOrigin-Name: bb59f9862da45d25fb51d7821130854828c91c98
* Invoke the unix open() system call through a wrapper to avoid problems drh2011-04-25
| | | | | resulting from differing declarations to that function in various systems. FossilOrigin-Name: 4c7ff4dd352276e9c01cc536e188cbcd69396952
* Change the prototype for the open() system call to agree with Posix. Thoughdrh2011-04-17
| | | | | | 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. FossilOrigin-Name: 3e135748f1efacb52b414b3ac3f4ae2c08bcd8fb
* Fix #ifs involving SQLITE_ENABLE_LOCKING_STYLE so that they check the value ofdrh2011-04-15
| | | | | that macro and not whether it is defined. FossilOrigin-Name: 8775f159c129e1ee36a1a13c362184713376bd40
* Make sure the unix backend returns SQLITE_FULL if write() fails with andrh2011-04-15
| | | | | ENOSPC error code. FossilOrigin-Name: 721e3c16b389a43f5d7c47a8fd0294473a39dad2
* 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