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

@ -31,7 +31,7 @@ using namespace oceanbase::common;
namespace test {
class MockVisitor : public ObPhyOperatorVisitor {
public:
public:
MockVisitor() : level_(0)
{}
~MockVisitor()
@ -102,28 +102,28 @@ class MockVisitor : public ObPhyOperatorVisitor {
return OB_SUCCESS;
}
private:
private:
int level_;
};
class TestCodeGenerator : public TestOptimizerUtils {
public:
public:
TestCodeGenerator();
virtual ~TestCodeGenerator();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(TestCodeGenerator);
protected:
protected:
// function members
void do_optimize(ObStmt& stmt, ObLogPlan*& plan, ObPhyPlanType distr_method);
void do_code_generate(const ObLogPlan& log_plan, ObCodeGenerator& code_gen, ObPhysicalPlan& phy_plan);
int do_rewrite(ObStmt*& stmt, ObPhysicalPlan* phy_plan);
protected:
protected:
// data members
oceanbase::share::ObLocationFetcher fetcher_;
ParamStore params_;