1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

patch boost (sic!) to fix warning

This commit is contained in:
Leonid Fedorov
2025-04-14 20:41:56 +00:00
committed by Leonid Fedorov
parent 4a8f5830fd
commit 0dceaa318d
4 changed files with 16 additions and 8 deletions

View File

@ -1555,14 +1555,9 @@ struct BPPHandler
bs >> stepID;
bs >> uniqueID;
boost::unique_lock<boost::shared_mutex> lk(getDJLock(uniqueID));
boost::mutex::scoped_lock scoped(bppLock);
bppKeysIt = std::find(bppKeys.begin(), bppKeys.end(), uniqueID);
if (bppKeysIt != bppKeys.end())
boost::shared_ptr<BPPV> bppv = nullptr;
{
boost::unique_lock<shared_mutex> lk(getDJLock(uniqueID));
boost::unique_lock<boost::shared_mutex> lk(getDJLock(uniqueID));
boost::mutex::scoped_lock scoped(bppLock);
bppKeysIt = std::find(bppKeys.begin(), bppKeys.end(), uniqueID);