You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-5464: Fixes of bugs from ASAN warnings, part one (#2792)
* Fixes of bugs from ASAN warnings, part one * MQC as static library, with nifty counter for global map and mutex * Switch clang to 16 * link messageqcpp to execplan
This commit is contained in:
@ -54,8 +54,10 @@ class SlaveComm
|
||||
EXPORT SlaveComm();
|
||||
|
||||
/** Use this ctor to have it connected to the rest of the DBRM system */
|
||||
EXPORT SlaveComm(std::string hostname, SlaveDBRMNode* s); // hostname = 'DBRM_WorkerN'
|
||||
EXPORT ~SlaveComm();
|
||||
EXPORT SlaveComm(std::string hostname); // hostname = 'DBRM_WorkerN'
|
||||
EXPORT ~SlaveComm() {};
|
||||
|
||||
SlaveDBRMNode& getSlaveNode() { return *slave; }
|
||||
|
||||
EXPORT void run();
|
||||
EXPORT void stop();
|
||||
@ -112,15 +114,15 @@ class SlaveComm
|
||||
void saveDelta();
|
||||
bool processExists(const uint32_t pid, const std::string& pname);
|
||||
|
||||
messageqcpp::MessageQueueServer* server;
|
||||
std::unique_ptr<messageqcpp::MessageQueueServer> server;
|
||||
messageqcpp::IOSocket master;
|
||||
SlaveDBRMNode* slave;
|
||||
std::unique_ptr<SlaveDBRMNode> slave;
|
||||
std::string savefile;
|
||||
bool release, die, firstSlave, saveFileToggle, takeSnapshot, doSaveDelta, standalone, printOnly;
|
||||
messageqcpp::ByteStream delta;
|
||||
idbdatafile::IDBDataFile* currentSaveFile;
|
||||
std::unique_ptr<idbdatafile::IDBDataFile> currentSaveFile;
|
||||
std::string journalName;
|
||||
idbdatafile::IDBDataFile* journalh;
|
||||
std::unique_ptr<idbdatafile::IDBDataFile> journalh;
|
||||
int64_t snapshotInterval, journalCount;
|
||||
struct timespec MSG_TIMEOUT;
|
||||
};
|
||||
|
Reference in New Issue
Block a user