diff --git a/src/sql/CMakeLists.txt b/src/sql/CMakeLists.txt index 1c462831a..6ce2a4d6f 100644 --- a/src/sql/CMakeLists.txt +++ b/src/sql/CMakeLists.txt @@ -857,7 +857,6 @@ ob_set_subtarget(ob_sql ALONE engine/expr/vector_cast/vector_cast_compile/vector_cast_part4.cpp engine/expr/vector_cast/vector_cast_compile/vector_cast_part5.cpp engine/expr/vector_cast/vector_cast_compile/vector_cast_part6.cpp - engine/expr/vector_cast/vector_cast_compile/vector_cast_part7.cpp engine/expr/vector_cast/vector_cast_compile/vector_cast_all.cpp engine/expr/vector_cast/vector_cast.cpp ) diff --git a/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_all.cpp b/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_all.cpp index ef8851cd9..30c0264c3 100644 --- a/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_all.cpp +++ b/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_all.cpp @@ -21,7 +21,6 @@ extern void __init_vec_cast_func3(); extern void __init_vec_cast_func4(); extern void __init_vec_cast_func5(); extern void __init_vec_cast_func6(); -extern void __init_vec_cast_func7(); int __init_all_vec_cast_funcs() { @@ -32,7 +31,6 @@ int __init_all_vec_cast_funcs() __init_vec_cast_func4(); __init_vec_cast_func5(); __init_vec_cast_func6(); - __init_vec_cast_func7(); return 0; } } // end sq diff --git a/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_common.h b/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_common.h index f1f0cc267..e74f2c770 100644 --- a/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_common.h +++ b/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_common.h @@ -17,7 +17,7 @@ namespace oceanbase namespace sql { -static const int COMPILATION_UNIT = 8; +static const int COMPILATION_UNIT = 7; #define DEF_COMPILATION_VARS(name, max_val, unit_idx) \ constexpr int name##_unit_size = \ diff --git a/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_part7.cpp b/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_part7.cpp deleted file mode 100644 index 7db09a609..000000000 --- a/src/sql/engine/expr/vector_cast/vector_cast_compile/vector_cast_part7.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/** - * 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 "vector_cast_common.h" - -namespace oceanbase -{ -namespace sql -{ -DEF_COMPILE_FUNC_INIT(7); -} // end sql -} // end oceanbase \ No newline at end of file