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

Change posixtask::read to return int instead of bool and handle when data read is short of expected message length.

This commit is contained in:
benthompson15
2019-09-16 16:26:42 -05:00
parent 99399d289f
commit 021009fe99
10 changed files with 27 additions and 23 deletions

View File

@ -39,7 +39,7 @@ StatTask::~StatTask()
}
#define check_error(msg, ret) \
if (!success) \
if (success<0) \
{ \
handleError(msg, errno); \
return ret; \