Index: subversion/libsvn_fs_fs/fs.h
===================================================================
--- subversion/libsvn_fs_fs/fs.h	(revision 1295418)
+++ subversion/libsvn_fs_fs/fs.h	(working copy)
@@ -161,7 +161,7 @@ typedef struct fs_fs_shared_txn_data_t
    per file.  On Windows apr implements the locking as per file handle
    locks, so we don't have to add our own mutex for just in-process
    synchronization. */
-#if APR_HAS_THREADS && !defined(WIN32)
+#if APR_HAS_THREADS /* disabled: and !defined(WIN32) */
 #define SVN_FS_FS__USE_LOCK_MUTEX 1
 #else
 #define SVN_FS_FS__USE_LOCK_MUTEX 0
Index: subversion/libsvn_fs_fs/caching.c
===================================================================
--- subversion/libsvn_fs_fs/caching.c	(revision 1295418)
+++ subversion/libsvn_fs_fs/caching.c	(working copy)
@@ -209,6 +209,9 @@ create_cache(svn_cache__t **cache_p,
              const char *prefix,
              apr_pool_t *pool)
 {
+  *cache_p = NULL;
+  return SVN_NO_ERROR;
+
     if (memcache)
       {
         SVN_ERR(svn_cache__create_memcache(cache_p, memcache,

