Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
os_win.c
69ce758
Fix os_win.c so that SQLITE_ENABLE_SETLK_TIMEOUT=2 builds work on windows.
by dan
· 7 weeks ago
setlk-snapshot-fix
420233e
Fix assert() statements in os_unix.c and os_win.c. Allow walsetlk_recover.test to run in non-SQLITE_ENABLE_SNAPSHOT builds.
by dan
· 7 weeks ago
4a0b7a3
Clarify some malloc size computations to simplify the proof that they
by drh
· 9 weeks ago
eb26440
Merge trunk. Some additional test-fixes for Cygwin
by jan.nijtmans
· 4 months ago
a6f6fa8
On winOpen(), redo the read-only test on every retry attempt. Just
by drh
· 4 months ago
winopen-retry
4a6de7f
Further attempted improvements at fast-fail for an inaccessible database file.
by drh
· 4 months ago
517a0e0
Attempt to reduce the amount of retry time when trying to open
by drh
· 4 months ago
42e5ceb
Reimplement pathname conversion on Cygwin. MSC test passes/failures are on par with trunk and 'make test' running on cygwin is down to a single failure.
by stephan
· 4 months ago
7b9407a
os_win.c patches for Cygwin (described in the cygwin-fixes branch wiki page). Makefile.msc's test target on trunk fails the same 13 tests as this branch.
by stephan
· 4 months ago
f037440
Support SQLITE_ENABLE_SETLK_TIMEOUT on windows.
by dan
· 5 months ago
b081a39
Merge latest changes from trunk into this branch.
by dan
· 5 months ago
win32-enable-setlk
ef86b94
Code changes that make it easier to prove that no 32-bit integer overflows
by drh
· 5 months ago
8bbce21
Have the win32 VFS take a temporary shared lock (instead of the current exclusive) on the pending-byte when taking a SHARED lock on a db. Do not lock the pending-byte at all when taking an EXCLUSIVE lock if RESERVED is not already held.
by dan
· 5 months ago
41f2980
Fix test script errors in walsetlk3.test. Tests still don't all pass.
by dan
· 5 months ago
833dd3d
Fix "unused variable" warnings in os_unix.c and os_win.c.
by dan
· 5 months ago
2d87894
Experimental change to allow clients to block when taking a SHARED lock to connect to a wal mode database.
by dan
· 5 months ago
4628888
Have sqlite3_enable_setlk(-1) configure indefinite blocking locks where they are supported.
by dan
· 6 months ago
ff6bff4
Have windows SQLITE_ENABLE_SETLK_TIMEOUT builds block indefinitely if the busy-timeout is set to 0x7FFFFFFF.
by dan
· 6 months ago
362d51a
Omit code to link all winShm objects open on a single node into a list. This is no longer required.
by dan
· 7 months ago
ce50282
Properly wait for asynchronous results for calls to LockFileEx() on FILE_FLAG_OVERLAPPED files even if LOCKFILE_FAIL_IMMEDIATELY, which usually causes LockFileEx() to return synchronously, is specified.
by dan
· 7 months ago
800bf8f
Fix a problem on this branch causing a file-handle to be leaked following an OOM condition.
by dan
· 7 months ago
b1ad83a
Ensure that all win32 API functions invocations in os_win.c are made via the function table. Fix asan error in test code.
by dan
· 7 months ago
d50eb9c
Ensure windows may block on a SHARED (but not EXCLUSIVE) DMS lock.
by dan
· 7 months ago
4ab343c
Enhance tests to ensure that blocking locks, and not calls to xSleep(), are being used by SQLITE_ENABLE_SETLK_TIMEOUT builds when they should be.
by dan
· 7 months ago
093c213
Assume an NT-based OS when running tests if sqlite_os_type is not set.
by dan
· 8 months ago
23498de
Back out minor changes not required by this branch.
by dan
· 8 months ago
9d59235
Fix a problem with SQLITE_OS_WINRT builds.
by dan
· 8 months ago
a180131
On windows, use a separate handle for each connection for xShmLock() locks.
by dan
· 8 months ago
f6d2674
Ensure that file-handle winShmNode.hFile.h is used in a thread-safe manner.
by dan
· 8 months ago
1743c5f
Fixes for code on this branch. Now appears to work, but is not tested well.
by dan
· 8 months ago
6bd3faa
Supports SQLITE_ENABLE_SETLK_TIMEOUT on windows. Does not work properly yet.
by dan
· 8 months ago
9bf5bea
Document that -nofollow does not work on Windows. Fix Windows symlink
by drh
· 8 months ago
1b37bc0
Add the SQLITE_FCNTL_NULL_IO file-control.
by drh
· 8 months ago
96501c8
Rename to SQLITE_IOCAP_SUBPAGE_READ.
by drh
· 9 months ago
bypass-iocap
c8284c7
Add the SQLITE_IOCAP_BYPASS device characteristic. Do not allow the
by drh
· 9 months ago
bcf3df0
In os_unix.c and os_win.c, do not allow xFetch() to return a pointer to a page buffer that is right at the end of the mapped region - if the database is corrupted in a specific way such a page buffer might be overread by several bytes.
by dan
· 1 year, 6 months ago
7309b50
Mix the current process ID into the randomness used for generating
by drh
· 1 year, 11 months ago
56a4107
Address various harmless compiler warnings from
by drh
· 2 years, 1 month ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
cf5dce0
Adjust OSTRACE usage so that it works with the changes in the previous check-in.
by mistachkin
· 2 years, 3 months ago
2e225a3
Fix a problem on windows sometimes causing SQLITE_NOMEM to be returned if an error occurred while opening a temp file.
by dan
· 2 years, 3 months ago
e38b6e0
Fix typo in comment.
by drh
· 2 years, 9 months ago
bdb6368
Fix harmless compiler warning seen with MSVC.
by mistachkin
· 2 years, 10 months ago
6e440ab
Fix the windows build so that it works with -DSQLITE_OMIT_AUTOINIT.
by drh
· 2 years, 11 months ago
fee6431
Improved mutex protection of the sqlite3_temp_directory and
by drh
· 2 years, 11 months ago
tempdir-mutex
18a3a48
Experimental changes to put sqlite3_temp_directory behind a mutex.
by drh
· 2 years, 11 months ago
56d88aa
Harden the xShmLock method of both the unix and Windows VFSes so that they
by drh
· 3 years, 4 months ago
f8c4c3a
The windows VFS accepts query parameter "exclusive=true" to cause it to
by drh
· 4 years, 9 months ago
0c52f5a
Fix other potentiall pointer aliasing problems associated with subclassing
by drh
· 5 years ago
067b92b
Extend the refactoring into extensions. Clean up stray newlines.
by drh
· 5 years ago
ccb2113
Refactoring various names. No changes in the resulting machine code.
by drh
· 5 years ago
10757ed
In os_win.c, avoid calling sqlite3_uri_boolean() on anything other than a main-db filename.
by dan
· 5 years ago
a8e41ec
Enhancements to long-path support in the Win32 VFS.
by mistachkin
· 5 years ago
c398c65
Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the
by drh
· 6 years ago
3c161e0
Add support for the SQLITE_ACCESS_SYMLINK flag in the Win32 VFS.
by mistachkin
· 6 years ago
0933aad
Add support for SQLITE_OPEN_NOFOLLOW.
by drh
· 6 years ago
2cd02a5
Add assert()s in os_win.c in an effort to silence false-positives from
by drh
· 6 years ago
eafb9a0
Make the winTruncate() method of the windows VFS be a no-op if there are
by drh
· 7 years ago
48ea97e
Remove the unused mmapSizeActual field from the Windows sqlite3_file
by drh
· 7 years ago
1e8487d
In the Win32 VFS, when truncating a file, unmap it first.
by mistachkin
· 7 years ago
07430a8
Add sqlite3_win32_set_directory8() and sqlite3_win32_set_directory16() functions.
by mistachkin
· 7 years ago
95d5ae1
Document and expose sqlite3_win32_set_directory() function for use on Win32.
by mistachkin
· 7 years ago
bc6b8d7
Adjust the previous check-in, which modified the Win32 VFS, so that it works with SQLITE_OMIT_WAL.
by mistachkin
· 7 years ago
435666e
Allocation the mutex used by the Win32 VFS only once at initialization, instead of every time it is needed.
by mistachkin
· 7 years ago
98e2cb8
Simplifications to winOpenSharedMemory in the Win32 VFS.
by mistachkin
· 8 years ago
5685257
Corrections to error code handling in os_win.c, pursuant to walfault.test.
by mistachkin
· 8 years ago
37874b5
Minor enhancement to two assert() statements in the default VFSes.
by drh
· 8 years ago
0e026f4
Avoid superfluous SHM unlock call in the Win32 VFS.
by mistachkin
· 8 years ago
1081371
Cleanup superfluous whitespace changes.
by mistachkin
· 8 years ago
7b7f224
Revise and vastly simplify the Win32 SHM file locking semantics, allowing all new tests to pass.
by mistachkin
· 8 years ago
95a05aa
Add an assert() in the Win32 VFS.
by mistachkin
· 8 years ago
bcb416a
Get read-only SHM file tests passing on Win32.
by mistachkin
· 8 years ago
9f4aad4
Further corrections to read-only SHM file handling on Win32.
by mistachkin
· 8 years ago
a515065
Corrections to Win32 lock detection for SHM files.
by mistachkin
· 8 years ago
8a6fa5d
Corrections to the Win32 porting changes on this branch.
by mistachkin
· 8 years ago
4ff8431
Initial work on porting the changes on this branch to Win32.
by mistachkin
· 8 years ago
3314062
Use the updated Win32 VFS semantics for winOpen from check-in [5d03c738e9] for WinRT, et al, as well.
by mistachkin
· 8 years ago
0e97e9a
In the Windows VFS, when trying to open a database file read/write, if it
by drh
· 8 years ago
b40d9ee
In the Windows VFS, do not emit an SQLITE_CANTOPEN error log message when
by drh
· 8 years ago
bf60baa
Remove use of the rand_s() function (added by [139081bef9f63c3e]) as it appears to cause issues with some third-party DLLs.
by mistachkin
· 8 years ago
e35395a
On Windows, avoid casting a value larger than 2^31 to a (SIZE_T) on systems where it is a 32-bit type.
by mistachkin
· 8 years ago
mmap-size-limit
4689956
Correct a harmless typo in the previous check-in.
by mistachkin
· 8 years ago
5e6710a
Avoid unsigned integer overflows for SQLITE_WIN32_HEAP_INIT_SIZE when the Win32 heap subsystem is used with very large values of SQLITE_DEFAULT_CACHE_SIZE and/or SQLITE_DEFAULT_PAGE_SIZE.
by mistachkin
· 8 years ago
8705f86
Add the SQLITE_FCNTL_WIN32_GET_HANDLE file control.
by mistachkin
· 9 years ago
43f58d6
Fix various internal #defines to conform to new C-language naming restrictions,
by drh
· 9 years ago
1e75483
Initial work on a Win32 VFS with NOP locking.
by mistachkin
· 9 years ago
win32nolock
4a58d5f
In winFullPathname, translate '/X:' to 'X:' before doing anything else.
by mistachkin
· 9 years ago
8a5fd26
Translate filenames of the form "/c:/*" into just "c:/*" on WinRT and Cygwin.
by drh
· 9 years ago
1b361ff
Add the experimental SQLITE_FCNTL_WIN32_GET_HANDLE file control.
by mistachkin
· 9 years ago
win32GetHandle
97a7e5e
The pcache and the built-in VFSes should not use mutexes when
by drh
· 9 years ago
333f805
Fix a locking race condition in Windows 10 that can occur when two or more
by drh
· 9 years ago
8366ddf
Add and adjust comments.
by mistachkin
· 9 years ago
winCeLocalTime
0cedb96
Further refinements.
by mistachkin
· 9 years ago
0e188e1
Fix some compilation issues.
by mistachkin
· 9 years ago
c0d10c8
Merge updates from trunk.
by mistachkin
· 9 years ago
1293120
More refactoring and cleanup work on the Win32 string conversion and utility routines.
by mistachkin
· 9 years ago
5daed67
Revise and enhance the Win32 string conversion routines.
by mistachkin
· 9 years ago
8245248
In the Win32 VFS, avoid trying to use rand_s() on Windows CE.
by mistachkin
· 9 years ago
eb2329b
Prevent negative values of SQLITE_DEFAULT_CACHE_SIZE from making SQLITE_WIN32_HEAP_INIT_SIZE negative.
by mistachkin
· 9 years ago
527b043
Fix harmless compiler warning for MSVC.
by mistachkin
· 9 years ago
Next »