git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7eab1
)
dbwrap_ctdb: Fix calculation of persistent flag
author
Amitay Isaacs
<amitay@gmail.com>
Wed, 19 Jul 2017 02:04:35 +0000
(12:04 +1000)
committer
Ralph Boehme
<slow@samba.org>
Wed, 19 Jul 2017 10:00:15 +0000
(12:00 +0200)
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>
source3/lib/dbwrap/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap/dbwrap_ctdb.c
b/source3/lib/dbwrap/dbwrap_ctdb.c
index 6bdaab000a99a71b094d258eb542de80bf64ecdd..a5ac2b27074a50a3d0824a44ebc7794cc6af0918 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap/dbwrap_ctdb.c
@@
-1780,7
+1780,7
@@
struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx,
char *db_path;
struct loadparm_context *lp_ctx;
TDB_DATA data;
- bool persistent = (tdb_flags & TDB_CLEAR_IF_FIRST);
+ bool persistent = (tdb_flags & TDB_CLEAR_IF_FIRST)
== 0
;
int32_t cstatus;
int ret;