git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512e6ca
)
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
author
Volker Lendecke
<vl@samba.org>
Mon, 14 Apr 2008 10:53:11 +0000
(12:53 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 14 Apr 2008 11:13:46 +0000
(13:13 +0200)
Metze, you might want to check this.
source/lib/dbwrap.c
patch
|
blob
|
history
diff --git
a/source/lib/dbwrap.c
b/source/lib/dbwrap.c
index d688b83d735797fd7bd9d95b66203a142f222799..7fe1631bff040595e8b5d4b7b31d555742fcf62c 100644
(file)
--- a/
source/lib/dbwrap.c
+++ b/
source/lib/dbwrap.c
@@
-131,6
+131,7
@@
struct db_context *db_open_trans(TALLOC_CTX *mem_ctx,
}
/* allow ctdb for individual databases to be disabled */
if (lp_parm_bool(-1, "ctdb", partname, true)) {
+ struct db_context *result = NULL;
result = db_open_ctdb(mem_ctx, partname, hash_size,
tdb_flags, open_flags, mode);
if (result == NULL) {
@@
-139,6
+140,7
@@
struct db_context *db_open_trans(TALLOC_CTX *mem_ctx,
smb_panic("failed to attach to a ctdb "
"database");
}
+ return result;
}
}
#endif