reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -43,9 +43,9 @@ static ObArenaAllocator alloc_;
|
||||
class ObSingleChildOperatorFake : public ObSingleChildPhyOperator {
|
||||
friend class ObPhyOperatorTest;
|
||||
|
||||
protected:
|
||||
protected:
|
||||
class ObSingleOpCtx : public ObPhyOperator::ObPhyOperatorCtx {
|
||||
public:
|
||||
public:
|
||||
ObSingleOpCtx(ObExecContext& ctx) : ObPhyOperatorCtx(ctx)
|
||||
{}
|
||||
virtual void destroy()
|
||||
@ -54,7 +54,7 @@ class ObSingleChildOperatorFake : public ObSingleChildPhyOperator {
|
||||
}
|
||||
};
|
||||
|
||||
public:
|
||||
public:
|
||||
ObSingleChildOperatorFake() : ObSingleChildPhyOperator(alloc_)
|
||||
{}
|
||||
ObPhyOperatorType get_type() const
|
||||
@ -90,7 +90,7 @@ class ObSingleChildOperatorFake : public ObSingleChildPhyOperator {
|
||||
}
|
||||
*/
|
||||
|
||||
protected:
|
||||
protected:
|
||||
virtual int inner_get_next_row(ObExecContext& ctx, const ObNewRow*& row) const
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
@ -134,9 +134,9 @@ class ObSingleChildOperatorFake : public ObSingleChildPhyOperator {
|
||||
}
|
||||
};
|
||||
class ObTableScanFake : public ObNoChildrenPhyOperator {
|
||||
protected:
|
||||
protected:
|
||||
class ObTableScanFakeCtx : public ObPhyOperatorCtx {
|
||||
public:
|
||||
public:
|
||||
ObTableScanFakeCtx(ObExecContext& ctx) : ObPhyOperatorCtx(ctx)
|
||||
{}
|
||||
virtual void destroy()
|
||||
@ -145,7 +145,7 @@ class ObTableScanFake : public ObNoChildrenPhyOperator {
|
||||
}
|
||||
};
|
||||
|
||||
public:
|
||||
public:
|
||||
ObTableScanFake() : ObNoChildrenPhyOperator(alloc_), row_store_(NULL), store_size_(0), cur_index_(0)
|
||||
{}
|
||||
ObPhyOperatorType get_type() const
|
||||
@ -189,7 +189,7 @@ class ObTableScanFake : public ObNoChildrenPhyOperator {
|
||||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
protected:
|
||||
virtual int inner_get_next_row(ObExecContext& ctx, const ObNewRow*& row) const
|
||||
{
|
||||
UNUSED(ctx);
|
||||
@ -211,26 +211,26 @@ class ObTableScanFake : public ObNoChildrenPhyOperator {
|
||||
return ret;
|
||||
}
|
||||
|
||||
private:
|
||||
private:
|
||||
ObNewRow* row_store_;
|
||||
int64_t store_size_;
|
||||
mutable int64_t cur_index_;
|
||||
};
|
||||
|
||||
class ObMonitoringDumpTest : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
ObMonitoringDumpTest(){};
|
||||
virtual ~ObMonitoringDumpTest() = default;
|
||||
virtual void SetUp(){};
|
||||
virtual void TearDown(){};
|
||||
void is_equal_content(const char* tmp_file, const char* result_file);
|
||||
|
||||
private:
|
||||
private:
|
||||
// disallow copy
|
||||
ObMonitoringDumpTest(const ObMonitoringDumpTest& other);
|
||||
ObMonitoringDumpTest& operator=(const ObMonitoringDumpTest& other);
|
||||
|
||||
private:
|
||||
private:
|
||||
// data members
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user