fix some bugs on priviledges and variabls
This commit is contained in:
@ -2329,6 +2329,24 @@ int ObAggregateProcessor::rollup_aggregation(AggrCell &aggr_cell, AggrCell &roll
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "rollup contain agg udfs");
|
||||
break;
|
||||
}
|
||||
case T_FUN_SYS_BIT_AND: {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_WARN("rollup contain bit_and still not supported", K(ret));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "rollup contain bit_and");
|
||||
break;
|
||||
}
|
||||
case T_FUN_SYS_BIT_OR: {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_WARN("rollup contain bit_or still not supported", K(ret));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "rollup contain bit_or");
|
||||
break;
|
||||
}
|
||||
case T_FUN_SYS_BIT_XOR: {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_WARN("rollup contain bit_xor still not supported", K(ret));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "rollup contain bit_xor");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("unknown aggr function type", K(aggr_fun));
|
||||
|
||||
@ -61,11 +61,14 @@ int ObSelectIntoOp::inner_open()
|
||||
line_str_,
|
||||
need_check))) {
|
||||
LOG_WARN("get param value failed", K(ret));
|
||||
} else if (OB_FAIL(session->get_sql_select_limit(top_limit_cnt_))) {
|
||||
LOG_WARN("fail tp get sql select limit", K(ret));
|
||||
} else {
|
||||
// since we call get_next_row in inner_open, we have to set opened_ first in avoid to a infinite loop.
|
||||
opened_ = true;
|
||||
if (!lib::is_oracle_mode()) {
|
||||
if (OB_FAIL(session->get_sql_select_limit(top_limit_cnt_))) {
|
||||
LOG_WARN("fail tp get sql select limit", K(ret));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
|
||||
Reference in New Issue
Block a user