summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-08-18 14:00:47 +1000
committerKarolin Seeger <kseeger@samba.org>2017-08-28 11:04:16 +0200
commit9ca3ad4f94850fdcc1b71ef51afb1012d535d917 (patch)
treef9e3175660742c1fc61addff9e7118ff314ed776 /ctdb/include
parentb78763510343147262a45dbf684bec6ee66d3062 (diff)
downloadsamba-9ca3ad4f94850fdcc1b71ef51afb1012d535d917.tar.gz
ctdb-client: Fix ctdb_attach() to use database flags
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12978 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Fri Aug 25 13:32:58 CEST 2017 on sn-devel-144 (cherry picked from commit 1f7f112317e0c33bc088a204b3ee69ba48c3f449)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index 2a19991bc5c..9ad9bdb24cd 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -276,7 +276,7 @@ int ctdb_ctrl_db_open_flags(struct ctdb_context *ctdb, uint32_t db_id,
struct ctdb_db_context *ctdb_attach(struct ctdb_context *ctdb,
struct timeval timeout,
const char *name,
- bool persistent);
+ uint8_t db_flags);
int ctdb_detach(struct ctdb_context *ctdb, uint32_t db_id);