aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_noop.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-07 20:02:23 +0000
committerdrh <drh@noemail.net>2010-05-07 20:02:23 +0000
commite874d9ed79513c690c1c7a5656a70f796c062957 (patch)
tree6520d44d195023315ef91cff07b99db921a4e6f6 /src/mutex_noop.c
parent6a2607a1317e2582b4cbc57fcda0a283bc2708eb (diff)
downloadsqlite-e874d9ed79513c690c1c7a5656a70f796c062957.tar.gz
sqlite-e874d9ed79513c690c1c7a5656a70f796c062957.zip
Change the xShmOpen() method of the VFS to take the database file name as
its argument, not the WAL file name. Also fix some unrelated compiler warnings. FossilOrigin-Name: a65c2939267ef6acec4e355a207f98f217e263d6
Diffstat (limited to 'src/mutex_noop.c')
-rw-r--r--src/mutex_noop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mutex_noop.c b/src/mutex_noop.c
index 89a555505..057435694 100644
--- a/src/mutex_noop.c
+++ b/src/mutex_noop.c
@@ -27,6 +27,7 @@
*/
#include "sqliteInt.h"
+#ifndef SQLITE_MUTEX_OMIT
#ifndef SQLITE_DEBUG
/*
@@ -196,3 +197,4 @@ sqlite3_mutex_methods *sqlite3DefaultMutex(void){
return sqliteNoopMutex();
}
#endif /* SQLITE_MUTEX_NOOP */
+#endif /* SQLITE_MUTEX_OMIT */