diff options
author | Ralph Boehme <slow@samba.org> | 2017-07-11 20:41:43 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2017-07-24 22:00:38 +0200 |
commit | a577510d348ba9be9653a75363eeb2e400d1a425 (patch) | |
tree | d53f29943d42219f0956f7eb8b26a143f96d1c6c /source3/include | |
parent | d12832f11a120b35a472f9268af2081c5699b44b (diff) | |
download | samba-a577510d348ba9be9653a75363eeb2e400d1a425.tar.gz |
ctdbd_conn: pass persistent bool instead of tdb_flags
ctdbd_db_attach() only needs to know the ctdb database model, not the
rest of the flags.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12891
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit b2b7e3b9710fa22716f931177265dcd8de74532b)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ctdbd_conn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h index 06fbcc373a4..38477d313de 100644 --- a/source3/include/ctdbd_conn.h +++ b/source3/include/ctdbd_conn.h @@ -55,7 +55,7 @@ char *ctdbd_dbpath(struct ctdbd_connection *conn, TALLOC_CTX *mem_ctx, uint32_t db_id); int ctdbd_db_attach(struct ctdbd_connection *conn, const char *name, - uint32_t *db_id, int tdb_flags); + uint32_t *db_id, bool persistent); int ctdbd_migrate(struct ctdbd_connection *conn, uint32_t db_id, TDB_DATA key); |