fix 3-stage agg wrong result && fix aggr ignore error code && fix int_cell_str sanity core
This commit is contained in:
2
deps/oblib/src/rpc/obmysql/ob_mysql_util.cpp
vendored
2
deps/oblib/src/rpc/obmysql/ob_mysql_util.cpp
vendored
@ -363,7 +363,7 @@ int ObMySQLUtil::int_cell_str(
|
||||
int64_t bytes_to_store_len = get_number_store_len(length);
|
||||
if (OB_UNLIKELY(pos + bytes_to_store_len + ffi.length() > len)) {
|
||||
ret = OB_SIZE_OVERFLOW;
|
||||
} else if (zero_cnt > 0 && OB_UNLIKELY(pos + bytes_to_store_len + zero_cnt > len)) {
|
||||
} else if (zero_cnt > 0 && OB_UNLIKELY(pos + bytes_to_store_len + zero_cnt + ffi.length() > len)) {
|
||||
ret = OB_SIZE_OVERFLOW;
|
||||
} else {
|
||||
MEMCPY(buf + pos + bytes_to_store_len, ffi.ptr(), ffi.length());
|
||||
|
||||
Reference in New Issue
Block a user