From: Amitay Isaacs Date: Thu, 15 Feb 2018 01:28:36 +0000 (+1100) Subject: ctdb-tests: Drop code for RECEIVE_RECORDS control X-Git-Tag: tdb-1.3.17~1441 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=83b3c5670d85c607c1cf1ab8cfc2c967d4d16721;p=samba.git ctdb-tests: Drop code for RECEIVE_RECORDS control BUG: https://bugzilla.samba.org/show_bug.cgi?id=13641 Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/tests/src/protocol_common_ctdb.c b/ctdb/tests/src/protocol_common_ctdb.c index 03888f44e62..6a6573486a1 100644 --- a/ctdb/tests/src/protocol_common_ctdb.c +++ b/ctdb/tests/src/protocol_common_ctdb.c @@ -536,12 +536,6 @@ void fill_ctdb_req_control_data(TALLOC_CTX *mem_ctx, fill_ctdb_traverse_all_ext(mem_ctx, cd->data.traverse_all_ext); break; - case CTDB_CONTROL_RECEIVE_RECORDS: - cd->data.recbuf = talloc(mem_ctx, struct ctdb_rec_buffer); - assert(cd->data.recbuf != NULL); - fill_ctdb_rec_buffer(mem_ctx, cd->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break; @@ -958,10 +952,6 @@ void verify_ctdb_req_control_data(struct ctdb_req_control_data *cd, cd2->data.traverse_all_ext); break; - case CTDB_CONTROL_RECEIVE_RECORDS: - verify_ctdb_rec_buffer(cd->data.recbuf, cd2->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break; @@ -1400,12 +1390,6 @@ void fill_ctdb_reply_control_data(TALLOC_CTX *mem_ctx, case CTDB_CONTROL_TRAVERSE_ALL_EXT: break; - case CTDB_CONTROL_RECEIVE_RECORDS: - cd->data.recbuf = talloc(mem_ctx, struct ctdb_rec_buffer); - assert(cd->data.recbuf != NULL); - fill_ctdb_rec_buffer(mem_ctx, cd->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break; @@ -1758,10 +1742,6 @@ void verify_ctdb_reply_control_data(struct ctdb_reply_control_data *cd, case CTDB_CONTROL_TRAVERSE_ALL_EXT: break; - case CTDB_CONTROL_RECEIVE_RECORDS: - verify_ctdb_rec_buffer(cd->data.recbuf, cd2->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break;