[FEAT MERGE] [PATCH] serverless_opt

This commit is contained in:
obdev
2024-11-23 18:14:56 +00:00
committed by ob-robot
parent 2f11aaf7c8
commit c141972115
387 changed files with 4443 additions and 2193 deletions

View File

@ -61,7 +61,8 @@ void ObExprConcatTest::TearDown()
ref.set_##ref_type(); \
ObExprCtx expr_ctx(NULL, NULL, NULL, str_buf);\
int err = str_op_object.func(r, array, 2, expr_ctx); \
_OB_LOG(INFO, "respect=%s result=%s", to_cstring(ref), to_cstring(r)); \
ObCStringHelper helper; \
_OB_LOG(INFO, "respect=%s result=%s", helper.convert(ref), helper.convert(r)); \
EXPECT_TRUE(OB_SUCCESS == err); \
EXPECT_TRUE(ref.get_type() == r.get_type()); \
EXPECT_TRUE(ref.get_type() == ObNullType); \
@ -90,7 +91,8 @@ void ObExprConcatTest::TearDown()
ref.set_##ref_type(ref_value); \
ObExprCtx expr_ctx(NULL, NULL, NULL, str_buf); \
int err = str_op_object.func(r, array, 2, expr_ctx); \
_OB_LOG(INFO, "ref=%s r=%s", to_cstring(ref), to_cstring(r)); \
ObCStringHelper helper; \
_OB_LOG(INFO, "ref=%s r=%s", helper.convert(ref), helper.convert(r)); \
EXPECT_TRUE(OB_SUCCESS == err); \
EXPECT_TRUE(ref.get_type() == r.get_type()); \
if (ref.get_type() != ObNullType) \