Browse Source

tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack.

The caller should do this: the SAMBA compatibility later does.
Rusty Russell 14 years ago
parent
commit
75a6a6ad64
1 changed files with 0 additions and 4 deletions
  1. 0 4
      ccan/tdb2/tdb1_open.c

+ 0 - 4
ccan/tdb2/tdb1_open.c

@@ -266,10 +266,6 @@ struct tdb1_context *tdb1_open_ex(const char *name, int hash_size, int tdb1_flag
 		goto fail;
 		goto fail;
 	}
 	}
 
 
-	if (getenv("TDB_NO_FSYNC")) {
-		tdb->flags |= TDB1_NOSYNC;
-	}
-
 	/*
 	/*
 	 * TDB1_ALLOW_NESTING is the default behavior.
 	 * TDB1_ALLOW_NESTING is the default behavior.
 	 * Note: this may change in future versions!
 	 * Note: this may change in future versions!