aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAge
...
* Add instrumentation to os_unix.c to test that a return value of SQLITE_FULL ↵danielk19772008-09-22
| | | | | from an xSync() callback is handled correctly. (CVS 5730) FossilOrigin-Name: 7bd2da93c6cce52edbbe53fe26a82ad159dd6b6b
* Check if error code ENOTSUP is supported before using it. Ticket #3375. (CVS ↵danielk19772008-09-15
| | | | | 5697) FossilOrigin-Name: c32cb106c5d68e98f51f1eaf9ae0e2a3c36d00d6
* Add support for the SQLITE_THREADSAFE=2 and SQLITE_DEFAULT_MEMSTATUS ↵danielk19772008-09-04
| | | | | compilation options. (CVS 5676) FossilOrigin-Name: 85c2a58901338c1c4652c2cbee51e5f48d289191
* If SQLITE_ENABLE_LOCKING_STYLE is defined, have the os_unix.c module offer ↵danielk19772008-09-04
| | | | | the following extra VFS implementations for explicitly selecting a locking-style: "unix-none", "unix-afp", "unix-posix", "unix-flock" and "unix-dotfile". (CVS 5674) FossilOrigin-Name: 6e8fb64639cc7451005d9f1dd2d0ef62576abbdd
* quieting compiler warning about pointer/int conversion size mismatch (CVS 5602)aswift2008-08-22
| | | FossilOrigin-Name: f8a70501c234545b3030144ac6bcbfaa0d2b0069
* Fix os_unix.c so that it will compile on Linux again. (CVS 5588)drh2008-08-22
| | | FossilOrigin-Name: 2416708208357304904e38b2d36081a1adf5e44b
* Added SQLITE_IOERR_LOCK extended error code and support for detecting and ↵aswift2008-08-22
| | | | | 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) FossilOrigin-Name: c1af14e2b6bf5af0aff3df3adbe8cb9aabe1c4a3
* When opening a zero-size database on unix, write one byte into the file beforedrh2008-07-30
| | | | | | interrogating the inode number. This works around issues with msdos filesystems mounted on OS-X. Ticket #3260. (CVS 5504) FossilOrigin-Name: a480a8845fb3b49967de0790b30e6250c824b9be
* In the unix OS implementation, replace inode hash tables with linked lists. ↵drh2008-07-30
| | | | | (CVS 5503) FossilOrigin-Name: db4022db64dc5864e6f1d0a20672183879ad43aa
* Remove unused code. Test coverage enhancements. Modify the algorithm useddrh2008-07-10
| | | | | | to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) FossilOrigin-Name: 636cd723296a8b1709011fdd99b236ffddf3f1b0
* Fix a malloc() failure related problem in os_unix.c. (CVS 5328)danielk19772008-06-30
| | | FossilOrigin-Name: ba8819a6f3dbc45d88346789de42971aacc0d246
* Rearrange some ENABLE_LOCKING_STYLE related code in os_unix.c. (CVS 5324)danielk19772008-06-28
| | | FossilOrigin-Name: f70d552bcd0df884eea2e2272bae558d35fc8845
* Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", ↵danielk19772008-06-26
| | | | | "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) FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
* Remove internal function sqlite3OsDefaultVfs(). The built-in VFS layers now ↵danielk19772008-06-25
| | | | | register their VFS implementations by calling sqlite3_vfs_register() from within sqlite3_os_init(). (CVS 5307) FossilOrigin-Name: 8fa33b79d7369ec5777fd9ad3349f0fa31b98fd6
* Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration ↵danielk19772008-06-18
| | | | | modes. (CVS 5234) FossilOrigin-Name: 5059644c4bc5f6679afd939e0bc26080f42a9918
* Progress toward implementation of sqlite3_config() and a rework of thedrh2008-06-13
| | | | | mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
* Add the xGetLastError() member function to the sqlite3_vfs structure. It is ↵danielk19772008-06-06
| | | | | neither called nor implemented at this point. (CVS 5192) FossilOrigin-Name: b8f1da52c303de20d40aa20a7a031728d5d69af5
* Remove the xGetTempname() method from the vfs structure. Temp files are now ↵danielk19772008-06-06
| | | | | opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190) FossilOrigin-Name: 5173b3e816c7eb711cd21a9068bbafb9ebb7cff1
* Modify the signatures of the sqlite3_vfs.xAccess and ↵danielk19772008-06-05
| | | | | sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) FossilOrigin-Name: 4226ac54beea1b58de8ab7b9d768d999f50438a6
* Consolidated inline assembly versions of "hwtime()" into hwtime.h. Provided ↵shane2008-05-29
| | | | | 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) FossilOrigin-Name: 9883b406ce24eae93942ee5e6aab33fb6b05329f
* Add more version tags to files that lack them. Ticket #3120. (CVS 5137)danielk19772008-05-16
| | | FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
* Better error messages when trying to open a large file using a versiondrh2008-05-05
| | | | | of SQLite that omits large file support. Tickets #3096 and #3094. (CVS 5085) FossilOrigin-Name: bdd89cd231745e6bd498b2751d7ff2cf6169b3eb
* Fix test for buffer overrun in unixGettempname(). Fix for #3091. (CVS 5069)danielk19772008-04-30
| | | FossilOrigin-Name: fc0ca647bd1c7c953bb0f3eb7d3471572fd18c34
* Add a new api sqlite3_randomness() for providing access to SQLite'sdrh2008-03-19
| | | | | internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) FossilOrigin-Name: 15110ea02768bfe977a57eccd6b941a36ebd6b32
* Another fix to the OsUnlock I/O error logic. (CVS 4839)drh2008-03-07
| | | FossilOrigin-Name: 22bd537ee2af6779ecb38502513ae533f85f7c2e
* Correctly handle I/O errors that occur during OsUnlock(). Before thisdrh2008-03-07
| | | | | | | 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) FossilOrigin-Name: b4c1258edb4a40501d13c9da674d0366d5a8c694
* Cleanup the locking-style code in os_unix.c. (CVS 4837)drh2008-03-07
| | | FossilOrigin-Name: 40f55c09dbd31f861b9f9c7641cce92553d94e35
* Updates to the locking-style code in os_unix.c. Not yet working. (CVS 4834)drh2008-03-07
| | | FossilOrigin-Name: 6ebce3b798c60050fb3c583d805570bb06837108
* Get all tests running without memory leaks. (CVS 4714)drh2008-01-16
| | | FossilOrigin-Name: 5807921f5a6e2e08f2c9e79aa91d8c587d64de74
* Change all instances of "it's" in comments to either "its" or "it is",drh2007-12-13
| | | | | | as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
* Use the specified buffer length, not the maximum buffer length indrh2007-12-06
| | | | | unixFullPathname() and related functions. (CVS 4595) FossilOrigin-Name: f015a38771d98996366d66787b9b066f9ef5e248
* Avoid leaking a file descriptor after a malloc failure on unix. (CVS 4518)danielk19772007-10-30
| | | FossilOrigin-Name: c249d5da721b32f6fe409a5b55a5d49a58994fec
* Add comments to the code warning that _XOPEN_SOURCE might need to bedrh2007-10-23
| | | | | defined manually if using USE_PREAD or USE_PREAD64. (CVS 4509) FossilOrigin-Name: d7ed7cd077fe5f9ffba2bca48b84b231ccfd85b0
* Fixes for uninitialized variables. Tickets #2658 and #2659. (CVS 4437)drh2007-09-20
| | | FossilOrigin-Name: 27fe1288336665c4d47c5d7ddcbeacc451ec4a9d
* The code is correct as it contains an assert(3) in the "default" switchrse2007-09-20
| | | | | | | | | 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) FossilOrigin-Name: 91831ff2922666b39d8f4ba448982c6763030633
* Add a parameter to specify the size of the output buffer passed to ↵danielk19772007-09-17
| | | | | xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) FossilOrigin-Name: 8b29f5fbfc723cdf67cf3410cd01f7c17ea39a4b
* Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. ↵danielk19772007-09-17
| | | | | To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) FossilOrigin-Name: ad3687b16e9420d8bbaa3a645aaf803813b36061
* Remove the unixFile.isOpen variable (no longer in use). (CVS 4401)danielk19772007-09-05
| | | FossilOrigin-Name: 1786e9c881a67fbf8bd014d643590534c8c601dc
* Unix OS interface returns SQLITE_CANTOPEN following a getcwd() failure. (CVS ↵drh2007-09-03
| | | | | 4384) FossilOrigin-Name: ed15db4610bc6202c624234e48d234e0005825e4
* Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Somedrh2007-09-03
| | | | | test cases added but more are needed. Ticket #2616. (CVS 4376) FossilOrigin-Name: 020a2b10d408f51d4ef3211c5f701f5378fd4625
* Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release ↵danielk19772007-09-01
| | | | | uses a global lru list of page, it is no longer required. (CVS 4364) FossilOrigin-Name: fb27692ab10b22851b265348bb6b3e1dececd60f
* Fix for registration of non-default vfs objects. (CVS 4360)danielk19772007-09-01
| | | FossilOrigin-Name: 5f48fb95c26a713b3259ee49fd444108030376dc
* Remove the xLockState method for sqlite3_io_methods. Replace it withdrh2007-08-31
| | | | | | a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) FossilOrigin-Name: 306586c412b87c6d12bac796641517afa3f9eb6a
* Initial implementation of the sqlite3_file_control() interface.drh2007-08-31
| | | | | | Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) FossilOrigin-Name: d3ab3e3911f10b17d0859a34f4f007c790a0cd82
* Prevent sqlite from opening directories as databases under unix. Fix for ↵danielk19772007-08-30
| | | | | test cae in misc7.test. (CVS 4342) FossilOrigin-Name: e30546504c59c7d92d83a32d9b7e83edc175e247
* Remove the SYNC_BARRIER flag. (CVS 4337)danielk19772007-08-30
| | | FossilOrigin-Name: 5a22d8695b49cf7bc2eee382b66a98d29adb9e6e
* Work around problem with forward declarations of constants in MSVCdrh2007-08-27
| | | | | in the amalgamation. Ticket #2574. (CVS 4304) FossilOrigin-Name: dc80b2e1f4e1d31479aad9f39e651e62f2601fb8
* Added the 34to35.html document describing the changes between 3.4.2 anddrh2007-08-27
| | | | | 3.5.0. Minor interface cleanups. (CVS 4302) FossilOrigin-Name: 0791f917bb18d7305b805b9cbcb308bdd7b3a1f5
* Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit thedrh2007-08-24
| | | | | | 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) FossilOrigin-Name: b8451da378179d43f25d9a014480c0f13dd1dc37
* The win32 driver compiles but does not yet work well. Many bugsdrh2007-08-24
| | | | | fixed. (CVS 4282) FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8