提交 3162f930 编写于 作者: H Haojun Liao

[td-13039] refactor scalar operator.

上级 d4fa5820
...@@ -510,7 +510,7 @@ EDealRes sclRewriteOperator(SNode** pNode, SScalarCtx *ctx) { ...@@ -510,7 +510,7 @@ EDealRes sclRewriteOperator(SNode** pNode, SScalarCtx *ctx) {
res->node.resType = node->node.resType; res->node.resType = node->node.resType;
int32_t type = output.columnData->info.type; int32_t type = output.columnData->info.type;
if (IS_VAR_DATA_TYPE(type)) { if (IS_VAR_DATA_TYPE(type)) { // todo refactor
res->datum.p = output.columnData->pData; res->datum.p = output.columnData->pData;
output.columnData->pData = NULL; output.columnData->pData = NULL;
} else { } else {
......
此差异已折叠。
...@@ -471,8 +471,6 @@ TEST(constantTest, int_not_equal_smallint2) { ...@@ -471,8 +471,6 @@ TEST(constantTest, int_not_equal_smallint2) {
nodesDestroyNode(res); nodesDestroyNode(res);
} }
TEST(constantTest, int_in_smallint1) { TEST(constantTest, int_in_smallint1) {
scltInitLogFile(); scltInitLogFile();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册