drh
332b1feaf1
Recursive mutexes in os_win.c. (CVS 2969)
...
FossilOrigin-Name: dd3e07cae4d0cbd4f8977e1dd11e0103e0e45b75
2006-01-18 14:20:17 +00:00
danielk1977
cbb8496c5e
Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623 . (CVS 2965)
...
FossilOrigin-Name: 9e2e40845d30cc150abe23ee318a721b4fe9613c
2006-01-17 16:10:13 +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
70ff98ab74
Improve performance by about 10% by avoiding excess calls to get
...
the thread-specific data. (CVS 2921)
FossilOrigin-Name: a8c74febec11eb689ca9f6b454f8c8bbadfc49d7
2006-01-12 01:25:18 +00:00
drh
b4bc7057e5
Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup()
...
API is documented. This should close ticket #1601 . (CVS 2920)
FossilOrigin-Name: fb518b0ce4ddd4aaca5cccf61e651f173e735119
2006-01-11 23:40:33 +00:00
drh
6f7adc8a80
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)
FossilOrigin-Name: 5d9c6aa964305c3f36741ff0058da5b5f3ce0d24
2006-01-11 21:41:20 +00:00
drh
29c636bc12
Added database server example code (untested). Fixed serveral bugs including
...
the autovacuum compile problem described by ticket #1593 . (CVS 2897)
FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3
2006-01-09 23:40:25 +00:00
drh
4bddfd2f6e
Continued progress toward a working wince backend. (CVS 2885)
...
FossilOrigin-Name: 15fda14ee0c0524d3064d767f48edd689c090d95
2006-01-07 18:14:48 +00:00
drh
9e9fe6f877
Additional changes for wince. (CVS 2877)
...
FossilOrigin-Name: b10343d9163263f97efb1bbc61af8307a2cfe8a4
2006-01-06 21:09:01 +00:00
drh
e2a926b807
More changes to support wince. (CVS 2876)
...
FossilOrigin-Name: f3cbd995c845dc19596678d05844e0691b63da54
2006-01-06 20:40:28 +00:00
drh
602bbd3245
Additional efforts to get it to build on WinCE. (CVS 2875)
...
FossilOrigin-Name: b45c076f0d5f7c863287ccb5703c492e1010a99d
2006-01-06 20:22:29 +00:00
drh
cc78fea4b9
A first attempt at adding native support for WinCE. (CVS 2874)
...
FossilOrigin-Name: 434405678778e7ce6e0bdec02fa7049a1ca68d27
2006-01-06 16:17:05 +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
3fbb0b1a3b
Windows implementation of the thread-specific data interface. (CVS 2864)
...
FossilOrigin-Name: 3aa8befedf4534cd100a7309997a4ad2ba08af20
2006-01-06 00:36:00 +00:00
drh
88f474a938
Add the xInMutex method to the os-layer switch for testing whether or not
...
mutexes are used correctly. (CVS 2851)
FossilOrigin-Name: a582b159595ff8d31c81e9b3044711d6590d3f0e
2006-01-02 20:00:12 +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
danielk1977
13a68c3f61
Add the sqlite3_os_routine_set()/get() functions. (CVS 2818)
...
FossilOrigin-Name: c1ed79f594fb85009c2e9e5e281cbe66a9d2fa17
2005-12-15 10:11:30 +00:00
drh
054889ec6d
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)
FossilOrigin-Name: bd8740d1aecba69e1b5d64d43db07e8ad8841f07
2005-11-30 03:20:31 +00:00
drh
a2eebaa43b
Make the build work on windows again. Ticket #1544 . (CVS 2793)
...
FossilOrigin-Name: 59bdca2552b2e5c09d5ca2b7a02ee34460139d7b
2005-11-29 19:50:24 +00:00
drh
9cbe635219
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)
FossilOrigin-Name: 058f31753871b16b40fe4048e3adcee411e0f87d
2005-11-29 03:13:21 +00:00
drh
18839217da
Add an OS method for making copies of file descriptors. This fixes the
...
crash tests. (CVS 2786)
FossilOrigin-Name: 57a674fc71512f11393b8eb595961ec9465ba4e1
2005-11-26 03:43:23 +00:00
drh
9c06c95309
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)
FossilOrigin-Name: 1f69aec285dd8e26bd739d5e44bb50fe03a9682a
2005-11-26 00:25:00 +00:00
drh
bbdc2b94fc
Work around limitations of MSVC++ 6. Tickets #1429 , #1437 , and #1440 . (CVS 2720)
...
FossilOrigin-Name: b2d1803c25b0b823c9cbe27989bacb730b18b45b
2005-09-19 12:53:18 +00:00
drh
e08b814d72
Detect errors returned by SetFilePointer on windows. (CVS 2681)
...
FossilOrigin-Name: bc8c33f94ce069f7bcfc32a59d5c40e034e023b5
2005-09-09 10:17:33 +00:00
drh
b4746b9e33
Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679)
...
FossilOrigin-Name: 461e3a0a27ff083b0bae10c9880e3b41bb85ee31
2005-09-09 01:32:06 +00:00
drh
eb796a7c8f
While doing a transaction comment, use fdatasync() instead of fsync() in
...
cases there the file size is unchanged. (CVS 2673)
FossilOrigin-Name: 3c555a87493128620ac967faf7c63c2a58856e9e
2005-09-08 12:38:41 +00:00
drh
d81bd4e209
Fix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS 2657)
...
FossilOrigin-Name: 7b56763a8b514834198d2392639d6d726b17d901
2005-09-05 20:06:49 +00:00
drh
c092998715
Use the unicode API to win32 where available.
...
Tickets #1407 , #1396 , #1331 , #1243 , #1206 (CVS 2656)
FossilOrigin-Name: 3ec58c673ae4cf0695ea0c287cc9bcbdcdb1a200
2005-09-05 19:08:29 +00:00
drh
0ccebe7e2d
Changes to support linking without a parser and without a disk I/O interface. (CVS 2504)
...
FossilOrigin-Name: 62a7353d4af4886b1561832e8b36e8e788b38834
2005-06-07 22:22:50 +00:00
drh
09bf0e8d5e
Improved support for cygwin. Ticket #1165 . (CVS 2407)
...
FossilOrigin-Name: fcb5cee440ab49e39b62b177cbb04ab0b061a477
2005-03-21 00:36:08 +00:00
drh
4c7f941cfc
Make sure the rc variable in OsWrite of os_win.c is always initialized.
...
Also assert that the amt parameter is always greater than zero.
Ticket #1094 . (CVS 2309)
FossilOrigin-Name: 4b399ae7791288e5d44f90da530908d9ca77ff4b
2005-02-03 00:29:47 +00:00
drh
268283bc7f
Fixes to the temp_store_directory pragma. (CVS 2185)
...
FossilOrigin-Name: 0a90eaf398aa4a689cd8326cd017951513ca748a
2005-01-08 15:44:25 +00:00
tpoindex
9a09a3caed
Add PRAGMA 'temp_store_directory'. Added os_*.c function
...
sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into
invalidateTempStorage(). (CVS 2171)
FossilOrigin-Name: 772e22cbd69463be41c2e73b4fd4eb33946193c4
2004-12-20 19:01:32 +00:00
drh
9c105bb990
Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind
...
when requested. Honor the error code that OsUnlock() returns.
Ticket #913 and #938 . (CVS 1997)
FossilOrigin-Name: c4697503d0ad080290b91e96dfc9a1a63f2df7e6
2004-10-02 20:38:28 +00:00
dougcurrie
0924bba36c
make diskfull test work on Windows; see check-in (1994) (CVS 1996)
...
FossilOrigin-Name: 4493e287809874fabeddf5ca9045065a30790f2f
2004-10-01 18:21:43 +00:00
drh
eb206256f1
Use type i64 instead of off_t for file offsets since off_t is giving
...
portability problems. Ticket #924 . (CVS 1992)
FossilOrigin-Name: 8972c004dc825f668d952e7d082a89046b9260f1
2004-10-01 02:00:31 +00:00
drh
effd02bcbe
Change the name of the global variable to sqlite3_temp_directory to
...
avoid a naming conflict with version 2.8. (CVS 1918)
FossilOrigin-Name: 431f7436a680b7c520aa559b0bf8619d7faba8c1
2004-08-29 23:42:13 +00:00
drh
3d2efea4fa
Add sqlite_temp_directory to the windows driver. (CVS 1905)
...
FossilOrigin-Name: f5b0e5b0b2f17d179c23c7e4542dbbb452096056
2004-08-28 01:12:56 +00:00
drh
93d648d4b4
Specify ASCII versions of Win32 API functions. (CVS 1785)
...
FossilOrigin-Name: 48b31540db5f0212a7e37e4833b760615afe13a3
2004-06-30 14:28:59 +00:00
drh
da71ce1623
Fix an uninitialized variable. The variable was harmless, but pedantic
...
error checking in MSVC raised an exception on it. (CVS 1651)
FossilOrigin-Name: afc398c2ca97ff165ea8242a5ffb8b6374b7fa8f
2004-06-21 18:14:45 +00:00
danielk1977
369f27eb51
Minor bugfixes and test case adjustments for version 2 test cases to work
...
with version 3. (CVS 1598)
FossilOrigin-Name: e21a181376d4115c7dbe614f3f8a1fbf82d77c75
2004-06-15 11:40:04 +00:00
drh
bf9a7e4d4e
Add the sqlite3OsFileModTime() interface. But it is still unused. The
...
change counter in page 1 is always incremented. (CVS 1594)
FossilOrigin-Name: 186c6f93e12978907c5f0ff81d90bdf7367b9274
2004-06-15 00:29:03 +00:00
danielk1977
962398d395
Ensure master journal file is deleted when a transaction is committed. (CVS 1586)
...
FossilOrigin-Name: cb3cbe00be9a42e974688016a056053cedb55eef
2004-06-14 09:35:16 +00:00
drh
3cde3bb0da
Bug fix in the unix locking code. (CVS 1574)
...
FossilOrigin-Name: dcad244f58453d23f2bcb749dcea077434bbd08c
2004-06-12 02:17:14 +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
b3e043463d
Do not require a RESERVED lock when transitioning from SHARED to EXCLUSIVE. (CVS 1542)
...
FossilOrigin-Name: 4dfdea7373f3471d17498da3d6c3aaf926a72d4b
2004-06-08 00:47:47 +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
drh
e54ca3fe2e
Progress towards getting locking to work on windows. (CVS 1536)
...
FossilOrigin-Name: 4f7c0961ad6cb7082bf7716f0c7ca16a8742c039
2004-06-07 01:52:14 +00:00
drh
51c6d9633f
Added sqlite3OsLock for win32. Assertion fault in attach.test. (CVS 1533)
...
FossilOrigin-Name: 9e6cd9ec75f726ef85e60f593aaa895791315071
2004-06-06 00:42:25 +00:00
danielk1977
2a02e33950
Ensure blob values survive the ".dump" command of the shell. (CVS 1531)
...
FossilOrigin-Name: e82eb722b0e0b223ddaf7d85669792c33594f9da
2004-06-05 08:04:36 +00:00