1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-04 04:42:30 +03:00

Wrote a component test, which has a stand-in server thread

in place of an actual StorageManager.  The server thread
returns the same error over and over again.

Used that test to debug some basic comm stuff & find
errors in error handling.
This commit is contained in:
Patrick LeBlanc
2019-01-24 16:52:26 -06:00
parent f063f78242
commit acb464618c
7 changed files with 256 additions and 31 deletions

View File

@ -85,7 +85,7 @@ int SMComm::open(const string &filename, const int mode, struct stat *statbuf)
err = sockets.send_recv(*command, response);
if (err)
common_exit(command, response, err);
check_for_error(command, response, err);
memcpy(statbuf, response->buf(), sizeof(*statbuf));
common_exit(command, response, err);