You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-04 04:42:30 +03:00
chore(codestyle): mark virtual methods as override
This commit is contained in:
committed by
Leonid Fedorov
parent
ad80ab40aa
commit
0ab03c7258
@ -25,7 +25,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sstream>
|
||||
#include <limits>
|
||||
//#define NDEBUG
|
||||
// #define NDEBUG
|
||||
#include <cassert>
|
||||
using namespace std;
|
||||
|
||||
@ -77,9 +77,7 @@ class CacheOpThread
|
||||
CacheOpThread(const string& svr, const ByteStream& outBs) : fServerName(svr), fOutBs(outBs)
|
||||
{
|
||||
}
|
||||
~CacheOpThread()
|
||||
{
|
||||
}
|
||||
~CacheOpThread() = default;
|
||||
void operator()()
|
||||
{
|
||||
struct timespec ts = {10, 0};
|
||||
@ -89,7 +87,7 @@ class CacheOpThread
|
||||
try
|
||||
{
|
||||
cl->write(fOutBs);
|
||||
rc = extractRespCode(cl->read(&ts));
|
||||
rc = extractRespCode(*cl->read(&ts));
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
@ -343,7 +341,7 @@ int purgePrimProcFdCache(const std::vector<BRM::FileInfo> files, const int pmId)
|
||||
oss << "PMS" << pmId;
|
||||
scoped_ptr<MessageQueueClient> cl(new MessageQueueClient(oss.str()));
|
||||
cl->write(bs);
|
||||
rc = extractRespCode(cl->read(&ts));
|
||||
rc = extractRespCode(*cl->read(&ts));
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
@ -353,4 +351,3 @@ int purgePrimProcFdCache(const std::vector<BRM::FileInfo> files, const int pmId)
|
||||
return rc;
|
||||
}
|
||||
} // namespace cacheutils
|
||||
|
||||
|
Reference in New Issue
Block a user