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

@ -18,17 +18,20 @@
using namespace oceanbase::common;
using namespace oceanbase::obmysql;
using namespace oceanbase::sql;
class ObExprCompareTest : public ::testing::Test {
class ObExprCompareTest
: public ::testing::Test
{
public:
ObExprCompareTest()
ObExprCompareTest()
{}
virtual void SetUp()
{}
virtual void TearDown()
{}
void time_test(int zs, const char* str, int64_t count, int64_t& total_my)
{
}
virtual void TearDown()
{
}
void time_test(int zs, const char *str, int64_t count, int64_t &total_my) {
ObObj obj1, obj2, result;
ObCastCtx ctx;
@ -50,7 +53,6 @@ public:
total_my += end_ts_my - start_ts_my;
LOG_INFO("total ", K(total_my));
}
protected:
};
@ -65,7 +67,7 @@ TEST_F(ObExprCompareTest, calc)
LOG_INFO("all total 1000000", K(total_my));
}
int main(int argc, char* argv[])
int main(int argc, char *argv[])
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();