remove unused code

This commit is contained in:
nroskill
2023-05-22 03:41:34 +00:00
committed by ob-robot
parent f8699503fa
commit b6cb96f6ce
123 changed files with 28 additions and 21432 deletions

View File

@ -19,7 +19,6 @@
#include "share/scheduler/ob_worker_obj_pool.h"
#include "lib/atomic/ob_atomic.h"
#include "observer/omt/ob_tenant_node_balancer.h"
#include "share/scheduler/ob_dag_type.h"
int64_t dag_cnt = 1;
int64_t stress_time= 5; // 500ms

View File

@ -445,7 +445,7 @@ private:
ObSchema &tmp_schema = const_cast<ObSchema &>(schema);
ObSchemaCacheValue tmp_cache_value(schema_type, &tmp_schema);
int64_t deep_copy_size = tmp_cache_value.size();
char *tmp_ptr = (char *)ob_malloc(deep_copy_size, ObModIds::OB_SCHEMA_CACHE_SYS_CACHE_VALUE);
char *tmp_ptr = (char *)ob_malloc(deep_copy_size, "ScheCacSysCacVa");
ObIKVCacheValue *kv_cache_value = NULL;
if (NULL == tmp_ptr) {
ret = OB_ALLOCATE_MEMORY_FAILED;

View File

@ -12,7 +12,6 @@
#define USING_LOG_PREFIX SHARE
#include "lib/stat/ob_session_stat.h"
#include "share/ob_cluster_info_proxy.h"
#include <gtest/gtest.h>
#include "schema/db_initializer.h"