You've already forked mariadb-columnstore-engine
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user