[SCM] CTDB repository - branch master updated - ctdb-1.12-87-g08e0617

Ronnie Sahlberg sahlberg at samba.org
Mon Dec 5 18:12:22 MST 2011


The branch, master has been updated
       via  08e06176feab1ec244496e62a916fbb77817239f (commit)
      from  8281bb210858ed04992eacea7f6d02261e0fc1b1 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 08e06176feab1ec244496e62a916fbb77817239f
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Tue Dec 6 11:29:49 2011 +1100

    Fix the build that broke in 8281bb210858ed04992eacea7f6d02261e0fc1b1
    
    The traverse control has changed wireformat so update also libctdb to use the correct
    version of the wire structure and compile

-----------------------------------------------------------------------

Summary of changes:
 libctdb/ctdb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libctdb/ctdb.c b/libctdb/ctdb.c
index a525d6f..0c5a1b3 100644
--- a/libctdb/ctdb.c
+++ b/libctdb/ctdb.c
@@ -1106,7 +1106,7 @@ static void traverse_msghnd_cb(struct ctdb_connection *ctdb,
 {
 	struct ctdb_traverse_state *state = private_data;
 	struct ctdb_db *ctdb_db = state->ctdb_db;
-	struct ctdb_traverse_start t;
+	struct ctdb_traverse_start_ext t;
 
 	if (!ctdb_set_message_handler_recv(ctdb, state->handle)) {
 		DEBUG(ctdb, LOG_ERR,
@@ -1130,7 +1130,7 @@ static void traverse_msghnd_cb(struct ctdb_connection *ctdb,
 	t.withemptyrecords = false;
 
 	state->handle = new_ctdb_control_request(ctdb,
-				CTDB_CONTROL_TRAVERSE_START,
+				CTDB_CONTROL_TRAVERSE_START_EXT,
 				CTDB_CURRENT_NODE,
 				&t, sizeof(t),
 				traverse_start_cb, state);


-- 
CTDB repository


More information about the samba-cvs mailing list