SQLite

All files named ”src/os_common.h”
Login

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

History for src/os_common.h

2022-11-29
17:52
[6c0eb8dd40] part of check-in [f64a224244] Change the handling of hwtime.h to make it easier to compile performance measurement builds that make use of hwtime.h. This should not affect productions builds. (check-in: [f64a224244] user: drh branch: trunk, size: 3001)
2016-02-11
21:28
[b2f4707a60] part of check-in [54ff3a26bc] Enhance the MSVC makefile to enable building 'testfixture' fully from source code. (check-in: [54ff3a26bc] user: mistachkin branch: testFixtureSrc, size: 3125)
2015-04-16
03:56
[abdb9a191a] part of check-in [72485c97c6] Move OSTRACE defines so they are visible to all source files that need them. (check-in: [72485c97c6] user: mistachkin branch: winTest, size: 3245)
03:37
[7cb39fb6ce] part of check-in [ae5af70427] Make sure the sqlite3DebugPrintf() function is defined for OSTRACE as well. (check-in: [ae5af70427] user: mistachkin branch: winTest, size: 3620)
03:24
[4613f59778] part of check-in [cd1542664e] Merge updates from trunk. Make OSTRACE changes work on Linux. (check-in: [cd1542664e] user: mistachkin branch: winTest, size: 3620)
2015-04-02
17:46
[05c8d05b4f] part of check-in [5f6e35802f] Fix build with OSTRACE enabled on Windows when building using separate source files. (check-in: [5f6e35802f] user: mistachkin branch: winTest, size: 3562)
2015-03-31
19:06
[4fccbf81ef] part of check-in [f79c236fc5] Build fixes for OSTRACE enhancements. (check-in: [f79c236fc5] user: mistachkin branch: winTest, size: 3581)
17:45
[75309c5996] part of check-in [9cc70eee2e] Testing enhancements on Windows. (check-in: [9cc70eee2e] user: mistachkin branch: winTest, size: 3562)
2011-08-31
19:40
[92815ed65f] part of check-in [6489848590] The server1.test script should only run if mutexes are functional. Fix to the #ifdef change of check-in [9e6a4c1473]. (check-in: [6489848590] user: drh branch: trunk, size: 3520)
18:04
[b159459769] part of check-in [9e6a4c1473] Only create the sqlite3OSTrace global variable if compiling with SQLITE_TEST. (check-in: [9e6a4c1473] user: drh branch: trunk, size: 3489)
2011-07-22
21:25
[65a897143b] part of check-in [a6b85c7340] Add retry logic for AV defense to winAccess(). Also allow OS tracing to be enabled by a compile-time option. (check-in: [a6b85c7340] user: drh branch: av-defense, size: 3490)
2010-05-14
11:30
[a8f95b81ec] 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. (check-in: [5fe529f239] user: drh branch: trunk, size: 3392)
2010-04-29
15:17
[0d6ee583b6] 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. (check-in: [1bde41cf08] user: drh branch: wal, size: 4127)
2009-11-10
01:30
[240c88b163] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 4038)
2009-02-24
18:40
[8c61457df5] part of check-in [44f0162ebb] Remove old declaration of sqlite3_pending_byte (which was used by test code). It has been replaced by sqlite3PendingByte. Ticket #3677. (CVS 6321) (check-in: [44f0162ebb] user: danielk1977 branch: trunk, size: 4106)
2008-05-29
20:22
[24525d8b7b] 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) (check-in: [9883b406ce] user: shane branch: trunk, size: 4286)
2008-05-16
04:51
[9da7339466] 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: 4218)
2008-03-07
19:51
[e8b748b2f2] 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) (check-in: [b4c1258edb] user: drh branch: trunk, size: 4150)
2008-03-04
17:45
[a66179e3b9] part of check-in [9c6694bb61] Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819) (check-in: [9c6694bb61] user: mlcreech branch: trunk, size: 3787)
2007-08-27
21:49
[98862f120c] part of check-in [0ae30e5c76] Bring the amalgamation builder up to date with the latest changes. Remove some vestigial code. (CVS 4303) (check-in: [0ae30e5c76] user: drh branch: trunk, size: 3803)
2007-08-08
12:11
[a5c446d3b9] part of check-in [3759a38fe8] More tweaking of linkage. Ticket #2554. (CVS 4200) (check-in: [3759a38fe8] user: drh branch: trunk, size: 5586)
01:04
[f7fd79fb4c] part of check-in [c09ec102c4] Additional refinements on the amalgamation: Give a couple of constants file scope and add the SQLITE_API prefix to some interfaces that need it. Ticket #2554. (CVS 4199) (check-in: [c09ec102c4] user: drh branch: trunk, size: 5585)
2007-04-13
02:14
[a38233cd3b] part of check-in [32bb2d5859] Fix multiple performance regressions (ticket #2298 among them) and add tests to make sure they do not come back. (CVS 3839) (check-in: [32bb2d5859] user: drh branch: trunk, size: 5586)
2007-04-01
23:49
[0969285cc1] part of check-in [18aec1ddfb] Fix some warnings about unused and uninitialized variables. (CVS 3788) (check-in: [18aec1ddfb] user: drh branch: trunk, size: 5562)
2007-03-26
22:05
[c86e8cbd61] 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) (check-in: [0b832e218e] user: drh branch: trunk, size: 5644)
2007-03-23
10:08
[fdccdbedd7] part of check-in [0fd9983a98] Add a comment to the OsSectorSize() function. (CVS 3710) (check-in: [0fd9983a98] user: danielk1977 branch: trunk, size: 5611)
2007-03-19
05:54
[aa3ef56941] 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: 5685)
2007-03-15
12:51
[970899e83d] part of check-in [ea8507a796] Fix the pager so that it handles persistent I/O errors correctly. Update the testing infrastructure so that it tests for persistent I/O errors instead of just transient errors. (CVS 3690) (check-in: [ea8507a796] user: drh branch: trunk, size: 5502)
12:17
[4ee94e3ba3] part of check-in [1a53f531ec] Infrastructure to make simulated I/O errors persistent instead of transient. (CVS 3689) (check-in: [1a53f531ec] user: drh branch: trunk, size: 5444)
2006-09-14
16:57
[545426356f] part of check-in [3564b07c40] Minor build fixes. (CVS 3419) (check-in: [3564b07c40] user: adamd branch: trunk, size: 5373)
13:47
[31e4b5c0a3] part of check-in [86931854fc] Enhanced I/O error simulation. (CVS 3418) (check-in: [86931854fc] user: drh branch: trunk, size: 5370)
2006-02-01
14:39
[108cd719c9] part of check-in [3a04fc45cc] Typecast to silence (incorrect) compiler warning. (CVS 3054) (check-in: [3a04fc45cc] user: drh branch: trunk, size: 5379)
2006-01-23
14:05
[061fba8511] part of check-in [06d6540026] Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000) (check-in: [06d6540026] user: drh branch: trunk, size: 5372)
2006-01-16
14:29
[95b29ca6f3] part of check-in [9dfc4a880b] Correctly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for #1617. (CVS 2958) (check-in: [9dfc4a880b] user: danielk1977 branch: trunk, size: 5366)
2006-01-13
11:22
[6b76efa9b2] part of check-in [5e46ec01ff] Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937) (check-in: [5e46ec01ff] user: danielk1977 branch: trunk, size: 5361)
06:33
[44783a37f7] part of check-in [dd70595542] Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) (check-in: [dd70595542] user: danielk1977 branch: trunk, size: 4889)
2006-01-06
14:32
[78bcc34dde] 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: 4536)
2005-12-22
13:47
[d0b1f2f329] part of check-in [326fc9cc11] Make genericAllocationSize work on NULL pointers. (CVS 2842) (check-in: [326fc9cc11] user: drh branch: trunk, size: 4508)
2005-12-15
10:50
[a4ad0448f1] 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: 4501)
2005-11-04
22:03
[d74a11728a] part of check-in [1b6bf4188e] VACUUM works even on an empty database. Ticket #1512. (CVS 2760) (check-in: [1b6bf4188e] user: drh branch: trunk, size: 3704)
2005-09-17
15:20
[1ff88c7e7e] part of check-in [c07330000b] Changes to make corruption errors easier to track down. (CVS 2709) (check-in: [c07330000b] user: drh branch: trunk, size: 3678)
2005-09-16
10:13
[fb2aa1b3ca] part of check-in [bedf702f53] Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701) (check-in: [bedf702f53] user: danielk1977 branch: trunk, size: 3677)
2005-09-09
10:46
[bd6ede0199] part of check-in [0288fa5d25] Enhanced disk-full tests. (CVS 2682) (check-in: [0288fa5d25] user: drh branch: trunk, size: 3493)
2004-10-01
14:38
[0e7f428ba0] part of check-in [44e56f0bba] Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994) (check-in: [44e56f0bba] user: drh branch: trunk, size: 3354)
2004-08-04
14:44
[cd7eb025fd] 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) (check-in: [add266ccc3] user: drh branch: trunk, size: 3141)
2004-06-29
13:54
[fe96047541] part of check-in [76e0b74961] Fix TRACE7 in os_common.h. (CVS 1765) (check-in: [76e0b74961] user: drh branch: trunk, size: 2709)
07:45
[1e745e5821] part of check-in [ffd3312b66] Bug-fixes to get the two threadtest C programs working again. (CVS 1756) (check-in: [ffd3312b66] user: danielk1977 branch: trunk, size: 2679)
2004-06-12
18:12
[ba1b7306e1] part of check-in [f687977a28] Improve the speed of OP_Column through better caching. (CVS 1577) (check-in: [f687977a28] user: drh branch: trunk, size: 2588)
2004-06-09
17:37
[6393ac67a3] 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: 2574)
2004-06-07
16:27
[1207423243] 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: 2465)
01:52
[7b0f4ae0d9] part of check-in [4f7c0961ad] Progress towards getting locking to work on windows. (CVS 1536) (check-in: [4f7c0961ad] user: drh branch: trunk, size: 2324)
2004-05-22
17:41
Added: [744286a27d] 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: 2304)