This commit is contained in:
chenhuiming
2022-07-15 08:00:00 +08:00
parent adc19fc564
commit 60c5786486
3 changed files with 4 additions and 4 deletions

View File

@ -453,7 +453,7 @@ int ObRawExprCanonicalizerImpl::push_not(ObRawExpr *&expr)
}
for (int64_t i = 0; OB_SUCC(ret) && i < expr->get_param_count(); ++i) {
if (OB_FAIL(SMART_CALL(push_not(expr->get_param_expr(i))))) {
LOG_WARN("fialed to push not expr", K(ret));
LOG_WARN("failed to push not expr", K(ret));
}
}
}

View File

@ -188,7 +188,7 @@ int ObRawExprCopier::add_expr(const ObRawExpr *from,
if (OB_SUCC(ret)) {
if (OB_FAIL(copied_exprs_.set_refactored(reinterpret_cast<uint64_t>(from),
reinterpret_cast<uint64_t>(to)))) {
LOG_WARN("faield to add copied expr into map", K(ret));
LOG_WARN("failed to add copied expr into map", K(ret));
} else if (OB_FAIL(new_exprs_.set_refactored(reinterpret_cast<uint64_t>(to)))) {
LOG_WARN("failed to add copied expr into set", K(ret));
}
@ -251,7 +251,7 @@ int ObRawExprCopier::do_copy_expr(const ObRawExpr *old_expr,
/**
* @brief ObRawExprCopier::copy_on_replace
* @param from_expr : the input expr to be replaced
* @param to_expr : the output expr generaetd by replacing the input expr
* @param to_expr : the output expr generated by replacing the input expr
* @param replacer : tells how to replace a expr node
* @return
*/

View File

@ -32,7 +32,7 @@ int ObRawExprWrapEnumSet::wrap_enum_set(ObDMLStmt &stmt)
int ret = OB_SUCCESS;
cur_stmt_ = &stmt;
if (stmt.is_select_stmt()) {
//handle the targest list of first level
//handle the target list of first level
ObSelectStmt &select_stmt = static_cast<ObSelectStmt &>(stmt);
if (OB_FAIL(wrap_target_list(select_stmt))) {
LOG_WARN("failed to wrap target list", K(ret));