Fix dblink bugs

This commit is contained in:
xianyu-w
2023-04-14 04:11:51 +00:00
committed by ob-robot
parent 941a6da494
commit 76e6f675b5
14 changed files with 52 additions and 52 deletions

View File

@ -66,8 +66,7 @@ int ObInsertStmtPrinter::print_basic_stmt()
if (OB_ISNULL(stmt_)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("stmt_ should not be NULL", K(ret));
} else if ((print_params_.force_print_cte_ || print_params_.print_with_cte_) &&
OB_FAIL(print_cte_define())) {
} else if (OB_FAIL(print_temp_table_as_cte())) {
LOG_WARN("failed to print cte", K(ret));
} else if (OB_FAIL(print_insert())) {
LOG_WARN("fail to print select", K(ret), K(*stmt_));