1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

[MCOL-5265] Change boost:shared_ptr to std::shared_ptr.

This is attempt to make some part of the code more stable.
For some reason we can get a spurious nullptr for boost::shared_ptr
which cause an assert and abort.
This commit is contained in:
Denis Khalikov
2022-11-14 18:53:35 +03:00
parent 09d785fc9b
commit e09d24cb8d
10 changed files with 28 additions and 28 deletions

View File

@ -1819,9 +1819,9 @@ void TupleJoiner::clearData()
finished = false;
}
boost::shared_ptr<TupleJoiner> TupleJoiner::copyForDiskJoin()
std::shared_ptr<TupleJoiner> TupleJoiner::copyForDiskJoin()
{
boost::shared_ptr<TupleJoiner> ret(new TupleJoiner());
std::shared_ptr<TupleJoiner> ret(new TupleJoiner());
ret->smallRG = smallRG;
ret->largeRG = largeRG;

View File

@ -460,7 +460,7 @@ class TupleJoiner
}
// Disk-based join support
void clearData();
boost::shared_ptr<TupleJoiner> copyForDiskJoin();
std::shared_ptr<TupleJoiner> copyForDiskJoin();
bool isFinished()
{
return finished;