reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -18,7 +18,7 @@
namespace oceanbase {
namespace clog {
class ObISubmitLogCb {
public:
public:
ObISubmitLogCb() : next_(NULL), submit_timestamp_(0), need_post_cb_(false), is_high_priority_(false)
{}
virtual ~ObISubmitLogCb()
@ -29,7 +29,7 @@ class ObISubmitLogCb {
is_high_priority_ = false;
}
public:
public:
// batch_committed:
// For distributed transactions of batch commit type, this value is used to notify the upper-layer transaction
// whether the commit is successful batch_committed = true
@ -88,7 +88,7 @@ class ObISubmitLogCb {
return is_high_priority_;
}
public:
public:
ObISubmitLogCb* next_;
int64_t submit_timestamp_;
bool need_post_cb_;
@ -97,13 +97,13 @@ class ObISubmitLogCb {
};
class ObSubmitLogDummyCb : public ObISubmitLogCb {
public:
public:
ObSubmitLogDummyCb()
{}
~ObSubmitLogDummyCb()
{}
public:
public:
int on_success(const common::ObPartitionKey& partition_key, const clog::ObLogType log_type, const uint64_t log_id,
const int64_t version, const bool batch_committed, const bool batch_last_succeed)
{