1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Changed ownership of the socket.

This commit is contained in:
Patrick LeBlanc
2019-02-04 14:44:35 -06:00
parent 4769e896f8
commit 8ef4e09aa4
23 changed files with 105 additions and 108 deletions

View File

@@ -19,7 +19,7 @@ OpenTask::~OpenTask()
{
}
void OpenTask::run()
bool OpenTask::run()
{
/*
get the parameters
@@ -32,14 +32,14 @@ void OpenTask::run()
if (getLength() > 1023)
{
handleError("OpenTask read1", ENAMETOOLONG);
return;
return true;
}
success = read(buf, getLength());
if (!success)
{
handleError("OpenTask read2", errno);
return;
return false;
}
open_cmd *cmd = (open_cmd *) buf;
@@ -48,7 +48,7 @@ void OpenTask::run()
if (err)
{
handleError("OpenTask open", errno);
return;
return true;
}
sm_msg_resp *resp = (sm_msg_resp *) buf;
@@ -58,6 +58,7 @@ void OpenTask::run()
success = write(buf, sizeof(struct stat) + sizeof(sm_msg_resp));
if (!success)
handleError("OpenTask write", errno);
return success;
}
}