You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +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:
@ -226,7 +226,7 @@ void TupleUnion::readInput(uint32_t which)
|
||||
|
||||
l_tmpRG.getRow(0, &tmpRow);
|
||||
{
|
||||
mutex::scoped_lock lk(uniquerMutex);
|
||||
boost::mutex::scoped_lock lk(uniquerMutex);
|
||||
getOutput(&l_outputRG, &outRow, &outRGData);
|
||||
memUsageBefore = allocator.getMemUsage();
|
||||
|
||||
@ -294,8 +294,8 @@ void TupleUnion::readInput(uint32_t which)
|
||||
more = dl->next(it, &inRGData);
|
||||
|
||||
{
|
||||
mutex::scoped_lock lock1(uniquerMutex);
|
||||
mutex::scoped_lock lock2(sMutex);
|
||||
boost::mutex::scoped_lock lock1(uniquerMutex);
|
||||
boost::mutex::scoped_lock lock2(sMutex);
|
||||
|
||||
if (!distinct && l_outputRG.getRowCount() > 0)
|
||||
output->insert(outRGData);
|
||||
@ -395,7 +395,7 @@ void TupleUnion::addToOutput(Row* r, RowGroup* rg, bool keepit,
|
||||
if (rg->getRowCount() == 8192)
|
||||
{
|
||||
{
|
||||
mutex::scoped_lock lock(sMutex);
|
||||
boost::mutex::scoped_lock lock(sMutex);
|
||||
output->insert(data);
|
||||
}
|
||||
data = RGData(*rg);
|
||||
@ -1182,7 +1182,7 @@ void TupleUnion::run()
|
||||
{
|
||||
uint32_t i;
|
||||
|
||||
mutex::scoped_lock lk(jlLock);
|
||||
boost::mutex::scoped_lock lk(jlLock);
|
||||
|
||||
if (runRan)
|
||||
return;
|
||||
@ -1225,7 +1225,7 @@ void TupleUnion::run()
|
||||
|
||||
void TupleUnion::join()
|
||||
{
|
||||
mutex::scoped_lock lk(jlLock);
|
||||
boost::mutex::scoped_lock lk(jlLock);
|
||||
|
||||
if (joinRan)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user