mistachkin
93de653844
Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate.
...
FossilOrigin-Name: b202e2a1d73d104d795d2252b1c6f61d65bfb295
2015-07-03 21:38:09 +00:00
drh
275fe3adf1
Do not attempt to take any write lock on a read-only database on Windows.
...
FossilOrigin-Name: a47ff0cdab0f82398c68ea770053f193f4812a51
2015-05-28 00:54:35 +00:00
mistachkin
ba02a63a4a
Fix typo in Win32 VFS code enabled when the SQLITE_WIN32_USE_UUID compile-time option is used.
...
FossilOrigin-Name: b33f1bacfdb34fe66b7b073e68bfac38498d6e88
2015-05-12 19:53:15 +00:00
drh
6a412b8be9
Fix signed/unsigned comparison compiler warnings. Add the
...
SQLITE_OMIT_RANDOMNESS compile-time option to cause the PRNG to be seeded
identically on every run, for testing purposes.
FossilOrigin-Name: 93ce2bca701efc67aeb517c4d641bde71332e8a0
2015-04-30 12:31:49 +00:00
drh
f3cdcdccbe
Use sqlite3_malloc64() in place of sqlite3_malloc() internally.
...
FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19
2015-04-29 16:50:28 +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
drh
f50e8aec77
Improved tracing and debugging support on windows.
...
FossilOrigin-Name: 5c965a71b957fdb0310ac1af9bf2fc3b418af668
2015-04-01 01:26:12 +00:00
drh
f9d02f3663
On windows, flush the mapping view when syncing content to disk.
...
FossilOrigin-Name: a828e73dc1ae50189bdf73f60caeb7308738ad7a
2015-03-31 19:40:05 +00:00
mistachkin
98f1c4086d
Set the winShm.id member when it is going to be traced.
...
FossilOrigin-Name: fa7916b67efbc44e6f115bb0d32d8b92fd0acf3c
2015-03-31 19:17:44 +00:00
mistachkin
d25675f897
Build fixes for OSTRACE enhancements.
...
FossilOrigin-Name: f79c236fc537ecee1ea7448a3e3216a2415561a1
2015-03-31 19:06:46 +00:00
drh
8237f6d180
Change the sqlite3_log() message generated on a retry after delay in os_win
...
to be an SQLITE_NOTICE instead of SQLITE_IOERR.
FossilOrigin-Name: 5d533eee049e63b3700f5ef7c28c588afccde57a
2015-03-31 17:32:06 +00:00
mistachkin
30d1dcabf5
Merge updates from trunk.
...
FossilOrigin-Name: 45acf6a85150839d591316418dad59ae20ce3aa4
2015-03-27 18:22:01 +00:00
mistachkin
ad1e55e55a
Enhancements to OSTRACE usage in the Win32 VFS.
...
FossilOrigin-Name: ab5800291e1908b5b51d912feeacf748dc9be14b
2015-03-27 18:20:25 +00:00
mistachkin
ccb43714da
When syncing a memory mapped file on Windows, flush the mapped view as well.
...
FossilOrigin-Name: df204049b9ec8dd3e43ed7dc251eaecedc05af4b
2015-03-26 23:36:35 +00:00
drh
21aa6a1acb
Provide source code line numbers for errors in the Windows VFS generated
...
by the winLogIoerr() routine.
FossilOrigin-Name: b5da0d93cd1a3c0917399af3775a32327b883c8e
2015-03-26 15:27:32 +00:00
mistachkin
e45e0fb21c
Enhancements to entropy generation for the Win32 VFS.
...
FossilOrigin-Name: 26190b3c63e18f3116deeb59a58d9b5de48e8eea
2015-01-21 00:48:46 +00:00
mistachkin
dedc5ea0ba
Fix harmless compiler warning.
...
FossilOrigin-Name: cab46fb737ed3fc29dc8517f07bcfc72936df2b8
2015-01-16 19:35:45 +00:00
mistachkin
d9d812fc38
Support manually disabling overlapped file I/O for Windows sub-platforms other than Windows CE.
...
FossilOrigin-Name: b9330b887cc8bed2b6b3e6c1b269788e08ccf50d
2014-12-20 22:21:49 +00:00
mistachkin
684ec98fe3
Revise mutex handling by the sqlite3_win32_reset_heap() function.
...
FossilOrigin-Name: eacb3b7baa910e84f984b8e45695a2a2f5a4c861
2014-12-10 17:34:48 +00:00
mistachkin
73767829b9
For the Win32 VFS, allow memory mapped files to work when compiled without WAL support.
...
FossilOrigin-Name: 1fc7e2f3d34e25e7b59aa8b51d10c1e27ab4a527
2014-11-04 19:37:22 +00:00
mistachkin
92c2e0da8f
Changes to work around Win32 and MSVCRT APIs that are not present on Windows CE 200x.
...
FossilOrigin-Name: 1418c006e377d7915a50577d4ccb21125b750bae
2014-10-16 18:34:50 +00:00
peter.d.reid
60ec914c74
Fix typos in comments. No code changes.
...
FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69
2014-09-06 16:39:46 +00:00
mistachkin
30c633a097
Fix harmless compiler warning.
...
FossilOrigin-Name: 733119067757814609a9cea6b975818607bee4e3
2014-09-05 05:58:37 +00:00
mistachkin
832436d145
For sqlite3_win32_is_nt(), assume WinRT is NT-based and revise #ifdef ordering to prefer the ANSI version of GetVersionEx, when available.
...
FossilOrigin-Name: be0a037244762cc0f5ff4a6d7822902f862767bd
2014-09-01 19:29:19 +00:00
drh
4d015c6902
Merge the recent performance enhancements implemented on trunk into the
...
threads branch.
FossilOrigin-Name: dfdc900f5d1a31ee5c5f35a630c4a8253e69093b
2014-08-25 13:27:02 +00:00
mistachkin
31753c833d
Revise #ifdef ordering to prefer the ANSI version of GetVersionEx, when available.
...
FossilOrigin-Name: 9fe0f0754c063c17fffa9d4814b7180397cf5226
2014-08-22 19:12:16 +00:00
mistachkin
cf4200a170
For sqlite3_win32_is_nt(), assume WinRT is NT-based.
...
FossilOrigin-Name: 2f59e71fbf31d2bd788d11197943b2ff3f4046e1
2014-08-21 19:11:17 +00:00
mistachkin
ce64d61050
Fix compiler warnings on WinCE.
...
FossilOrigin-Name: cc910b8e0c45e7387024f3a729003e2fef08b198
2014-08-14 18:31:56 +00:00
drh
83b25d32d7
Merge the pre-3.8.6 changes into the threads branch.
...
FossilOrigin-Name: a608fd1d52606a009c3acc7f1d184b86a7df3c82
2014-08-14 14:02:48 +00:00
mistachkin
4eb4fefe2d
Fix compilation issue in the Win32 VFS when manually defining SQLITE_WIN32_NO_ANSI.
...
FossilOrigin-Name: 6715991296886c2a02b9a285a1e61189ad1f79c0
2014-08-12 16:13:37 +00:00
mistachkin
f0740a947d
Modify GetVersionEx Win32 VFS fix for use with the test suite.
...
FossilOrigin-Name: fd2221768b45d9006bbb2919a4977cf2791826d6
2014-08-11 17:51:23 +00:00
drh
e5e20d354d
Further clarification and typo fixes for the previous comment change.
...
FossilOrigin-Name: 87ef9e2f293afd89901fed6be45b0f0052df6846
2014-08-11 17:41:53 +00:00
drh
c96c7e3c15
Clarify the comment explaining the meaning of the SQLITE_WIN32_GETVERSIONEX
...
macro in the Windows VFS.
FossilOrigin-Name: 69714287dbbdbf4ef2a2c5e99ed740ae7d27e051
2014-08-11 17:40:30 +00:00
mistachkin
91d1249748
Fix for #ifdef issue with GetVersionEx in the Win32 VFS.
...
FossilOrigin-Name: 1a0d466dd48163c86de4774035fe4a30c1c55311
2014-08-11 17:38:38 +00:00
drh
2abe6a281c
On the windows VFS, do not try to make InterlockedCompareExchange an
...
overloadable function, since sometimes it is a macro.
FossilOrigin-Name: ab1a751e1304749bef5bc5c833f9abed8950f7d0
2014-08-06 11:57:54 +00:00
mistachkin
17835a5443
In the Win32 VFS, work around InterlockedCompareExchange() being a macro on some platforms (e.g. x64).
...
FossilOrigin-Name: 7be244ce129d6502f3a3e3f3e8a1dd61ef71d878
2014-08-06 03:06:01 +00:00
drh
da2e5862d1
Merge all recent changes from trunk.
...
FossilOrigin-Name: a353a8515fb2eff86042d0c33e39772f4d04e0b3
2014-08-06 02:03:35 +00:00
mistachkin
16d511a664
Remove (newly) incorrect preprocessor check to fix build on WinRT.
...
FossilOrigin-Name: ba7826542908eac2e14789d183d0b3e35b143fed
2014-08-02 20:44:13 +00:00
mistachkin
202cb64189
Optimizations to the OS sub-type checking in the Win32 VFS.
...
FossilOrigin-Name: 1e5489faff093d6a8e538061e45532f9050e9459
2014-07-31 18:54:01 +00:00
drh
bd1c881a91
Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX
...
problem of ticket [9a6daf340df99ba9].
FossilOrigin-Name: 5b50a8380b2b678c1646ff303e3696efc1d7d92c
2014-07-30 14:44:24 +00:00
mistachkin
b1ac2bc8da
Make the Win32 thread handles are available after the threads exit.
...
FossilOrigin-Name: 565c5af7a75ad5c759ce1a61dab3a61c42819644
2014-07-29 16:37:53 +00:00
mistachkin
d6918657d8
Enhancements and updates to the Win32 mutex subsystem.
...
FossilOrigin-Name: 18984c321049a759f6619cfa17fb3f4e7b3e08ea
2014-07-29 05:49:02 +00:00
drh
2b49327d08
Fix the build on windows.
...
FossilOrigin-Name: 2773a5f9879a106a89a3d0bc3c5bfdcb2fe43c7c
2014-07-29 00:23:08 +00:00
drh
33ca481923
Bring the threads branch up-to-date with the 3.8.5 release.
...
FossilOrigin-Name: e4b01676d7e7ac14f5120ca3a618cc34dbf5dab2
2014-06-05 13:22:52 +00:00
mistachkin
6b98d67b2b
Add tests for the invalid file handle detection logic in the winLock() function.
...
FossilOrigin-Name: ed5a9eb4f30a395bc641e79254217c7d7cf0aa5d
2014-05-30 16:42:35 +00:00
drh
ff14013496
Merge changes from the trunk into the threads branch.
...
FossilOrigin-Name: 416cb091267de91b9cadee9f7453b8627570b7d3
2014-05-29 20:24:20 +00:00
mistachkin
8e86b6a3df
Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid.
...
FossilOrigin-Name: d43e2e59b5647655595fd953febf2beefa480006
2014-05-28 03:27:42 +00:00
mistachkin
ff0bc8f9f7
Revise how OSTRACE reports logically boolean results in the Win32 VFS.
...
FossilOrigin-Name: c405f971cf03e29110019ff863cbfb026d97e1e6
2014-05-28 03:23:55 +00:00
dan
ae289fccbf
Merge the latest trunk changes into the threads branch.
...
FossilOrigin-Name: 9ac8f1e7115bc50663235adedeb0d3e1234c5740
2014-05-09 15:00:32 +00:00
mistachkin
0e56c52e1d
Merge updates from trunk.
...
FossilOrigin-Name: a3cfd81339267c87db511cedf35ec209ee1f1a72
2014-05-05 17:45:44 +00:00