[CP] [to #2024091200104458377]current of dblink table return -4007

This commit is contained in:
seuwebber 2024-11-21 18:45:37 +00:00 committed by ob-robot
parent d94c340bef
commit 1ce2614422

View File

@ -7424,6 +7424,12 @@ int ObDMLResolver::resolve_current_of(const ParseNode &node,
ColumnItem *col_item = NULL;
ObRawExpr *rowid_expr = NULL;
TableItem *item = stmt.get_table_item(0);
CK (OB_NOT_NULL(item));
if (OB_SUCC(ret) && item->is_link_table()) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("current of dblink table not support", K(ret));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "current of for dblink table");
}
OZ (resolve_rowid_expr(&stmt, *item, rowid_expr));
OZ (resolve_sql_expr(node, cursor_expr));
OZ (ObRawExprUtils::create_equal_expr(*params_.expr_factory_,