ctdb-tests: Drop code for RECEIVE_RECORDS control
authorAmitay Isaacs <amitay@gmail.com>
Thu, 15 Feb 2018 01:28:36 +0000 (12:28 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 8 Oct 2018 00:46:21 +0000 (02:46 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13641

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/src/protocol_common_ctdb.c

index 03888f44e628ba9a07c7bbbc32f0b7ebd838baec..6a6573486a1dbfba5fbe6cd0a90ada3bebdcea62 100644 (file)
@@ -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;