fix auto generate alias is too long

This commit is contained in:
hy-guo
2023-11-23 07:40:57 +00:00
committed by ob-robot
parent e0ed12fb6e
commit 8d166a7d96
3 changed files with 3 additions and 3 deletions

View File

@ -2065,7 +2065,7 @@ int ObDMLStmtPrinter::print_with()
|| TableItem::RECURSIVE_CTE == cte_table->cte_type_) {
if (OB_FAIL(print_cte_define_title(cte_table))) {
LOG_WARN("print column name failed", K(ret));
} else if (OB_FAIL(print_subquery(cte_table->ref_query_, PRINT_BRACKET | FORCE_COL_ALIAS))) {
} else if (OB_FAIL(print_subquery(cte_table->ref_query_, PRINT_BRACKET))) {
LOG_WARN("print table failed", K(ret));
} else if (OB_FAIL(print_search_and_cycle(cte_table->ref_query_))) {
LOG_WARN("print search and cycle failed", K(ret));