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
Fix atomic usage
Using atomic without namespace broke the build on most platforms
This commit is contained in:
@ -291,7 +291,7 @@ void BatchPrimitiveProcessor::initBPP(ByteStream& bs)
|
||||
addToJoinerLocks[j].reset(new boost::mutex[processorThreads]);
|
||||
|
||||
smallSideDataLocks.reset(new boost::mutex[joinerCount]);
|
||||
tJoinerSizes.reset(new atomic<uint32_t>[joinerCount]);
|
||||
tJoinerSizes.reset(new std::atomic<uint32_t>[joinerCount]);
|
||||
largeSideKeyColumns.reset(new uint32_t[joinerCount]);
|
||||
tlLargeSideKeyColumns.reset(new vector<uint32_t>[joinerCount]);
|
||||
typelessJoin.reset(new bool[joinerCount]);
|
||||
@ -592,7 +592,7 @@ void BatchPrimitiveProcessor::addToJoiner(ByteStream& bs)
|
||||
idbassert(joinerNum < joinerCount);
|
||||
arr = (JoinerElements*) bs.buf();
|
||||
|
||||
atomic<uint32_t> &tJoinerSize = tJoinerSizes[joinerNum];
|
||||
std::atomic<uint32_t> &tJoinerSize = tJoinerSizes[joinerNum];
|
||||
|
||||
// XXXPAT: enormous if stmts are evil. TODO: move each block into
|
||||
// properly-named functions for clarity.
|
||||
|
Reference in New Issue
Block a user