1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-12 23:42:47 +03:00

MCOL-3563: Fix OpenTask and PingTask for read returning int to a bool.

This commit is contained in:
benthompson15
2019-11-22 17:03:19 -06:00
parent 8d6c2a33bf
commit 3565d237ed
2 changed files with 4 additions and 4 deletions

View File

@@ -43,8 +43,8 @@ bool PingTask::run()
return true;
}
// consume the msg
bool success = read(&buf, getLength());
if (!success)
int success = read(&buf, getLength());
if (success<0)
{
handleError("PingTask", errno);
return false;