1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-27 16:01:57 +03:00

Started writing unit tests to verify SM does the right thing

when given short data (sender crashed).
This commit is contained in:
Patrick LeBlanc
2019-08-28 12:59:09 -05:00
parent fab69d1717
commit 0f065864c4
4 changed files with 114 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ bool ListDirectoryTask::run()
sm_response *resp = (sm_response *) buf;
resp->header.type = SM_MSG_START;
resp->header.payloadLen = payloadLen + sizeof(sm_response) - sizeof(sm_msg_header); // the +4 is for the length of the return code
resp->header.payloadLen = payloadLen + sizeof(sm_response) - sizeof(sm_msg_header);
resp->header.flags = 0;
resp->returnCode = 0;
listdir_resp *r = (listdir_resp *) resp->payload;