From dc2e47508d7075cf6507e0dea03da6999ef9097e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 11 Jan 2013 17:29:01 +0100 Subject: torture: We use transactions for CLEAR_IF_FIRST db This does not work in the ctdb case Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- source3/torture/test_idmap_tdb_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/torture') diff --git a/source3/torture/test_idmap_tdb_common.c b/source3/torture/test_idmap_tdb_common.c index d08166017a..5681eefe70 100644 --- a/source3/torture/test_idmap_tdb_common.c +++ b/source3/torture/test_idmap_tdb_common.c @@ -89,7 +89,7 @@ static bool open_db(struct idmap_tdb_common_context *ctx) return false; } - ctx->db = db_open(ctx, db_path, 0, TDB_DEFAULT | TDB_CLEAR_IF_FIRST, + ctx->db = db_open(ctx, db_path, 0, TDB_DEFAULT, O_RDWR | O_CREAT, 0600, DBWRAP_LOCK_ORDER_1); -- cgit