]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/config.c
Remove abandon cruft
[openldap] / servers / slapd / back-ldbm / config.c
index 1c882ee4fd6bbef10fbb6274ad10803f94e6aeea..70f543e4e84000b6dc00e9d176d88b10e2652f91 100644 (file)
@@ -145,9 +145,12 @@ ldbm_back_db_config(
                        li ->li_dbsyncwaitinterval = i;
                }
 
+               /* turn off writesync when sync policy is in place */
+               li->li_dbwritesync = 0;
+
 #else
                Debug( LDAP_DEBUG_ANY,
-    "\"dbsync\" policies not supported in non-threaded environments\n");
+    "\"dbsync\" policies not supported in non-threaded environments\n", 0, 0, 0);
                return 1;
 #endif