patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -20,19 +20,23 @@
#include "share/schema/ob_multi_version_schema_service.h"
#include "share/schema/ob_schema_service_sql_impl.h"
namespace oceanbase {
namespace share {
namespace schema {
namespace oceanbase
{
namespace share
{
namespace schema
{
using namespace common;
class TestServerSchemaService : public ::testing::Test {
class TestServerSchemaService : public ::testing::Test
{
public:
virtual void SetUp();
virtual void TearDown()
{}
virtual void TearDown() {}
};
void TestServerSchemaService::SetUp()
{}
{
}
using ::testing::_;
using ::testing::Invoke;
@ -131,14 +135,14 @@ TEST_F(TestServerSchemaService, table_priv_equal_to)
ASSERT_TRUE(table_priv_equal_to(key1, key2));
}
} // end namespace schema
} // end namespace share
} // end namespace oceanbase
}//end namespace schema
}//end namespace share
}//end namespace oceanbase
int main(int argc, char** argv)
int main(int argc, char **argv)
{
oceanbase::common::ObLogger::get_logger().set_log_level("INFO");
OB_LOGGER.set_log_level("INFO");
::testing::InitGoogleTest(&argc, argv);
::testing::InitGoogleTest(&argc,argv);
return RUN_ALL_TESTS();
}