reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -18,7 +18,7 @@
namespace oceanbase {
namespace sql {
class ObOptimizerPartitionLocationCache : public share::ObIPartitionLocationCache {
public:
public:
static const int64_t LOCATION_CACHE_BUCKET_NUM = 32;
ObOptimizerPartitionLocationCache(common::ObIAllocator& allocator, share::ObIPartitionLocationCache* location_cache);
virtual ~ObOptimizerPartitionLocationCache();
@ -75,10 +75,10 @@ class ObOptimizerPartitionLocationCache : public share::ObIPartitionLocationCach
return location_cache_;
}
private:
private:
int insert_or_replace_optimizer_cache(share::ObLocationCacheKey& key, share::ObPartitionLocation* location);
private:
private:
typedef common::hash::ObHashMap<share::ObLocationCacheKey, share::ObPartitionLocation*,
common::hash::NoPthreadDefendMode>
PartitionLocationMap;
@ -86,7 +86,7 @@ class ObOptimizerPartitionLocationCache : public share::ObIPartitionLocationCach
share::ObIPartitionLocationCache* location_cache_;
PartitionLocationMap optimizer_cache_;
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObOptimizerPartitionLocationCache);
};