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
chore(codestyle): mark virtual methods as override
This commit is contained in:
committed by
Leonid Fedorov
parent
6001db44ab
commit
5556d818f8
@ -60,14 +60,14 @@ const int SQL_NOT_FOUND = -1000;
|
||||
const int SQL_KILLED = -1001;
|
||||
const int CALPONT_INTERNAL_ERROR = -1007;
|
||||
|
||||
//#if IDB_SM_DEBUG
|
||||
// extern std::ofstream smlog;
|
||||
//#define SMDEBUGLOG smlog
|
||||
//#else
|
||||
// #if IDB_SM_DEBUG
|
||||
// extern std::ofstream smlog;
|
||||
// #define SMDEBUGLOG smlog
|
||||
// #else
|
||||
#define SMDEBUGLOG \
|
||||
if (false) \
|
||||
std::cout
|
||||
//#endif
|
||||
// #endif
|
||||
extern const std::string DEFAULT_SAVE_PATH;
|
||||
|
||||
typedef uint64_t tableid_t;
|
||||
@ -84,9 +84,7 @@ typedef struct Column
|
||||
Column() : tableID(-1)
|
||||
{
|
||||
}
|
||||
~Column()
|
||||
{
|
||||
}
|
||||
~Column() = default;
|
||||
int tableID;
|
||||
int colPos;
|
||||
int dataType;
|
||||
@ -132,7 +130,14 @@ struct Profiler
|
||||
struct cpsm_tplsch_t
|
||||
{
|
||||
cpsm_tplsch_t()
|
||||
: tableid(0), rowsreturned(0), rowGroup(0), traceFlags(0), bandID(0), saveFlag(0), bandsReturned(0), ctp(0)
|
||||
: tableid(0)
|
||||
, rowsreturned(0)
|
||||
, rowGroup(nullptr)
|
||||
, traceFlags(0)
|
||||
, bandID(0)
|
||||
, saveFlag(0)
|
||||
, bandsReturned(0)
|
||||
, ctp(0)
|
||||
{
|
||||
}
|
||||
~cpsm_tplsch_t()
|
||||
@ -172,7 +177,7 @@ struct cpsm_tplsch_t
|
||||
|
||||
uint16_t getStatus()
|
||||
{
|
||||
idbassert(rowGroup != 0);
|
||||
idbassert(rowGroup != nullptr);
|
||||
return rowGroup->getStatus();
|
||||
}
|
||||
|
||||
@ -295,7 +300,7 @@ extern status_t sm_cleanup(cpsm_conhdl_t*);
|
||||
|
||||
extern status_t tpl_open(tableid_t, sp_cpsm_tplh_t&, cpsm_conhdl_t*);
|
||||
extern status_t tpl_scan_open(tableid_t, sp_cpsm_tplsch_t&, cpsm_conhdl_t*);
|
||||
extern status_t tpl_scan_fetch(sp_cpsm_tplsch_t&, cpsm_conhdl_t*, int* k = 0);
|
||||
extern status_t tpl_scan_fetch(sp_cpsm_tplsch_t&, cpsm_conhdl_t*, int* k = nullptr);
|
||||
extern status_t tpl_scan_close(sp_cpsm_tplsch_t&);
|
||||
extern status_t tpl_close(sp_cpsm_tplh_t&, cpsm_conhdl_t**, querystats::QueryStats& stats, bool ask_4_stats,
|
||||
bool clear_scan_ctx = false);
|
||||
|
Reference in New Issue
Block a user