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

@ -33,7 +33,7 @@ namespace observer {
class TestInformationSchemaService : public ::testing::Test {
typedef int (*schema_create_func)(share::schema::ObTableSchema& table_schema);
public:
public:
TestInformationSchemaService();
virtual ~TestInformationSchemaService()
{}
@ -47,7 +47,7 @@ class TestInformationSchemaService : public ::testing::Test {
void fill_session();
protected:
protected:
// ObSchemaManager schema_manager_;
ObArenaAllocator allocator_;
sql::ObSQLSessionInfo session_info_;
@ -117,7 +117,7 @@ void TestInformationSchemaService::fill_table_schema(
}
class MockObSchemaGetterGuard : public ObSchemaGetterGuard {
public:
public:
int add_database_schema(ObDatabaseSchema* database_schema);
int add_table_schema(ObTableSchema* table_schema);
MOCK_METHOD2(get_database_schemas_in_tenant,
@ -128,7 +128,7 @@ class MockObSchemaGetterGuard : public ObSchemaGetterGuard {
int get_table_schemas_from_database(
const uint64_t tenant_id, const uint64_t database_id, ObIArray<const ObTableSchema*>& table_schemas);
private:
private:
ObSArray<const ObDatabaseSchema*> database_schemas_;
ObSArray<const ObTableSchema*> table_schemas_;
};