未验证 提交 f41ee5fb 编写于 作者: T tata24 提交者: GitHub

fixed bug of issue #606 (#609)

上级 c098de99
......@@ -77,7 +77,9 @@ int RowDesc::add_column(ObRawExpr* raw_expr)
}
}
if (OB_SUCC(ret) && !raw_expr->has_flag(IS_COLUMNLIZED)) {
raw_expr->add_flag(IS_COLUMNLIZED);
if(OB_FAIL(raw_expr->add_flag(IS_COLUMNLIZED))) {
SQL_CG_LOG(WARN, "failed to add flag IS_COLUMNLIZED", K(ret));
}
}
return ret;
}
......@@ -104,7 +106,9 @@ int RowDesc::replace_column(ObRawExpr* old_expr, ObRawExpr* new_expr)
exprs_.at(idx) = new_expr;
}
if (OB_SUCC(ret) && !new_expr->has_flag(IS_COLUMNLIZED)) {
new_expr->add_flag(IS_COLUMNLIZED);
if(OB_FAIL(new_expr->add_flag(IS_COLUMNLIZED))) {
SQL_CG_LOG(WARN, "failed to add flag IS_COLUMNLIZED", K(ret));
}
}
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册