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
No boost condition (#2822)
This patch replaces boost primitives with stdlib counterparts.
This commit is contained in:
@ -26,7 +26,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
|
||||
@ -105,9 +106,9 @@ class TableInfo : public WeUIDGID
|
||||
* getting/setting the status of the BulkLoadBuffer objects, so
|
||||
* fSyncUpdatesTI is also used to set/get the BulkLoadBuffer status.
|
||||
*/
|
||||
boost::mutex fSyncUpdatesTI;
|
||||
std::mutex fSyncUpdatesTI;
|
||||
|
||||
boost::mutex fErrorRptInfoMutex; // Used to synhronize access to
|
||||
std::mutex fErrorRptInfoMutex; // Used to synhronize access to
|
||||
// fRejectDataFile & fRejectErrFile
|
||||
int fLocker; // Read thread id reading this table
|
||||
std::vector<std::string> fLoadFileList; // Load files
|
||||
@ -540,7 +541,7 @@ inline bool TableInfo::isTableLocked()
|
||||
|
||||
inline void TableInfo::markTableComplete()
|
||||
{
|
||||
boost::mutex::scoped_lock lock(fSyncUpdatesTI);
|
||||
std::unique_lock lock(fSyncUpdatesTI);
|
||||
fStatusTI = WriteEngine::PARSE_COMPLETE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user