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
Reformat all code to coding standard
This commit is contained in:
@ -37,29 +37,29 @@ namespace dbbc
|
||||
class Stats
|
||||
{
|
||||
public:
|
||||
Stats();
|
||||
Stats(const char *name);
|
||||
virtual ~Stats();
|
||||
Stats();
|
||||
Stats(const char* name);
|
||||
virtual ~Stats();
|
||||
|
||||
void touchedLBID(uint64_t lbid, pthread_t thdid, uint32_t session=0);
|
||||
void markEvent(const uint64_t lbid, const pthread_t thdid, const uint32_t session, const char event);
|
||||
void touchedLBID(uint64_t lbid, pthread_t thdid, uint32_t session = 0);
|
||||
void markEvent(const uint64_t lbid, const pthread_t thdid, const uint32_t session, const char event);
|
||||
|
||||
inline BRM::OID_t lbid2oid(uint64_t lbid)
|
||||
{
|
||||
BRM::OID_t oid;
|
||||
uint32_t fbo;
|
||||
brm.lookup(lbid, 0, false, oid, fbo);
|
||||
return oid;
|
||||
}
|
||||
inline BRM::OID_t lbid2oid(uint64_t lbid)
|
||||
{
|
||||
BRM::OID_t oid;
|
||||
uint32_t fbo;
|
||||
brm.lookup(lbid, 0, false, oid, fbo);
|
||||
return oid;
|
||||
}
|
||||
|
||||
private:
|
||||
Stats(const Stats& rhs);
|
||||
Stats& operator=(const Stats& rhs);
|
||||
Stats(const Stats& rhs);
|
||||
Stats& operator=(const Stats& rhs);
|
||||
|
||||
boost::thread* fMonitorp;
|
||||
BRM::DBRM brm;
|
||||
//ostringstream fName;
|
||||
const char* fName;
|
||||
boost::thread* fMonitorp;
|
||||
BRM::DBRM brm;
|
||||
//ostringstream fName;
|
||||
const char* fName;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user