1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-17 01:02:23 +03:00

Added tracing output

This commit is contained in:
Patrick LeBlanc
2019-02-05 15:44:00 -06:00
parent 9563e2f989
commit 326a4e412c
13 changed files with 63 additions and 2 deletions

View File

@@ -40,6 +40,10 @@ bool ReadTask::run()
check_error("ReadTask read cmd", false);
read_cmd *cmd = (read_cmd *) buf;
#ifdef SM_TRACE
cout << "read " << cmd->filename << " count " << cmd->count << " offset " << cmd->offset << endl;
#endif
// read from IOC, write to the socket
vector<uint8_t> outbuf;
outbuf.resize(max(cmd->count, 4) + sizeof(sm_msg_resp));