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
compiler warnings
like dbcon/joblist/batchprimitiveprocessor-jl.cpp:893:54: error: pointer used after ‘void operator delete [](void*, std::size_t)’ [-Werror=use-after-free] 893 | joinResults.reset(new vector<uint32_t>[8192]); | ^
This commit is contained in:
committed by
Gagan Goel
parent
cfcda69b1d
commit
a8be4a3787
@ -890,7 +890,8 @@ void BatchPrimitiveProcessorJL::getRowGroupData(ByteStream& in, vector<RGData>*
|
||||
|
||||
if (joinResults.get() == NULL)
|
||||
{
|
||||
joinResults.reset(new vector<uint32_t>[8192]);
|
||||
auto v = new vector<uint32_t>[8192];
|
||||
joinResults.reset(v);
|
||||
tJoiners[j]->setPMJoinResults(joinResults, threadID);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user