git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f65a9
)
s3: Pass tdb_flags to ctdbd when attaching to a db
author
Volker Lendecke
<vl@samba.org>
Mon, 25 Oct 2010 09:07:36 +0000
(11:07 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 26 Oct 2010 13:43:31 +0000
(15:43 +0200)
This is required to make ctdb create databases with INCOMPATIBLE_HASH
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 101ab30a6d1a2289ad39327c0b8dfbcac944597b..f8d6245d8a1a4c3fa2c54b5da851ce8c93a9a49a 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-886,7
+886,7
@@
NTSTATUS ctdbd_db_attach(struct ctdbd_connection *conn,
persistent
? CTDB_CONTROL_DB_ATTACH_PERSISTENT
: CTDB_CONTROL_DB_ATTACH,
-
0
, 0, data, NULL, &data, &cstatus);
+
tdb_flags
, 0, data, NULL, &data, &cstatus);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, (__location__ " ctdb_control for db_attach "
"failed: %s\n", nt_errstr(status)));