[scn] fix failure of mittest after refresh feature scn

This commit is contained in:
obdev
2022-11-28 01:46:42 +00:00
committed by ob-robot
parent 49a02f3304
commit 54b64a7263
1898 changed files with 255804 additions and 280809 deletions

View File

@ -546,8 +546,7 @@ int ObDMLStmtPrinter::print_fetch()
}
}
//fetch only/with ties
if (OB_SUCC(ret) &&
(NULL != stmt_->get_limit_expr() || NULL != stmt_->get_limit_percent_expr()) ) {
if (OB_SUCC(ret)) {
if (stmt_->is_fetch_with_ties()) {
DATA_PRINTF(" with ties");
} else {