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

@ -20,10 +20,10 @@ namespace oceanbase {
namespace sql {
class ObSqlMemMgrProcessor : public ObSqlMemoryCallback {
private:
private:
using PredFunc = std::function<bool(int64_t)>;
public:
public:
ObSqlMemMgrProcessor(ObSqlWorkAreaProfile& profile)
: profile_(profile),
sql_mem_mgr_(nullptr),
@ -188,10 +188,10 @@ class ObSqlMemMgrProcessor : public ObSqlMemoryCallback {
profile_.set_number_pass(num_pass);
}
private:
private:
int try_upgrade_auto_mgr(ObIAllocator* allocator, int64_t mem_used);
private:
private:
static const int64_t MAX_SQL_MEM_SIZE = 2 * 1024 * 1024; // 2M
static const int64_t UPDATED_DELTA_SIZE = 1 * 1024 * 1024;
static const int64_t EXTEND_RATIO = 10;
@ -207,7 +207,7 @@ class ObSqlMemMgrProcessor : public ObSqlMemoryCallback {
};
class ObSqlWorkareaUtil {
public:
public:
static int get_workarea_size(const ObSqlWorkAreaType wa_type, const int64_t tenant_id, int64_t& value);
};