1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

MCOL-480 remove the annoying warning log message. This code path is normal and shouldn't log anyything.

This commit is contained in:
David Hall
2017-02-06 12:05:49 -06:00
committed by david hill
parent 3b3b92c3d5
commit 5f828fbc36

View File

@@ -436,15 +436,15 @@ const SBS InetStreamSocket::read(const struct ::timespec* timeout, bool* isTimeO
uint8_t* msglenp = reinterpret_cast<uint8_t*>(&msglen); uint8_t* msglenp = reinterpret_cast<uint8_t*>(&msglen);
size_t mlread = 0; size_t mlread = 0;
bool myIsTimeOut = false; if (readToMagic(msecs, isTimeOut, stats) == false) //indicates a timeout or EOF
if (readToMagic(msecs, &myIsTimeOut, stats) == false) //indicates a timeout or EOF
{ {
if (!myIsTimeOut) // MCOL-480 The connector calls with timeout in a loop so that
logIoError("InetStreamSocket::read: EOF during readToMagic", 0); // it can check a killed flag. This means that for a long running query,
if (isTimeOut) // the following fills the warning log.
{ // if (isTimeOut && *isTimeOut)
*isTimeOut = myIsTimeOut; // {
} // logIoError("InetStreamSocket::read: timeout during readToMagic", 0);
// }
return SBS(new ByteStream(0)); return SBS(new ByteStream(0));
} }