[Bug]: fixed typo ob_dml_stmt_printer.cpp roolback (#1222)

This commit is contained in:
Saumya
2022-12-07 13:53:43 +05:30
committed by ob-robot
parent 099a445e4c
commit 10f27c4662

View File

@ -82,7 +82,7 @@ int ObDMLStmtPrinter::print_hint()
if (OB_FAIL(query_hint.print_stmt_hint(plan_text, *stmt_))) {
LOG_WARN("failed to print stmt hint", K(ret));
} else if (plan_text.pos == *pos_) {
// no hint, roolback buffer!
// no hint, rollback buffer!
*pos_ -= strlen(hint_begin);
} else {
*pos_ = plan_text.pos;