summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-01-11 17:29:01 +0100
committerStefan Metzmacher <metze@samba.org>2013-02-08 12:58:12 +0100
commitdc2e47508d7075cf6507e0dea03da6999ef9097e (patch)
tree5a957139cb1f23a0b32706f5fedd5deb41200a07 /source3
parent554ba5ebbf1d2e520883cfad6f8a2ed6eb9b2b0f (diff)
downloadsamba-dc2e47508d7075cf6507e0dea03da6999ef9097e.tar.gz
samba-dc2e47508d7075cf6507e0dea03da6999ef9097e.tar.bz2
samba-dc2e47508d7075cf6507e0dea03da6999ef9097e.zip
torture: We use transactions for CLEAR_IF_FIRST db
This does not work in the ctdb case Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/test_idmap_tdb_common.c2
1 files changed, 1 insertions, 1 deletions
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);