tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack.
[ccan] / ccan / tdb2 / tdb1_open.c
index 65bc2dba14635e5833d6ab18368095de12cb02bf..aed4df65585bf8c45f353f1ccbfbda6bb29943aa 100644 (file)
@@ -266,10 +266,6 @@ struct tdb1_context *tdb1_open_ex(const char *name, int hash_size, int tdb1_flag
                goto fail;
        }
 
-       if (getenv("TDB_NO_FSYNC")) {
-               tdb->flags |= TDB1_NOSYNC;
-       }
-
        /*
         * TDB1_ALLOW_NESTING is the default behavior.
         * Note: this may change in future versions!