SQLite

All files named ”src/os.h”
Login

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

History for src/os.h

2022-05-11
16:46
[1ff5ae51d3] part of check-in [40c9273d0e] For the unix VFS, rewrite the xFullPathname method so that it automatically resolves all symbolic links, rendering a canonical pathname that contains no symlinks. (check-in: [40c9273d0e] user: drh branch: resolve-symlinks, size: 9393)
2021-06-11
12:41
[26890f540b] part of check-in [01f3877c71] Avoid bugs in some implementations of dlopen() by avoiding calls to dlopen() with a filename argument that exceeds FILENAME_MAX bytes. Forum post 08a0d6d9bf. (check-in: [01f3877c71] user: drh branch: trunk, size: 9203)
2020-07-29
16:18
[7e0fd6ebc9] part of check-in [a80ae2c98b] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c98b] user: drh branch: typos, size: 9057)
2017-10-05
20:57
[4838882169] part of check-in [8ca0fa8dfe] Fix compiler warnings that come up with SQLITE_OMIT_WAL. (check-in: [8ca0fa8dfe] user: drh branch: trunk, size: 9057)
2016-04-14
13:16
[8e976e59eb] part of check-in [7ee570e7a9] Since the return value of sqlite3OsClose() is always ignored, we might as well make it "void" instead of "int", and thereby save 50 bytes in the compiled binary. (check-in: [7ee570e7a9] user: drh branch: trunk, size: 9004)
2016-03-17
16:01
[91ff889115] part of check-in [6782c87b37] Experimental implementation of the sqlite3_system_errno() interface. (check-in: [6782c87b37] user: drh branch: sqlite_system_errno, size: 9002)
2014-09-06
16:39
[3e57a24e27] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (check-in: [e62aab5e92] user: peter.d.reid branch: trunk, size: 8961)
2013-11-26
01:00
[60d419395e] part of check-in [540f552516] Further work on Windows header file reform. (check-in: [540f552516] user: mistachkin branch: winHdr, size: 8960)
2013-11-25
09:36
[cd8fd6545d] part of check-in [0d42c6b830] Initial work on isolating usage of the Windows header file. (check-in: [0d42c6b830] user: mistachkin branch: winHdr, size: 9792)
2013-04-16
14:58
[4a46270a64] part of check-in [16f7ba4afa] Remove the unused SQLITE_CURDIR macro. (check-in: [16f7ba4afa] user: drh branch: trunk, size: 10800)
2013-03-25
17:00
[ae08bcc5f6] part of check-in [115b830509] Change the signature of the xUnfetch method to "int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p)". (check-in: [115b830509] user: dan branch: experimental-mmap, size: 10967)
2013-03-23
21:00
[782980cd0d] part of check-in [1431be9557] Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch. (check-in: [1431be9557] user: dan branch: experimental-mmap, size: 10962)
2013-03-20
14:26
[8d92f87f5f] part of check-in [14135da3cd] When possible, use memory mapping when appending new pages to a database file. (check-in: [14135da3cd] user: dan branch: experimental-mmap, size: 10927)
2013-03-19
19:28
[4681261aa2] part of check-in [6183f1bd86] Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size". (check-in: [6183f1bd86] user: dan branch: experimental-mmap, size: 10922)
2012-08-03
10:00
[027491c77d] part of check-in [335e91e599] Correct comment about WinRT compiler define. No changes to code. (check-in: [335e91e599] user: mistachkin branch: trunk, size: 10859)
2012-06-21
13:00
[c2ebd26a68] part of check-in [ff828c67e5] Remove support for OS/2 from the source tree. (check-in: [ff828c67e5] user: drh branch: trunk, size: 10875)
2012-03-05
22:52
[38aabd5e3e] part of check-in [86c049a171] Add compile-time define to indicate if the VFS supports the concept of a current directory (as WinCE and WinRT do not). Avoid using the GetTempPath and GetFullPathName APIs on WinRT. Some tests still need adjustments. (check-in: [86c049a171] user: mistachkin branch: winrt, size: 11628)
2012-03-01
20:05
[c3a9db9e8e] part of check-in [8b7ca8a09f] Add recognition of the SQLITE_OS_WINRT compile-time option. Use InitializeCriticalSectionEx() under winRT. (check-in: [8b7ca8a09f] user: drh branch: winrt, size: 11461)
19:14
[a8c6a8aeda] part of check-in [718905367f] Add back in some #includes that were removed incorrectly by the previous check-in. (check-in: [718905367f] user: drh branch: winrt, size: 11276)
18:16
[3b152a1b6d] part of check-in [c0891296b4] Remove unused #defines from os.h. (check-in: [c0891296b4] user: drh branch: winrt, size: 10810)
2012-01-30
16:13
[3ee45fed34] part of check-in [4f0997c7fa] Do not rely on the _WIN32_WINNT macro as vs2005 does not define it by default. Instead, always assume winNT unless the makefile explicitly sets SQLITE_OS_WINNT=0. (check-in: [4f0997c7fa] user: drh branch: nx-devkit, size: 11580)
16:02
[59beba555b] part of check-in [1ce4d21d52] Do not rely on the _WIN32_WINNT macro as vs2005 does not define it by default. Instead, always assume winNT unless the makefile explicitly sets SQLITE_OS_WINNT=0. (check-in: [1ce4d21d52] user: drh branch: trunk, size: 11458)
2012-01-10
17:59
[a2219c3b05] part of check-in [722735a4f3] Refactor sqlite3OsFileControlNoFail() into sqlite3FileControlHint(). (check-in: [722735a4f3] user: drh branch: trunk, size: 10994)
16:56
[7a24446bcd] part of check-in [af59b182d7] Add function sqlite3OsFileControlNoFail(), which is the same as sqlite3OsFileControl() except that it does not simulate OOM errors. This saves adding calls to the BenignMalloc() functions around each of the invocations of sqliteOsFileControl() that ignore the return code. (check-in: [af59b182d7] user: dan branch: trunk, size: 11098)
2012-01-02
18:20
[c7d888830f] 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. (check-in: [03d8362cd2] user: drh branch: trunk, size: 10937)
2011-12-09
05:52
[549b1a2e5e] part of check-in [3702a31e56] The Windows OS flavor #ifdefs must be performed after the 'windows.h' file has been included. (check-in: [3702a31e56] user: mistachkin branch: trunk, size: 10936)
2011-12-08
03:51
[5830d32c4d] part of check-in [a0d92193dd] Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case). (check-in: [a0d92193dd] user: mistachkin branch: trunk, size: 10937)
2011-11-14
01:55
[1e4f937e13] part of check-in [09be42d5fa] Begin making experimental changes to use mmap() for reading content from a database. The code compiles, but crashes on the test suite. (check-in: [09be42d5fa] user: drh branch: mmap-experimental, size: 10909)
2010-07-14
00:14
[9dbed8c2b9] part of check-in [c2d27cf51d] Change the name of the xShmClose VFS method to xShmUnmap, everywhere. (check-in: [c2d27cf51d] user: drh branch: experimental, size: 10789)
2010-07-13
18:44
[93cb145b93] part of check-in [f4780bde62] Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. (check-in: [f4780bde62] user: dan branch: experimental, size: 10789)
2010-06-14
14:07
[d7775504a5] part of check-in [fc0cabc15c] Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations. (check-in: [fc0cabc15c] user: dan branch: experimental, size: 10829)
2010-06-11
19:04
[a0d2c1436c] part of check-in [ca68472db0] Experimental change to the xShmXXX parts of the VFS interface. (check-in: [ca68472db0] user: dan branch: experimental, size: 10991)
2010-06-03
12:09
[6f529984a2] part of check-in [dd10a547f1] Remove global variables when compiled with SQLITE_OMIT_WSD (check-in: [dd10a547f1] user: drh branch: trunk, size: 10924)
2010-05-30
19:55
[6f604986f0] part of check-in [ef3ba7a17f] Initial code for incremental checkpoint in WAL mode. This check-in compiles on unix and runs as long as you do not engage WAL mode. WAL mode crashes and burns. Consider this check-in a baseline implementation for getting the new capability up and running. (check-in: [ef3ba7a17f] user: drh branch: wal-incr-ckpt, size: 10848)
2010-05-20
23:51
[efcc7f0072] part of check-in [1bd011c9fe] Add a new xShmBarrier method to the VFS - a shared-memory fence operation. Implement the same in both unix and win32. Use it to make the WAL subsystem more robust. (check-in: [1bd011c9fe] user: drh branch: trunk, size: 10844)
2010-05-18
13:27
[207c26793c] part of check-in [0a6787908e] Mark the shared-memory in the WAL implementation as volatile. (check-in: [0a6787908e] user: drh branch: trunk, size: 10800)
2010-05-12
18:01
[8a7e245623] part of check-in [2b00152c1a] Refactoring the VFS-SHM methods used by WAL. This version compiles and runs non-WAL test cases but crashes and burns on wal.test. (check-in: [2b00152c1a] user: drh branch: wal-refactor, size: 10791)
2010-05-03
14:32
[b389844e54] part of check-in [ab77b3ae6d] Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available. Provide an implementation of xCurrentTimeInt64 for os_unix.c. (check-in: [ab77b3ae6d] user: drh branch: trunk, size: 10502)
2009-11-10
01:30
[534b082c3c] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 10490)
2009-08-17
15:52
[00a1334a4e] part of check-in [67ad21abf8] Move error simulation code from the sqlite3_os_init() functions into a wrapper. (check-in: [67ad21abf8] user: dan branch: trunk, size: 10544)
2009-02-05
16:31
[fa3f4aa011] part of check-in [e8f192e2a9] Make the pending byte adjustable via sqlite3_test_control() on all builds, not just on test builds. (CVS 6263) (check-in: [e8f192e2a9] user: drh branch: trunk, size: 10454)
2009-01-14
23:03
[f996ab57d2] 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) (check-in: [b676ccfd90] user: drh branch: trunk, size: 10779)
2008-12-08
18:19
[4ee25a35c0] part of check-in [73c7302c5f] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (check-in: [73c7302c5f] user: drh branch: trunk, size: 10734)
2008-06-26
10:41
[ef8abeb9af] part of check-in [cdd4cf4ce2] Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311) (check-in: [cdd4cf4ce2] user: danielk1977 branch: trunk, size: 10734)
2008-06-25
17:19
[a7bc8d7232] part of check-in [8fa33b79d7] Remove internal function sqlite3OsDefaultVfs(). The built-in VFS layers now register their VFS implementations by calling sqlite3_vfs_register() from within sqlite3_os_init(). (CVS 5307) (check-in: [8fa33b79d7] user: danielk1977 branch: trunk, size: 10491)
2008-06-09
21:57
[c9a7f94e80] part of check-in [220bfd1f5c] Initial attempt at defining the sqlite3_initialize() and sqlite3_shutdown() interfaces. (CVS 5198) (check-in: [220bfd1f5c] user: drh branch: trunk, size: 10905)
2008-06-05
11:39
[333a53ddaf] part of check-in [4226ac54be] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (check-in: [4226ac54be] user: danielk1977 branch: trunk, size: 10967)
2008-05-29
03:54
[6e7e5d4efd] part of check-in [ad6a782e7c] Moved check and define for OS_WINCE from os_win.c to os.h (with the other OS_* defines). This allows OS_WINCE to be available for mutex_w32.c which is included earlier than os_win.c in the almagamation. (CVS 5176) (check-in: [ad6a782e7c] user: shane branch: trunk, size: 10933)
02:53
[c0727c1a36] part of check-in [7c51a97dc1] sqlite3OsDl*() APIs can be omitted if SQLITE_OMIT_LOAD_EXTENSION defined. (CVS 5171) (check-in: [7c51a97dc1] user: shane branch: trunk, size: 10769)
2008-05-16
04:51
[7131c5b8e5] part of check-in [81a8c70ed7] Add more version tags to files that lack them. Ticket #3120. (CVS 5137) (check-in: [81a8c70ed7] user: danielk1977 branch: trunk, size: 10699)
2008-04-15
18:50
[2ee8b0dec8] part of check-in [cafa8ac268] Support UTF-8 filenames on OS/2 by converting them to and from the local codepage. Ticket 3052. (CVS 5014) (check-in: [cafa8ac268] user: pweilbacher branch: trunk, size: 10638)
2008-03-26
17:18
[497bf5f0f2] part of check-in [afe1963ec5] Work around problems with compilers that do not allow C preprocessor macros with empty arguments. (CVS 4921) (check-in: [afe1963ec5] user: drh branch: trunk, size: 10618)
2007-12-03
21:52
[d04706d54a] part of check-in [96ec39031e] Do not require os_other.h if compiling with -DOS_OTHER=1. (CVS 4588) (check-in: [96ec39031e] user: drh branch: trunk, size: 10697)
2007-10-21
22:59
[b75506ab40] part of check-in [0604dace0e] We need an extra define to activate OS/2 semaphores for compiling/linking. (CVS 4501) (check-in: [0604dace0e] user: pweilbacher branch: trunk, size: 10954)
2007-09-17
07:02
[4c880cf674] part of check-in [8b29f5fbfc] Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) (check-in: [8b29f5fbfc] user: danielk1977 branch: trunk, size: 10926)
06:06
[143d122c04] part of check-in [ad3687b16e] Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) (check-in: [ad3687b16e] user: danielk1977 branch: trunk, size: 10916)
2007-08-31
18:34
[53e6542789] part of check-in [306586c412] Remove the xLockState method for sqlite3_io_methods. Replace it with a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) (check-in: [306586c412] user: drh branch: trunk, size: 10916)
16:11
[efcdddd63d] part of check-in [d3ab3e3911] Initial implementation of the sqlite3_file_control() interface. Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) (check-in: [d3ab3e3911] user: drh branch: trunk, size: 11105)
2007-08-24
03:51
[2bfbbad126] part of check-in [3a68fcddfa] The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (check-in: [3a68fcddfa] user: drh branch: trunk, size: 11093)
2007-08-21
10:44
[399c89cafa] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda54] user: drh branch: trunk, size: 10571)
2007-08-20
14:23
[da098cad98] part of check-in [40f66ada81] Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247) (check-in: [40f66ada81] user: danielk1977 branch: trunk, size: 10273)
2007-08-18
10:59
[447a22462d] part of check-in [a258c4ec24] Further progress on migration to sqlite3_vfs. (CVS 4242) (check-in: [a258c4ec24] user: danielk1977 branch: trunk, size: 10269)
2007-08-17
16:50
[d33920f6b3] part of check-in [08a0f48028] Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241) (check-in: [08a0f48028] user: danielk1977 branch: trunk, size: 10264)
15:53
[e54a81bc85] part of check-in [af3e3c7acd] Begin migration to using sqlite3_vfs interface. (CVS 4240) (check-in: [af3e3c7acd] user: danielk1977 branch: trunk, size: 21612)
2007-08-15
17:08
[8eff07babf] part of check-in [af9503daf3] Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228) (check-in: [af9503daf3] user: danielk1977 branch: trunk, size: 20665)
2007-06-30
15:24
[cea2e179bb] part of check-in [d69204fec7] old emx/gcc sets __EMX__ (with double underscores) as builtin #define (CVS 4147) (check-in: [d69204fec7] user: pweilbacher branch: trunk, size: 20580)
2007-06-22
20:17
[bdb253b04d] part of check-in [f35e20e196] fix linking failure on OS/2 that happens with the amalgamation and the high memory option enabled (CVS 4110) (check-in: [f35e20e196] user: pweilbacher branch: trunk, size: 20578)
20:04
[478f38ee53] part of check-in [12327ca049] fix compilation failure on OS/2 with the amalgamation (CVS 4109) (check-in: [12327ca049] user: pweilbacher branch: trunk, size: 20401)
2007-05-08
21:45
[213dd1f8f7] part of check-in [c5754530c6] Remove compiler warnings in the amalgamation. (CVS 3960) (check-in: [c5754530c6] user: drh branch: trunk, size: 20374)
2007-04-05
21:58
[9240adf088] part of check-in [f2caff870c] Fix the amalgamation so that it works with -DSQLITE_ENABLE_REDEF_IO. Change tclsqlite.c so that it can be appended to the amalgamation. Create a new amalgamation of header files for use by projects that want to redefine their own I/O interface using -DSQLITE_ENABLE_REDEF_IO. (CVS 3817) (check-in: [f2caff870c] user: drh branch: trunk, size: 20312)
2007-04-02
16:45
[21db538bb6] part of check-in [4fdafd3f58] If preprocessor macro OS_OTHER is defined, then ignore OS_UNIX, OS_WIN, and OS_OS2. This makes it easier to add proprietary backends.. (CVS 3801) (check-in: [4fdafd3f58] user: drh branch: trunk, size: 20135)
2007-03-29
18:19
[506acdfd0a] part of check-in [0fb9af1d6e] Change the name of PAGER_SECTOR_SIZE to SQLITE_DEFAULT_SECTOR_SIZE. Make the new OS-layer interface routine for finding sector size optional. (CVS 3750) (check-in: [0fb9af1d6e] user: drh branch: trunk, size: 19942)
2007-03-19
05:54
[ec780b3561] part of check-in [5752d84d37] Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700) (check-in: [5752d84d37] user: danielk1977 branch: trunk, size: 19816)
2006-12-21
01:29
[17fc73165c] 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) (check-in: [a1bcc6de57] user: drh branch: trunk, size: 19745)
2006-10-31
21:27
[fa6fcf5e46] part of check-in [a19ce5c1c4] Change the default temp file prefix to be "sqlite" spelled backwards. Tickets #2049 et al. (CVS 3499) (check-in: [a19ce5c1c4] user: drh branch: trunk, size: 18838)
21:16
[b33ce697b3] part of check-in [7ce48000bb] Change the default prefix for temporary files so that it no longer contains the text "sqlite". In this way, perhaps we will not get so many false bug reports such as ticket #2049, #1989, and #1841. (CVS 3498) (check-in: [7ce48000bb] user: drh branch: trunk, size: 18152)
2006-06-24
12:39
[3fd6a022ba] part of check-in [f357efb373] (OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse, verified by me) (CVS 3293) (check-in: [f357efb373] user: pweilbacher branch: trunk, size: 18149)
2006-06-12
12:57
[ac2ccb4f48] part of check-in [65c6e5e117] Patches to get things working better for OS2. Ticket #1836. (CVS 3217) (check-in: [65c6e5e117] user: drh branch: trunk, size: 18148)
2006-06-03
18:02
[46fad85c70] part of check-in [373246c2d1] Added support for OS/2. Ticket #1817 (CVS 3198) (check-in: [373246c2d1] user: drh branch: trunk, size: 18128)
2006-01-21
19:57
[93035a0e3b] part of check-in [29725de474] Fix a bug in os.h. How did this slip by before now? (CVS 2986) (check-in: [29725de474] user: drh branch: trunk, size: 16538)
2006-01-18
17:25
[e4637eadcd] 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) (check-in: [e1ad9df1cf] user: drh branch: trunk, size: 16539)
2006-01-11
21:41
[9debc3d3ca] 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) (check-in: [5d9c6aa964] user: drh branch: trunk, size: 16540)
2006-01-07
16:06
[8710c0068f] part of check-in [e170e15766] Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883) (check-in: [e170e15766] user: drh branch: trunk, size: 16528)
2006-01-06
14:32
[6e61d5e901] 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) (check-in: [2529c2e11f] user: drh branch: trunk, size: 11886)
12:03
[907e939f30] part of check-in [0c4c45c36f] Back out the addition of the new header file - bad idea. (CVS 2868) (check-in: [0c4c45c36f] user: drh branch: trunk, size: 9986)
03:29
[1f825a8ec8] part of check-in [b8332aa8b8] Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866) (check-in: [b8332aa8b8] user: drh branch: trunk, size: 2211)
2006-01-02
20:00
[cc99e15156] 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) (check-in: [a582b15959] user: drh branch: trunk, size: 9988)
2005-12-15
10:50
[e941992043] part of check-in [81a41f6637] Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) (check-in: [81a41f6637] user: danielk1977 branch: trunk, size: 9969)
10:11
[df6babd4fd] part of check-in [c1ed79f594] Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) (check-in: [c1ed79f594] user: danielk1977 branch: trunk, size: 9849)
2005-12-02
02:44
[d5ae3f4c1c] part of check-in [31251a9098] Add a test to verify that binding text with embedded '\000' works. Also comment changes in os.h. (CVS 2797) (check-in: [31251a9098] user: drh branch: trunk, size: 9096)
2005-11-30
03:20
[c5decb8494] part of check-in [bd8740d1ae] Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) (check-in: [bd8740d1ae] user: drh branch: trunk, size: 8955)
2005-11-29
19:50
[4172cf1dfb] part of check-in [59bdca2552] Make the build work on windows again. Ticket #1544. (CVS 2793) (check-in: [59bdca2552] user: drh branch: trunk, size: 7981)
03:13
[a429c3534c] 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) (check-in: [058f317538] user: drh branch: trunk, size: 7959)
2005-11-26
03:51
[70da8a43e0] part of check-in [008f676f20] Remove some vestiges of the old OS_TEST driver. (CVS 2787) (check-in: [008f676f20] user: drh branch: trunk, size: 8069)
03:43
[101564686b] part of check-in [57a674fc71] Add an OS method for making copies of file descriptors. This fixes the crash tests. (CVS 2786) (check-in: [57a674fc71] user: drh branch: trunk, size: 8094)
00:25
[64564ddc5b] 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) (check-in: [1f69aec285] user: drh branch: trunk, size: 8042)
2005-09-17
15:20
[c51f2747f7] part of check-in [c07330000b] Changes to make corruption errors easier to track down. (CVS 2709) (check-in: [c07330000b] user: drh branch: trunk, size: 7947)
2005-09-16
09:52
[5a0a42555a] part of check-in [9115e0621d] Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl variable sqlite_pending_byte to the internal pending-byte location when in test mode. (CVS 2700) (check-in: [9115e0621d] user: danielk1977 branch: trunk, size: 7986)
2005-09-08
12:38
[c9fd9f92f1] 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) (check-in: [3c555a8749] user: drh branch: trunk, size: 7894)
2005-06-07
22:22
[c4b34bd4d6] part of check-in [62a7353d4a] Changes to support linking without a parser and without a disk I/O interface. (CVS 2504) (check-in: [62a7353d4a] user: drh branch: trunk, size: 7889)
2005-04-28
17:18
[e5438be25c] part of check-in [6863703abc] Enhancements to allow for extensions. (CVS 2448) (check-in: [6863703abc] user: drh branch: trunk, size: 7643)
2005-03-10
14:11
[0c805df3df] part of check-in [58b8733b96] Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372) (check-in: [58b8733b96] user: drh branch: trunk, size: 7544)
2005-01-16
20:47
[ae44064dc1] part of check-in [de9ad673d0] Drop support for MAC OS9. SQLite 3 has never worked for that OS because the developers do not have access to a machine running it and nobody from the community has stepped forward to provide a port. By moving the os_mac.c file into the attic, we make the lack of support official. (CVS 2220) (check-in: [de9ad673d0] user: drh branch: trunk, size: 7410)
2004-12-20
19:01
[c92a675533] part of check-in [772e22cbd6] Add PRAGMA 'temp_store_directory'. Added os_*.c function sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into invalidateTempStorage(). (CVS 2171) (check-in: [772e22cbd6] user: tpoindex branch: trunk, size: 7716)
2004-11-08
07:13
[38258df2db] part of check-in [d633569869] Auto-vacuum: Account for the page reserved for windows locking (PENDING_BYTE). (CVS 2076) (check-in: [d633569869] user: danielk1977 branch: trunk, size: 7681)
2004-10-01
02:00
[5834a404b7] 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) (check-in: [8972c004dc] user: drh branch: trunk, size: 7681)
2004-06-25
08:32
[d1780e0db9] part of check-in [b68b4a4262] A few more comment changes. No code alterations. (CVS 1689) (check-in: [b68b4a4262] user: danielk1977 branch: trunk, size: 7687)
2004-06-22
11:29
[2f5ea879b7] part of check-in [d16b863849] Add os_test.c. Not activated yet. (CVS 1655) (check-in: [d16b863849] user: danielk1977 branch: trunk, size: 6900)
2004-06-15
01:40
[1cb5f0293a] part of check-in [5a81420277] Do not use the page containing locks for anything to avoid problems with the manditory file locking on windows. (CVS 1595) (check-in: [5a81420277] user: drh branch: trunk, size: 6882)
00:29
[be7323afb3] 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) (check-in: [186c6f93e1] user: drh branch: trunk, size: 6027)
2004-06-14
09:35
[5df666d324] part of check-in [cb3cbe00be] Ensure master journal file is deleted when a transaction is committed. (CVS 1586) (check-in: [cb3cbe00be] user: danielk1977 branch: trunk, size: 5983)
2004-06-09
17:37
[23c69c5084] part of check-in [dc0763455b] Fixes to the file locking. 109 tests are now failing. (CVS 1548) (check-in: [dc0763455b] user: drh branch: trunk, size: 5942)
2004-06-07
16:27
[a3a9c2df29] 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) (check-in: [0c2d169cf3] user: drh branch: trunk, size: 5999)
2004-06-04
10:38
[4e480eb927] part of check-in [d2f69e5ef2] Defer the exclusive db lock until the pager cache is flushed to disk. 41 tests now fail. (CVS 1528) (check-in: [d2f69e5ef2] user: danielk1977 branch: trunk, size: 3521)
2004-06-03
16:08
[cc2fd62b2e] part of check-in [d57e5252c8] Untested updates to support atomic multi-file transactions (CVS 1526) (check-in: [d57e5252c8] user: danielk1977 branch: trunk, size: 3495)
2004-06-01
14:09
[833b963972] part of check-in [023d1760c1] Unix version of sqlite3OsLock(). (CVS 1520) (check-in: [023d1760c1] user: danielk1977 branch: trunk, size: 3454)
2004-05-22
17:41
[ab42f4a7c4] part of check-in [5c61be1c47] Split up os.c into separate files, one for each platform. (CVS 1441) (check-in: [5c61be1c47] user: drh branch: trunk, size: 3227)
2004-05-20
11:00
[6e446a17cb] part of check-in [2821767b94] Add some more elements of the new API. (CVS 1416) (check-in: [2821767b94] user: danielk1977 branch: trunk, size: 6247)
2004-05-08
08:23
[fbb2f6595f] part of check-in [8af6474c49] Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) (check-in: [8af6474c49] user: danielk1977 branch: trunk, size: 6000)
2004-02-11
16:38
[250a3789be] part of check-in [300c5543dc] Only define _FILE_OFFSET_BITS if it is not already defined. Ticket #605. (CVS 1227) (check-in: [300c5543dc] user: drh branch: trunk, size: 5974)
2004-01-16
19:11
[8d02b62215] part of check-in [a0f8b1f3ce] See ticket #569; eliminates warnings for Cygwin v1.5 and above. (CVS 1185) (check-in: [a0f8b1f3ce] user: dougcurrie branch: trunk, size: 5937)
2004-01-12
00:39
[257c9aef15] part of check-in [1ebe5fc7b0] On unix, embargo close() operations until all locks have cleared from the file. Ticket #561. (CVS 1171) (check-in: [1ebe5fc7b0] user: drh branch: trunk, size: 6005)
2003-12-24
01:41
[4101ce267c] part of check-in [9392c51450] minor edits for new date.c with mingw/msys on Windows (CVS 1148) (check-in: [9392c51450] user: dougcurrie branch: trunk, size: 5929)
2003-08-16
13:10
[729395fefc] part of check-in [7d8d3252df] Make the compile work under cygwin. Tickets #327, #213, #316, #322, #349, #373, and #429. (CVS 1075) (check-in: [7d8d3252df] user: drh branch: trunk, size: 5867)
2003-08-09
21:32
[4c51809f56] part of check-in [a6197e2075] Add experimental date and time functions based on julian day number. (CVS 1069) (check-in: [a6197e2075] user: drh branch: trunk, size: 5732)
2003-07-27
18:59
[8aed1c9284] part of check-in [09c10fe3c9] When creating a new journal file, open a (read-only) file descriptor on the directory containing the journal and sync that directory once to make sure that the journal filename entry gets into the directory. Ticket #410. (CVS 1066) (check-in: [09c10fe3c9] user: drh branch: trunk, size: 5698)
2003-04-24
01:45
[9e5bbddff1] part of check-in [206b17397b] Fix some issues with INSTEAD OF triggers. (CVS 930) (check-in: [206b17397b] user: drh branch: trunk, size: 5580)
2003-03-19
03:14
[aa52f0c9da] part of check-in [875da9eed9] Modifications to the VDBE to support more than one database file. (CVS 878) (check-in: [875da9eed9] user: drh branch: trunk, size: 5461)
2003-01-08
13:02
[afa3e09621] part of check-in [13f82d67f6] Port ot MacOS Classic. Ticket #218. (CVS 820) (check-in: [13f82d67f6] user: drh branch: trunk, size: 5411)
2002-12-07
21:45
[09fd96b4d7] part of check-in [1c58b4fc03] Save the full pathname of the database file so that journalling still works even if the user changes working directories after opening the databae. Ticket #200. (CVS 798) (check-in: [1c58b4fc03] user: drh branch: trunk, size: 3683)
2002-11-20
11:08
[b7b79563fc] part of check-in [da4a79e289] Get the new large file code working with the Borland compiler. Ticket #195. (CVS 787) (check-in: [da4a79e289] user: drh branch: trunk, size: 3642)
2002-11-09
00:33
[1caaea972d] part of check-in [a29d60ecc5] Try to better detect when the library is compiled for large file support (LFS) but the support is not available in the host OS kernel. (CVS 782) (check-in: [a29d60ecc5] user: drh branch: trunk, size: 3611)
2002-11-06
14:08
[deac8efeac] part of check-in [2008b56fe1] Add large file support to Windows. Change large file support for Unix so that it compiles automatically - without requiring special options on the compiler command line. (CVS 781) (check-in: [2008b56fe1] user: drh branch: trunk, size: 3098)
00:59
[c7038373d1] part of check-in [81bb1aed5e] Changes to include files so that the >2GB file patch will compile under BSD. (CVS 780) (check-in: [81bb1aed5e] user: drh branch: trunk, size: 2680)
2002-11-05
23:03
[c5e4fb5906] part of check-in [a3f67fe912] Add support for databases larger than 2GB under Unix. Must be compiled with -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE in order to work with larger databases. (CVS 778) (check-in: [a3f67fe912] user: drh branch: trunk, size: 2592)
2002-08-14
12:56
[3009379b06] part of check-in [2127de3f03] Implement probabilistic reader/writer locks under windows so that windows can have multiple simultaneous readers. (CVS 714) (check-in: [2127de3f03] user: drh branch: trunk, size: 2565)
2002-07-13
17:23
[5b9a69875c] part of check-in [72a609ec64] Partial fix for ticket #96: Return SQLITE_MISUSE from sqlite_exec() if called from a child process with an active transaction that was started in the parent. (CVS 675) (check-in: [72a609ec64] user: drh branch: trunk, size: 2483)
2002-03-20
00:00
[4a361fccfb] part of check-in [c2e0b79057] One more change before 2.4.2: Make the os.h header file more robust in detecting whether to use unix or windows. (CVS 434) (check-in: [c2e0b79057] user: drh branch: trunk, size: 2454)
2002-02-02
15:01
[a17596ecc7] part of check-in [aaa53e113e] Checkpoint code added to the pager. Regression tests work but the new APIs have not been tested yet. (CVS 361) (check-in: [aaa53e113e] user: drh branch: trunk, size: 2225)
2002-01-14
09:28
[5405a5695b] part of check-in [f3038d218c] Fix warning messages in VC++. Patches from nicolas352001. (CVS 347) (check-in: [f3038d218c] user: drh branch: trunk, size: 2220)
2001-12-14
15:09
[00a18e0ae1] part of check-in [b0d2188764] Fix a race condition in the locking code that would sometimes cause SQLITE_PROTOCOL or SQLITE_CORRUPT to be returned when SQLITE_BUSY should have been returned. (CVS 326) (check-in: [b0d2188764] user: drh branch: trunk, size: 2119)
2001-12-05
00:21
[c5c12f5f25] part of check-in [585ed5ebf1] Bug fix: sqlite_exec() would sometimes return SQLITE_PROTOCOL when it should have returned SQLITE_BUSY. There was also a deadlock that the previous bug was masking. (CVS 322) (check-in: [585ed5ebf1] user: drh branch: trunk, size: 1958)
2001-10-09
04:19
[bed702c9e3] part of check-in [484b82d8a1] Fix the locking protocol. (CVS 280) (check-in: [484b82d8a1] user: drh branch: trunk, size: 1950)
2001-09-20
01:44
[0f478e2fef] part of check-in [d2a1aac467] 2.0-Alpha-2 release (CVS 258) (check-in: [d2a1aac467] user: drh branch: trunk, size: 1735)
2001-09-19
13:58
[6d627d8629] part of check-in [82db5456c9] Add the OpenReadOnly() OS method to fix a bug in the pager. (CVS 257) (check-in: [82db5456c9] user: drh branch: trunk, size: 1693)
13:22
[2528414d4d] part of check-in [abff526d00] Trying to get the OS abstraction layer to work. (CVS 256) (check-in: [abff526d00] user: drh branch: trunk, size: 1645)
2001-09-17
20:25
Added: [3b21772e76] part of check-in [602ea4f9f6] Add a new column in the SQLITE_MASTER table to record the root page number of primary key indices. (CVS 252) (check-in: [602ea4f9f6] user: drh branch: trunk, size: 1409)