[FEAT MERGE] [PATCH] serverless_opt
This commit is contained in:
@ -86,7 +86,8 @@ void ObExprLeastTest::TearDown()
|
||||
EXPECT_TRUE(OB_SUCCESS == err); \
|
||||
obj.set_result_type(type); \
|
||||
err = obj.calc_resultN(r,objs, N, &buf); \
|
||||
_OB_LOG(INFO, "r=%s ref=%s", to_cstring(r), to_cstring(ref)); \
|
||||
ObCStringHelper helper; \
|
||||
_OB_LOG(INFO, "r=%s ref=%s", helper.convert(r), helper.convert(ref)); \
|
||||
EXPECT_TRUE(OB_SUCCESS == err); \
|
||||
EXPECT_TRUE(ref.get_type() == r.get_type()); \
|
||||
if (ref.get_type() != ObNullType){\
|
||||
@ -100,10 +101,11 @@ void ObExprLeastTest::TearDown()
|
||||
ObExprResType type; \
|
||||
ObExprTypeCtx ctx; \
|
||||
int err = obj.calc_result_typeN(type, types, N, ctx); \
|
||||
_OB_LOG(INFO, "err=%d type=%s", err, to_cstring(type)); \
|
||||
ObCStringHelper helper; \
|
||||
_OB_LOG(INFO, "err=%d type=%s", err, helper.convert(type)); \
|
||||
obj.set_result_type(type); \
|
||||
err = obj.calc_resultN(r, objs, N, &buf); \
|
||||
_OB_LOG(INFO, "r=%s ref=%s", to_cstring(r), to_cstring(ref)); \
|
||||
_OB_LOG(INFO, "r=%s ref=%s", helper.convert(r), helper.convert(ref)); \
|
||||
EXPECT_TRUE(OB_SUCCESS != err);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user