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
replace boost::shared_array<T> to std::shared_ptr<T[]>
This commit is contained in:
@ -119,7 +119,7 @@ const TxnID SessionManager::getTxnID(const SID session)
|
||||
return ret;
|
||||
}
|
||||
|
||||
boost::shared_array<SIDTIDEntry> SessionManager::SIDTIDMap(int& len)
|
||||
std::shared_ptr<SIDTIDEntry[]> SessionManager::SIDTIDMap(int& len)
|
||||
{
|
||||
// is this cast valid?
|
||||
return dbrm.SIDTIDMap(len);
|
||||
@ -150,7 +150,7 @@ bool SessionManager::checkActiveTransaction(const SID sessionId, bool& bIsDbrmUp
|
||||
bIsDbrmUp = true;
|
||||
int arrayLenth = 0;
|
||||
bool ret = false;
|
||||
boost::shared_array<SIDTIDEntry> sIDTIDMap;
|
||||
std::shared_ptr<SIDTIDEntry[]> sIDTIDMap;
|
||||
|
||||
sIDTIDMap = SIDTIDMap(arrayLenth);
|
||||
|
||||
@ -178,7 +178,7 @@ bool SessionManager::isTransactionActive(const SID sessionId, bool& bIsDbrmUp)
|
||||
bIsDbrmUp = true;
|
||||
int arrayLenth = 0;
|
||||
bool ret = false;
|
||||
boost::shared_array<SIDTIDEntry> sIDTIDMap;
|
||||
std::shared_ptr<SIDTIDEntry[]> sIDTIDMap;
|
||||
|
||||
sIDTIDMap = SIDTIDMap(arrayLenth);
|
||||
|
||||
|
Reference in New Issue
Block a user