diff options
author | Michael Adam <obnox@samba.org> | 2014-01-28 12:53:24 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:06 +0100 |
commit | 6def1c3f6e145abcc81ea69505133bbe128eacac (patch) | |
tree | e867354d33aa898bbe66b6095043d9a74d3c8b72 /source3/torture | |
parent | cf0cb0add9ed47b8974272237fee0e1a4ba7bf68 (diff) | |
download | samba-6def1c3f6e145abcc81ea69505133bbe128eacac.tar.gz |
dbwrap: add a dbwrap_flags argument to db_open_ctdb()
This is in preparation of directly supporting ctdb read only
record copies when opening a ctdb database from samba.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/test_dbwrap_ctdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/test_dbwrap_ctdb.c b/source3/torture/test_dbwrap_ctdb.c index f7672ba4ff1..d7380b1dad2 100644 --- a/source3/torture/test_dbwrap_ctdb.c +++ b/source3/torture/test_dbwrap_ctdb.c @@ -32,7 +32,7 @@ bool run_local_dbwrap_ctdb(int dummy) uint32_t val; db = db_open_ctdb(talloc_tos(), "torture.tdb", 0, TDB_DEFAULT, - O_RDWR, 0755, DBWRAP_LOCK_ORDER_1); + O_RDWR, 0755, DBWRAP_LOCK_ORDER_1, DBWRAP_FLAG_NONE); if (db == NULL) { perror("db_open_ctdb failed"); goto fail; |