You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-27 21:01:50 +03:00
compilation failure
error: reference to 'mutex' is ambiguous note: candidates are: 'class boost::mutex' note: 'class std::mutex'
This commit is contained in:
@ -45,7 +45,7 @@ AutoincrementManager::~AutoincrementManager()
|
||||
void AutoincrementManager::startSequence(uint32_t oid, uint64_t firstNum, uint32_t colWidth,
|
||||
execplan::CalpontSystemCatalog::ColDataType colDataType)
|
||||
{
|
||||
mutex::scoped_lock lk(lock);
|
||||
boost::mutex::scoped_lock lk(lock);
|
||||
map<uint64_t, sequence>::iterator it;
|
||||
sequence s;
|
||||
|
||||
@ -70,7 +70,7 @@ void AutoincrementManager::startSequence(uint32_t oid, uint64_t firstNum, uint32
|
||||
|
||||
bool AutoincrementManager::getAIRange(uint32_t oid, uint64_t count, uint64_t* firstNum)
|
||||
{
|
||||
mutex::scoped_lock lk(lock);
|
||||
boost::mutex::scoped_lock lk(lock);
|
||||
map<uint64_t, sequence>::iterator it;
|
||||
|
||||
it = sequences.find(oid);
|
||||
@ -91,7 +91,7 @@ bool AutoincrementManager::getAIRange(uint32_t oid, uint64_t count, uint64_t* fi
|
||||
|
||||
void AutoincrementManager::resetSequence(uint32_t oid, uint64_t value)
|
||||
{
|
||||
mutex::scoped_lock lk(lock);
|
||||
boost::mutex::scoped_lock lk(lock);
|
||||
map<uint64_t, sequence>::iterator it;
|
||||
|
||||
it = sequences.find(oid);
|
||||
@ -104,7 +104,7 @@ void AutoincrementManager::resetSequence(uint32_t oid, uint64_t value)
|
||||
|
||||
void AutoincrementManager::getLock(uint32_t oid)
|
||||
{
|
||||
mutex::scoped_lock lk(lock);
|
||||
boost::mutex::scoped_lock lk(lock);
|
||||
map<uint64_t, sequence>::iterator it;
|
||||
ptime stealTime = microsec_clock::local_time() + seconds(lockTime);
|
||||
|
||||
@ -130,7 +130,7 @@ void AutoincrementManager::getLock(uint32_t oid)
|
||||
|
||||
void AutoincrementManager::releaseLock(uint32_t oid)
|
||||
{
|
||||
mutex::scoped_lock lk(lock);
|
||||
boost::mutex::scoped_lock lk(lock);
|
||||
map<uint64_t, sequence>::iterator it;
|
||||
|
||||
it = sequences.find(oid);
|
||||
@ -145,7 +145,7 @@ void AutoincrementManager::releaseLock(uint32_t oid)
|
||||
|
||||
void AutoincrementManager::deleteSequence(uint32_t oid)
|
||||
{
|
||||
mutex::scoped_lock lk(lock);
|
||||
boost::mutex::scoped_lock lk(lock);
|
||||
map<uint64_t, sequence>::iterator it;
|
||||
|
||||
it = sequences.find(oid);
|
||||
|
Reference in New Issue
Block a user