提交 c3d7ded2 编写于 作者: O obdev 提交者: OB-robot

[CP] fix const number of fast parse and normal parse is different bug

上级 0e28542b
......@@ -653,7 +653,8 @@ int ObSqlParameterization::transform_tree(TransformTreeCtx &ctx,
ctx.is_project_list_scope_ = true;
}
for (int32_t i = 0;
OB_SUCC(ret) && i < root->num_child_ && root->type_ != T_QUESTIONMARK && root->type_ != T_VARCHAR && root->type_ != T_CHAR;
OB_SUCC(ret) && i < root->num_child_ && root->type_ != T_QUESTIONMARK
&& root->type_ != T_VARCHAR && root->type_ != T_CHAR && root->type_ != T_NCHAR;
++i) {
//如果not_param本来就是true则不需要再判断;因为某结点判断为true,则该结点子树均为true;
if (OB_ISNULL(root->children_)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册