[FEAT MERGE][CP] 425 sql exec + enum set type refactoring CP 435

Co-authored-by: hezuojiao <hezuojiao@gmail.com>
This commit is contained in:
hwx65
2024-11-18 02:44:35 +00:00
committed by ob-robot
parent e17fa92572
commit 92016c007e
107 changed files with 3140 additions and 743 deletions

View File

@ -0,0 +1,24 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "sql/executor/ob_memory_tracker_wrapper.h"
#include "sql/executor/ob_memory_tracker.h"
int check_mem_status()
{
return oceanbase::lib::ObMemTrackerGuard::check_status();
}
int try_check_mem_status(int64_t check_try_times)
{
return oceanbase::lib::ObMemTrackerGuard::try_check_status(check_try_times);
}