summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-07-11 00:38:59 +1000
committerKarolin Seeger <kseeger@samba.org>2017-07-24 22:00:38 +0200
commitfcb08f7d828b9683668fe26784c563144bc82ee1 (patch)
tree52bd24a63a0b403758c8e78c3bc7eee2b4124003 /source3/lib
parent5afede8d715b3b42329ac53c4887e3cd50de0922 (diff)
downloadsamba-fcb08f7d828b9683668fe26784c563144bc82ee1.tar.gz
dbwrap: CTDB ignores tdb_flags passed to db attach controls
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12891 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 6ae063a109ca88bf815fd1bf5e8865053bea41b9)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 3adb57da247..d38789aa861 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -832,7 +832,7 @@ int ctdbd_db_attach(struct ctdbd_connection *conn,
persistent
? CTDB_CONTROL_DB_ATTACH_PERSISTENT
: CTDB_CONTROL_DB_ATTACH,
- tdb_flags, 0, data, NULL, &data, &cstatus);
+ 0, 0, data, NULL, &data, &cstatus);
if (ret != 0) {
DEBUG(0, (__location__ " ctdb_control for db_attach "
"failed: %s\n", strerror(ret)));