fix mysql calc found rows bug, adjust semi condition check

This commit is contained in:
zs0
2022-03-16 20:17:12 +08:00
committed by LINxiansheng
parent 8d81ad6ed1
commit 996696c528
11 changed files with 90 additions and 141 deletions

View File

@ -359,7 +359,7 @@ int ObSelectLogPlan::candi_allocate_distinct()
} else if (OB_ISNULL(limit_expr)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("limit_expr is null", K(ret));
} else if (OB_FAIL(candi_allocate_limit(limit_expr, NULL, NULL, dummy_order_items, false, false, false, false))) {
} else if (OB_FAIL(candi_allocate_limit(limit_expr, NULL, NULL, dummy_order_items, false, false, false))) {
LOG_WARN("failed to allocate limit operator", K(ret));
} else { /*do nothing*/
}