]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
When creating the event used to sleep on WinRT, request the minimum access rights...
authormistachkin <mistachkin@noemail.net>
Sun, 4 Mar 2012 02:56:10 +0000 (02:56 +0000)
committermistachkin <mistachkin@noemail.net>
Sun, 4 Mar 2012 02:56:10 +0000 (02:56 +0000)
FossilOrigin-Name: ed603d75941ace159773b1a22ace84d51b630ad5

manifest
manifest.uuid
src/os_win.c

index 6da331022300a1c565a3e42405513131e1f712f3..ca2be09591887784e73f8b0eab0dd150c9e71b03 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C When\scompiled\sfor\sWinRT,\savoid\susing\sMapViewOfFile\sand\sGetFileAttributes.\s\sAlso,\sreset\sthe\sprivate\s'sleep'\sevent\shandle\swhen\sthe\sVFS\sis\scleaned\sup.
-D 2012-03-03T13:15:25.497
+C When\screating\sthe\sevent\sused\sto\ssleep\son\sWinRT,\srequest\sthe\sminimum\saccess\srights\srequired\sfor\sthe\sdesired\soperations\son\sit\s(i.e.\sSYNCHRONIZE).
+D 2012-03-04T02:56:10.693
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 3f79a373e57c3b92dabf76f40b065e719d31ac34
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -167,7 +167,7 @@ F src/os.h c3a9db9e8e16f564e1a40cea1687dad69634262c
 F src/os_common.h 92815ed65f805560b66166e3583470ff94478f04
 F src/os_os2.c 4a75888ba3dfc820ad5e8177025972d74d7f2440
 F src/os_unix.c 0e3d2942d228d0366fb80a3640f35caf413b66d1
-F src/os_win.c 26867d8bafe695eeb48b24859bbd7a2d56cbd9fe
+F src/os_win.c a6f5e7b3aaa40a0f6d48f80ba6a6154eea5524a4
 F src/pager.c 3955b62cdb5bb64559607cb474dd12a6c8e1d4a5
 F src/pager.h ef1eaf8593e78f73885c1dfac27ad83bee23bdc5
 F src/parse.y 1ddd71ae55f4b7cbb2672526ea4de023de0f519e
@@ -991,7 +991,7 @@ F tool/tostr.awk e75472c2f98dd76e06b8c9c1367f4ab07e122d06
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
 F tool/warnings-clang.sh 9f406d66e750e8ac031c63a9ef3248aaa347ef2a
 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
-P 9eb331be7e905d11d9075ce1596478b55a7f488b
-R aeb2dd36cdcdc79eb8c1f0db8889436a
+P 38df8fc1b49d55b61cb168a61134b4a314a62f21
+R bea8bcdd3011a76417163c65bc816faf
 U mistachkin
-Z 3283741a5ac47d4e9a6c7dd3f7a23bf5
+Z e26bbcbaddc8562992c3187976bdb602
index de170bbabb27e6d3e368dc96c2cfea4b3425f5fe..8cc2cd9f4e9fb2aec48d68b4c7a8c59070127bd2 100644 (file)
@@ -1 +1 @@
-38df8fc1b49d55b61cb168a61134b4a314a62f21
\ No newline at end of file
+ed603d75941ace159773b1a22ace84d51b630ad5
\ No newline at end of file
index d48b2f9aa23806c2bf18f0d81f4df1466c13b27f..ead1a76c81378400ba54002710bd6144e5fab0ff 100644 (file)
@@ -3855,7 +3855,7 @@ int sqlite3_os_init(void){
 
 #if SQLITE_OS_WINRT
   sleepObj = osCreateEventEx(NULL, NULL, CREATE_EVENT_MANUAL_RESET, 
-                                  EVENT_ALL_ACCESS);
+                             SYNCHRONIZE);
 #endif
 
 #ifndef SQLITE_OMIT_WAL