The branch, master-readonly-records has been updated
via 8d363d3ce105b78c94f8e50184b6579b25b237f6 (commit)
from 231f16b3e0c9c44fc85c95bde7951ccfab50af91 (commit)
http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master-readonly-records
- Log -----------------------------------------------------------------
commit 8d363d3ce105b78c94f8e50184b6579b25b237f6
Author: Ronnie Sahlberg <[email protected]>
Date: Tue Aug 23 16:15:34 2011 +1000
LibCTDB : initialize ctdb->pnn to -1 when we create a new context
but before we learn the pnn of the local node
-----------------------------------------------------------------------
Summary of changes:
libctdb/ctdb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/libctdb/ctdb.c b/libctdb/ctdb.c
index e407910..98c86f6 100644
--- a/libctdb/ctdb.c
+++ b/libctdb/ctdb.c
@@ -151,6 +151,7 @@ struct ctdb_connection *ctdb_connect(const char *addr,
log_fn(log_priv, LOG_ERR, "ctdb_connect: no memory", ap);
goto fail;
}
+ ctdb->pnn = -1;
ctdb->outq = NULL;
ctdb->doneq = NULL;
ctdb->in = NULL;
--
CTDB repository