aboutsummaryrefslogtreecommitdiff
path: root/src/os_win.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-05-17 10:58:08 +0000
committerdrh <drh@noemail.net>2013-05-17 10:58:08 +0000
commit466af9baae3da0ac018a31237cde5dd0963bc4be (patch)
treef0d700132218dd9d4b988a332b1c2255f9e09144 /src/os_win.c
parentad1818d9ede86ed01ea5a32e55adf8dde5a18f89 (diff)
parent4c5aeecc907f4cb36247322fd181eec9d578e9db (diff)
downloadsqlite-466af9baae3da0ac018a31237cde5dd0963bc4be.tar.gz
sqlite-466af9baae3da0ac018a31237cde5dd0963bc4be.zip
Update the sessions branch to the latest 3.7.17 beta.
FossilOrigin-Name: af8057ef5dcaa72dc0d2ab5d1553b06757449fa1
Diffstat (limited to 'src/os_win.c')
-rw-r--r--src/os_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_win.c b/src/os_win.c
index 66f070387..fe47207d5 100644
--- a/src/os_win.c
+++ b/src/os_win.c
@@ -2937,8 +2937,6 @@ static int winDeviceCharacteristics(sqlite3_file *id){
((p->ctrlFlags & WINFILE_PSOW)?SQLITE_IOCAP_POWERSAFE_OVERWRITE:0);
}
-#ifndef SQLITE_OMIT_WAL
-
/*
** Windows will only let you create file view mappings
** on allocation size granularity boundaries.
@@ -2947,6 +2945,8 @@ static int winDeviceCharacteristics(sqlite3_file *id){
*/
SYSTEM_INFO winSysInfo;
+#ifndef SQLITE_OMIT_WAL
+
/*
** Helper functions to obtain and relinquish the global mutex. The
** global mutex is used to protect the winLockInfo objects used by