You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
chore(codestyle): mark virtual methods as override
This commit is contained in:
committed by
Leonid Fedorov
parent
ad80ab40aa
commit
0ab03c7258
@ -162,10 +162,9 @@ struct EMCasualPartition_struct
|
||||
int64_t hiVal;
|
||||
};
|
||||
EXPORT EMCasualPartition_struct();
|
||||
EXPORT EMCasualPartition_struct(const int64_t lo, const int64_t hi, const int32_t seqNum);
|
||||
EXPORT EMCasualPartition_struct(const int128_t bigLo, const int128_t bigHi, const int32_t seqNum);
|
||||
EXPORT EMCasualPartition_struct(const int64_t lo, const int64_t hi, const int32_t seqNum,
|
||||
const char status);
|
||||
EXPORT EMCasualPartition_struct(int64_t lo, int64_t hi, int32_t seqNum);
|
||||
EXPORT EMCasualPartition_struct(const int128_t bigLo, const int128_t bigHi, int32_t seqNum);
|
||||
EXPORT EMCasualPartition_struct(int64_t lo, int64_t hi, int32_t seqNum, char status);
|
||||
EXPORT EMCasualPartition_struct(const EMCasualPartition_struct& em);
|
||||
EXPORT EMCasualPartition_struct& operator=(const EMCasualPartition_struct& em);
|
||||
};
|
||||
@ -276,7 +275,7 @@ class ExtentMapRBTreeImpl
|
||||
if (fInstance)
|
||||
{
|
||||
delete fInstance;
|
||||
fInstance = NULL;
|
||||
fInstance = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -320,22 +319,22 @@ class ExtentMapRBTreeImpl
|
||||
class FreeListImpl
|
||||
{
|
||||
public:
|
||||
~FreeListImpl(){};
|
||||
~FreeListImpl() = default;
|
||||
|
||||
static FreeListImpl* makeFreeListImpl(unsigned key, off_t size, bool readOnly = false);
|
||||
|
||||
|
||||
static void refreshShmWithLock()
|
||||
{
|
||||
boost::mutex::scoped_lock lk(fInstanceMutex);
|
||||
return refreshShm();
|
||||
}
|
||||
|
||||
|
||||
static void refreshShm()
|
||||
{
|
||||
if (fInstance)
|
||||
{
|
||||
delete fInstance;
|
||||
fInstance = NULL;
|
||||
fInstance = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -387,7 +386,7 @@ class FreeListImpl
|
||||
class ExtentMapIndexImpl
|
||||
{
|
||||
public:
|
||||
~ExtentMapIndexImpl(){};
|
||||
~ExtentMapIndexImpl() = default;
|
||||
|
||||
static ExtentMapIndexImpl* makeExtentMapIndexImpl(unsigned key, off_t size, bool readOnly = false);
|
||||
static void refreshShm()
|
||||
@ -505,7 +504,7 @@ class ExtentMap : public Undoable
|
||||
{
|
||||
public:
|
||||
EXPORT ExtentMap();
|
||||
EXPORT ~ExtentMap();
|
||||
EXPORT ~ExtentMap() override;
|
||||
|
||||
/** @brief Loads the ExtentMap entries from a file
|
||||
*
|
||||
@ -1010,9 +1009,9 @@ class ExtentMap : public Undoable
|
||||
|
||||
EXPORT void setReadOnly();
|
||||
|
||||
EXPORT virtual void undoChanges();
|
||||
EXPORT void undoChanges() override;
|
||||
|
||||
EXPORT virtual void confirmChanges();
|
||||
EXPORT void confirmChanges() override;
|
||||
|
||||
EXPORT int markInvalid(const LBID_t lbid, const execplan::CalpontSystemCatalog::ColDataType colDataType);
|
||||
EXPORT int markInvalid(const std::vector<LBID_t>& lbids,
|
||||
|
Reference in New Issue
Block a user