[chore](gutil) remove some gutil macros and solve some macro conflict with brpc (#13954)

Co-authored-by: yiguolei <yiguolei@gmail.com>
This commit is contained in:
yiguolei
2022-11-07 13:39:52 +08:00
committed by GitHub
parent e8d2fb6778
commit 32fea672b0
19 changed files with 36 additions and 256 deletions

View File

@ -123,7 +123,7 @@ PCacheStatus ResultNode::update_sql_cache(const PUpdateCacheRequest* request,
PCacheStatus ResultNode::update_partition_cache(const PUpdateCacheRequest* request,
bool& is_update_firstkey) {
PartitionKey first_key = kint64max;
PartitionKey first_key = std::numeric_limits<long>::max();
if (_partition_list.size() == 0) {
is_update_firstkey = true;
} else {