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
This reverts commit f916e64927
.
This commit is contained in:
@ -51,7 +51,7 @@ namespace dmlpackageprocessor
|
||||
{
|
||||
// Tracks active cleartablelock commands by storing set of table lock IDs
|
||||
/*static*/ std::set<uint64_t> CommandPackageProcessor::fActiveClearTableLockCmds;
|
||||
/*static*/ std::mutex CommandPackageProcessor::fActiveClearTableLockCmdMutex;
|
||||
/*static*/ boost::mutex CommandPackageProcessor::fActiveClearTableLockCmdMutex;
|
||||
|
||||
DMLPackageProcessor::DMLResult CommandPackageProcessor::processPackage(
|
||||
dmlpackage::CalpontDMLPackage& cpackage)
|
||||
@ -1068,7 +1068,7 @@ void CommandPackageProcessor::clearTableLock(uint64_t uniqueId, const dmlpackage
|
||||
// Remove tableLockID out of the active cleartableLock command list
|
||||
if (lockGrabbed)
|
||||
{
|
||||
std::unique_lock lock(fActiveClearTableLockCmdMutex);
|
||||
boost::mutex::scoped_lock lock(fActiveClearTableLockCmdMutex);
|
||||
fActiveClearTableLockCmds.erase(tableLockID);
|
||||
}
|
||||
|
||||
@ -1107,7 +1107,7 @@ void CommandPackageProcessor::clearTableLock(uint64_t uniqueId, const dmlpackage
|
||||
//------------------------------------------------------------------------------
|
||||
void CommandPackageProcessor::establishTableLockToClear(uint64_t tableLockID, BRM::TableLockInfo& lockInfo)
|
||||
{
|
||||
std::unique_lock lock(fActiveClearTableLockCmdMutex);
|
||||
boost::mutex::scoped_lock lock(fActiveClearTableLockCmdMutex);
|
||||
|
||||
// Get current table lock info
|
||||
bool getLockInfo = fDbrm->getTableLockInfo(tableLockID, &lockInfo);
|
||||
|
Reference in New Issue
Block a user