Fix dblink bugs
This commit is contained in:
@ -45,8 +45,6 @@ int ObMergeStmtPrinter::print()
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("stmt_ is NULL or buf_ is NULL or pos_ is NULL", K(ret),
|
||||
K(stmt_), K(buf_), K(pos_));
|
||||
} else if (print_params_.print_with_cte_ && OB_FAIL(print_cte_define())) {
|
||||
LOG_WARN("failed to print cte", K(ret));
|
||||
} else {
|
||||
const ObMergeStmt *merge_stmt = static_cast<const ObMergeStmt *>(stmt_);
|
||||
const TableItem *target_table = NULL;
|
||||
@ -60,8 +58,7 @@ int ObMergeStmtPrinter::print()
|
||||
LOG_WARN("target table or source table is null",
|
||||
K(ret), K(target_table), K(source_table));
|
||||
}
|
||||
if (OB_SUCC(ret) && (print_params_.force_print_cte_ || print_params_.print_with_cte_) &&
|
||||
OB_FAIL(print_cte_define())) {
|
||||
if (OB_SUCC(ret) && OB_FAIL(print_temp_table_as_cte())) {
|
||||
LOG_WARN("failed to print cte", K(ret));
|
||||
}
|
||||
DATA_PRINTF("merge ");
|
||||
|
||||
Reference in New Issue
Block a user