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
Remove boost shared array [develop 23.02] (#2812)
* remove boost/shared_array include * replace boost::shared_array<T> to std::shared_ptr<T[]>
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
#include <stdint.h>
|
||||
#include <queue>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <boost/shared_array.hpp>
|
||||
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <boost/thread/condition.hpp>
|
||||
#include <boost/thread.hpp>
|
||||
|
@ -215,7 +215,7 @@ void rollbackAll(DBRM* dbrm)
|
||||
logging::MessageLog ml(lid);
|
||||
ml.logInfoMessage(message);
|
||||
|
||||
boost::shared_array<BRM::SIDTIDEntry> activeTxns;
|
||||
std::shared_ptr<BRM::SIDTIDEntry[]> activeTxns;
|
||||
BRM::TxnID txnID;
|
||||
SessionManager sessionManager;
|
||||
int rc = 0;
|
||||
|
@ -263,7 +263,7 @@ struct CancellationThread
|
||||
// If there are any abandonded transactions without locks
|
||||
// release them.
|
||||
int len;
|
||||
boost::shared_array<BRM::SIDTIDEntry> activeTxns = sessionManager.SIDTIDMap(len);
|
||||
std::shared_ptr<BRM::SIDTIDEntry[]> activeTxns = sessionManager.SIDTIDMap(len);
|
||||
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user