drh
7741f3457a
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.
FossilOrigin-Name: f64a224244743ab121371abd516fccbfc93c110e0952211764bd1b217e792c1b
2022-11-29 17:52:04 +00:00
mistachkin
c04c54b842
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
...
FossilOrigin-Name: 54ff3a26bc45a1c3c0690119e8fd00b02e2a16ba
2016-02-11 21:28:16 +00:00
mistachkin
0cbcffa75d
Move OSTRACE defines so they are visible to all source files that need them.
...
FossilOrigin-Name: 72485c97c6de47b8bba63b2a307e7bdeea114040
2015-04-16 03:56:32 +00:00
mistachkin
02b0e267fb
Make sure the sqlite3DebugPrintf() function is defined for OSTRACE as well.
...
FossilOrigin-Name: ae5af70427e0df960a54c48cd27a6288500b1f31
2015-04-16 03:37:19 +00:00
mistachkin
fb383e9229
Merge updates from trunk. Make OSTRACE changes work on Linux.
...
FossilOrigin-Name: cd1542664eb3eb46d486664ded49cd9c4bef3948
2015-04-16 03:24:38 +00:00
mistachkin
34cf258302
Fix build with OSTRACE enabled on Windows when building using separate source files.
...
FossilOrigin-Name: 5f6e35802fcf7b5e9fc3dd4424e9074523fa8ad3
2015-04-02 17:46:52 +00:00
mistachkin
d25675f897
Build fixes for OSTRACE enhancements.
...
FossilOrigin-Name: f79c236fc537ecee1ea7448a3e3216a2415561a1
2015-03-31 19:06:46 +00:00
mistachkin
eb48b062a1
Testing enhancements on Windows.
...
FossilOrigin-Name: 9cc70eee2e365dd390210f436b893b9d80a19b04
2015-03-31 17:45:44 +00:00
drh
1b1e8a8be6
The server1.test script should only run if mutexes are functional.
...
Fix to the #ifdef change of check-in [9e6a4c1473].
FossilOrigin-Name: 6489848590db7088d965b7fa7feabc8c66e2e2b1
2011-08-31 19:40:58 +00:00
drh
7730c4457e
Only create the sqlite3OSTrace global variable if compiling with
...
SQLITE_TEST.
FossilOrigin-Name: 9e6a4c1473a4cb061a88f6a437a2828368b3ddc8
2011-08-31 18:04:54 +00:00
drh
fdf6db12a4
Add retry logic for AV defense to winAccess(). Also allow OS tracing to be
...
enabled by a compile-time option.
FossilOrigin-Name: a6b85c73406caa3bf0585341c8ebc9897a1884f4
2011-07-22 21:25:57 +00:00
drh
308c2a5c0f
Change the OSTRACEn() macro to OSTRACE(()). Also rename some internal fields
...
and variables in os_unix.c to be more meaningful and searchable.
FossilOrigin-Name: 5fe529f239cddbf4b7ea57abb02d95cc0d94f5f5
2010-05-14 11:30:18 +00:00
drh
7b6944047e
Progress towards a VFS that will support WAL. Locking code is in place
...
but is untested. Still no support for the DMS.
FossilOrigin-Name: 1bde41cf081570ad257f927b641e752dff4ed014
2010-04-29 15:17:48 +00:00
drh
c81c11f62c
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
...
FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
2009-11-10 01:30:52 +00:00
danielk1977
2b0223ecf6
Remove old declaration of sqlite3_pending_byte (which was used by test code). It has been replaced by sqlite3PendingByte. Ticket #3677 . (CVS 6321)
...
FossilOrigin-Name: 44f0162ebb760dd6926ee5691752b6798e3aacb9
2009-02-24 18:40:49 +00:00
shane
9bcbdad298
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)
...
FossilOrigin-Name: 9883b406ce24eae93942ee5e6aab33fb6b05329f
2008-05-29 20:22:37 +00:00
danielk1977
822a51628f
Add more version tags to files that lack them. Ticket #3120 . (CVS 5137)
...
FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
2008-05-16 04:51:54 +00:00
drh
1aa5af1151
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)
FossilOrigin-Name: b4c1258edb4a40501d13c9da674d0366d5a8c694
2008-03-07 19:51:14 +00:00
mlcreech
3a00f907a9
Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819)
...
FossilOrigin-Name: 9c6694bb61a8ecdbfb2d05e5e05a8cc97b792240
2008-03-04 17:45:01 +00:00
drh
97c8ec325d
Bring the amalgamation builder up to date with the latest changes.
...
Remove some vestigial code. (CVS 4303)
FossilOrigin-Name: 0ae30e5c76d9094307ea086a9993a953631ab9da
2007-08-27 21:49:34 +00:00
drh
73be501329
More tweaking of linkage. Ticket #2554 . (CVS 4200)
...
FossilOrigin-Name: 3759a38fe8e8a873dc3aae8dc99ca1010551b50b
2007-08-08 12:11:21 +00:00
drh
f7083bf6d2
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)
FossilOrigin-Name: c09ec102c4f62e492dd3676ef0aa1a183d6ce3b3
2007-08-08 01:04:52 +00:00
drh
538f570cd1
Fix multiple performance regressions (ticket #2298 among them)
...
and add tests to make sure they do not come back. (CVS 3839)
FossilOrigin-Name: 32bb2d5859906b4fb0f6083eedd7f3a81b9cf5e2
2007-04-13 02:14:30 +00:00
drh
61fc595fdd
Fix some warnings about unused and uninitialized variables. (CVS 3788)
...
FossilOrigin-Name: 18aec1ddfb08b74f0ef9cf1215eac7af71449db3
2007-04-01 23:49:51 +00:00
drh
4f0c587819
Modify sources to that they can be combined into a single sqlite3.c source
...
file. Eliminate all type-pruned pointer warnings. (CVS 3722)
FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
2007-03-26 22:05:01 +00:00
danielk1977
a3d4c887e0
Add a comment to the OsSectorSize() function. (CVS 3710)
...
FossilOrigin-Name: 0fd9983a98d8d61654f252f1708a4d7232a96b53
2007-03-23 10:08:38 +00:00
danielk1977
b472117c11
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)
...
FossilOrigin-Name: 5752d84d374205e011d49b0221d6237967fe0743
2007-03-19 05:54:48 +00:00
drh
a7aea3dd52
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)
FossilOrigin-Name: ea8507a796c65041f7e720edea89f919fca1a028
2007-03-15 12:51:16 +00:00
drh
d5eb79eb40
Infrastructure to make simulated I/O errors persistent instead of
...
transient. (CVS 3689)
FossilOrigin-Name: 1a53f531ecd51938fab37a59b7088d89d8f8569d
2007-03-15 12:17:42 +00:00
adamd
4fc9308373
Minor build fixes. (CVS 3419)
...
FossilOrigin-Name: 3564b07c40ab4563482a9aa36850757963f44238
2006-09-14 16:57:19 +00:00
drh
5968593b51
Enhanced I/O error simulation. (CVS 3418)
...
FossilOrigin-Name: 86931854fc5a63571719639d9a23b1d6614a6153
2006-09-14 13:47:11 +00:00
drh
144f20cbc8
Typecast to silence (incorrect) compiler warning. (CVS 3054)
...
FossilOrigin-Name: 3a04fc45ccc31f2009be812a9c9057844cf4ae3b
2006-02-01 14:39:53 +00:00
drh
c6dc0f7a79
Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000)
...
FossilOrigin-Name: 06d6540026568ca69410354ca8d85da78970c94b
2006-01-23 14:05:18 +00:00
danielk1977
80c43bcba1
Correctly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for #1617 . (CVS 2958)
...
FossilOrigin-Name: 9dfc4a880b49869e945d6a19e63fcf6dc94412ad
2006-01-16 14:29:05 +00:00
danielk1977
1fef7d5d3f
Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937)
...
FossilOrigin-Name: 5e46ec01ff3fe8654fc267efbb12d2d1b01c48aa
2006-01-13 11:22:07 +00:00
danielk1977
e725929686
Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936)
...
FossilOrigin-Name: dd705955429d847af85ffaf248976bcd1d861852
2006-01-13 06:33:23 +00:00
drh
66560adab3
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)
FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6
2006-01-06 14:32:19 +00:00
drh
ab8aa68325
Make genericAllocationSize work on NULL pointers. (CVS 2842)
...
FossilOrigin-Name: 326fc9cc11c86f2d96763537d60757200ce21a84
2005-12-22 13:47:49 +00:00
danielk1977
c529f52046
Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819)
...
FossilOrigin-Name: 81a41f66370ea7f6810dfb323ba5cea60f240edd
2005-12-15 10:50:53 +00:00
drh
c9ac5caa45
VACUUM works even on an empty database. Ticket #1512 . (CVS 2760)
...
FossilOrigin-Name: 1b6bf4188e8ebf55cf1972b7081f6d31bf525555
2005-11-04 22:03:30 +00:00
drh
4928570812
Changes to make corruption errors easier to track down. (CVS 2709)
...
FossilOrigin-Name: c07330000b9427a77f412918078beffa18de2c36
2005-09-17 15:20:26 +00:00
danielk1977
2349c3d151
Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)
...
FossilOrigin-Name: bedf702f539636fa3b65fd0d6797b087481b4613
2005-09-16 10:13:41 +00:00
drh
f307a4aaf8
Enhanced disk-full tests. (CVS 2682)
...
FossilOrigin-Name: 0288fa5d25886f6fbef0be782f12285d62bebd68
2005-09-09 10:46:19 +00:00
drh
047d4836ff
Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994)
...
FossilOrigin-Name: 44e56f0bba61245d342d6e75510d6c35785efd49
2004-10-01 14:38:02 +00:00
drh
a9600bc692
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)
FossilOrigin-Name: add266ccc3146fa56572d109e84c8a79dc3df2ca
2004-08-04 14:44:33 +00:00
drh
4230e2c7f3
Fix TRACE7 in os_common.h. (CVS 1765)
...
FossilOrigin-Name: 76e0b74961af3ff285757ac428b82fe7eaffc025
2004-06-29 13:54:50 +00:00
danielk1977
2b444853e0
Bug-fixes to get the two threadtest C programs working again. (CVS 1756)
...
FossilOrigin-Name: ffd3312b66e2657c3431eab814aadec254af2403
2004-06-29 07:45:33 +00:00
drh
e61cffc203
Improve the speed of OP_Column through better caching. (CVS 1577)
...
FossilOrigin-Name: f687977a28eda5ce0aa1cba2fdfb0152443032bc
2004-06-12 18:12:15 +00:00
drh
a6abd04193
Fixes to the file locking. 109 tests are now failing. (CVS 1548)
...
FossilOrigin-Name: dc0763455bbf54c1d8728e16033709caedd6e1c6
2004-06-09 17:37:22 +00:00
drh
2ac3ee9787
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)
FossilOrigin-Name: 0c2d169cf3c0f36972015c952a2b46cb9a333881
2004-06-07 16:27:46 +00:00