提交 d41e77d2 编写于 作者: O obdev 提交者: wangzelin.wzl

Fix a stmt print bug

上级 d112defa
......@@ -546,7 +546,8 @@ int ObDMLStmtPrinter::print_fetch()
}
}
//fetch only/with ties
if (OB_SUCC(ret)) {
if (OB_SUCC(ret) &&
(NULL != stmt_->get_limit_expr() || NULL != stmt_->get_limit_percent_expr()) ) {
if (stmt_->is_fetch_with_ties()) {
DATA_PRINTF(" with ties");
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册