1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Revert "No boost condition (#2822)" (#2828)

This reverts commit f916e64927.
This commit is contained in:
Roman Nozdrin
2023-04-22 13:49:50 +01:00
committed by GitHub
parent f916e64927
commit 4fe9cd64a3
245 changed files with 2007 additions and 1261 deletions

View File

@ -26,8 +26,7 @@
#include <utility>
#include <vector>
#include <map>
#include <mutex>
#include <boost/thread/mutex.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/uuid/uuid.hpp>
@ -106,9 +105,9 @@ class TableInfo : public WeUIDGID
* getting/setting the status of the BulkLoadBuffer objects, so
* fSyncUpdatesTI is also used to set/get the BulkLoadBuffer status.
*/
std::mutex fSyncUpdatesTI;
boost::mutex fSyncUpdatesTI;
std::mutex fErrorRptInfoMutex; // Used to synhronize access to
boost::mutex fErrorRptInfoMutex; // Used to synhronize access to
// fRejectDataFile & fRejectErrFile
int fLocker; // Read thread id reading this table
std::vector<std::string> fLoadFileList; // Load files
@ -541,7 +540,7 @@ inline bool TableInfo::isTableLocked()
inline void TableInfo::markTableComplete()
{
std::unique_lock lock(fSyncUpdatesTI);
boost::mutex::scoped_lock lock(fSyncUpdatesTI);
fStatusTI = WriteEngine::PARSE_COMPLETE;
}