提交 2da7b7f4 编写于 作者: S stdliu 提交者: LINGuanRen

Fix auto increment column is true resolve fail bug.

上级 a1f8d434
......@@ -2748,7 +2748,7 @@ int ObDMLResolver::resolve_is_expr(ObRawExpr*& expr)
if (OB_FAIL(flag_expr->formalize(session_info_))) {
LOG_WARN("formalize expr failed", K(ret));
}
} else if (column_item->is_auto_increment()) {
} else if (column_item->is_auto_increment() && T_NULL == is_expr->get_param_expr(1)->get_expr_type()) {
if (OB_FAIL(resolve_autoincrement_column_is_null(expr))) {
LOG_WARN("fail to process autoincrement column is null", K(ret));
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册