1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4841 compiler fixes

This commit is contained in:
david.hall
2022-06-14 15:02:05 -05:00
parent 6d47529499
commit a227fccfa4
2 changed files with 4 additions and 3 deletions

View File

@ -136,7 +136,6 @@ class BatchPrimitiveProcessor
{ {
fBusy = b; fBusy = b;
} }
uint16_t FilterCount() const uint16_t FilterCount() const
{ {
return filterCount; return filterCount;
@ -435,6 +434,8 @@ class BatchPrimitiveProcessor
bool firstInstance; bool firstInstance;
uint64_t valuesLBID; uint64_t valuesLBID;
static const uint64_t maxResultCount = 1048576; // 2^20
friend class Command; friend class Command;
friend class ColumnCommand; friend class ColumnCommand;
friend class DictStep; friend class DictStep;

View File

@ -84,7 +84,7 @@ class BPPSendThread
{ {
return die; return die;
} }
void setProcessorPool(threadpool::PriorityThreadPool* processorPool) void setProcessorPool(boost::shared_ptr<threadpool::PriorityThreadPool> processorPool)
{ {
fProcessorPool = processorPool; fProcessorPool = processorPool;
} }
@ -148,7 +148,7 @@ class BPPSendThread
uint64_t maxByteSize; uint64_t maxByteSize;
// Used to tell the PriorityThreadPool It should consider additional threads because a // Used to tell the PriorityThreadPool It should consider additional threads because a
// queue full event has happened and a thread has been blocked. // queue full event has happened and a thread has been blocked.
threadpool::PriorityThreadPool* fProcessorPool; boost::shared_ptr<threadpool::PriorityThreadPool> fProcessorPool;
}; };
} // namespace primitiveprocessor } // namespace primitiveprocessor