Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Metz
oceanbase
提交
41465805
O
oceanbase
项目概览
Metz
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
41465805
编写于
12月 06, 2021
作者:
1
1115839967
提交者:
LINGuanRen
12月 06, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add mulan(#665)
上级
6047bd0c
变更
55
隐藏空白更改
内联
并排
Showing
55 changed file
with
595 addition
and
356 deletion
+595
-356
deps/oblib/src/lib/container/ob_mask_set2.h
deps/oblib/src/lib/container/ob_mask_set2.h
+10
-14
deps/oblib/src/lib/stat/ob_di_list.h
deps/oblib/src/lib/stat/ob_di_list.h
+10
-14
deps/oblib/src/lib/stat/ob_di_tls.h
deps/oblib/src/lib/stat/ob_di_tls.h
+10
-14
deps/oblib/unittest/lib/restore/test_storage_oss.cpp
deps/oblib/unittest/lib/restore/test_storage_oss.cpp
+12
-0
deps/oblib/unittest/rpc/mem_frag.c
deps/oblib/unittest/rpc/mem_frag.c
+10
-14
src/observer/mysql/obmp_stmt_send_long_data.cpp
src/observer/mysql/obmp_stmt_send_long_data.cpp
+10
-15
src/observer/mysql/obmp_stmt_send_long_data.h
src/observer/mysql/obmp_stmt_send_long_data.h
+10
-15
src/observer/virtual_table/ob_all_disk_stat.h
src/observer/virtual_table/ob_all_disk_stat.h
+10
-14
src/observer/virtual_table/ob_all_storage_stat.h
src/observer/virtual_table/ob_all_storage_stat.h
+10
-14
src/observer/virtual_table/ob_all_virtual_backup_clean_info.cpp
...server/virtual_table/ob_all_virtual_backup_clean_info.cpp
+11
-4
src/observer/virtual_table/ob_all_virtual_backup_clean_info.h
...observer/virtual_table/ob_all_virtual_backup_clean_info.h
+11
-4
src/observer/virtual_table/ob_information_kvcache_table.h
src/observer/virtual_table/ob_information_kvcache_table.h
+10
-14
src/observer/virtual_table/ob_tenant_show_restore_preview.cpp
...observer/virtual_table/ob_tenant_show_restore_preview.cpp
+11
-3
src/observer/virtual_table/ob_tenant_show_restore_preview.h
src/observer/virtual_table/ob_tenant_show_restore_preview.h
+11
-3
src/rootserver/backup/ob_backup_archive_log_scheduler.h
src/rootserver/backup/ob_backup_archive_log_scheduler.h
+12
-5
src/rootserver/backup/ob_backup_backupset_scheduler.cpp
src/rootserver/backup/ob_backup_backupset_scheduler.cpp
+11
-5
src/rootserver/backup/ob_backup_backupset_scheduler.h
src/rootserver/backup/ob_backup_backupset_scheduler.h
+11
-5
src/rootserver/backup/ob_cancel_backup_backup_scheduler.cpp
src/rootserver/backup/ob_cancel_backup_backup_scheduler.cpp
+11
-4
src/rootserver/backup/ob_cancel_backup_backup_scheduler.h
src/rootserver/backup/ob_cancel_backup_backup_scheduler.h
+11
-4
src/share/backup/ob_backup_archive_log_round_stat.cpp
src/share/backup/ob_backup_archive_log_round_stat.cpp
+11
-3
src/share/backup/ob_backup_archive_log_round_stat.h
src/share/backup/ob_backup_archive_log_round_stat.h
+11
-3
src/share/backup/ob_backup_backuppiece_operator.cpp
src/share/backup/ob_backup_backuppiece_operator.cpp
+11
-5
src/share/backup/ob_backup_backuppiece_operator.h
src/share/backup/ob_backup_backuppiece_operator.h
+11
-5
src/share/backup/ob_backup_backupset_operator.cpp
src/share/backup/ob_backup_backupset_operator.cpp
+11
-5
src/share/backup/ob_backup_meta_store.cpp
src/share/backup/ob_backup_meta_store.cpp
+11
-3
src/share/backup/ob_backup_meta_store.h
src/share/backup/ob_backup_meta_store.h
+11
-3
src/share/backup/ob_multi_backup_dest_util.cpp
src/share/backup/ob_multi_backup_dest_util.cpp
+11
-3
src/share/backup/ob_multi_backup_dest_util.h
src/share/backup/ob_multi_backup_dest_util.h
+11
-3
src/sql/engine/expr/ob_expr_cot.cpp
src/sql/engine/expr/ob_expr_cot.cpp
+10
-9
src/sql/engine/expr/ob_expr_cot.h
src/sql/engine/expr/ob_expr_cot.h
+10
-9
src/sql/engine/expr/ob_expr_degrees.cpp
src/sql/engine/expr/ob_expr_degrees.cpp
+12
-3
src/sql/engine/expr/ob_expr_degrees.h
src/sql/engine/expr/ob_expr_degrees.h
+11
-4
src/sql/engine/expr/ob_expr_makedate.cpp
src/sql/engine/expr/ob_expr_makedate.cpp
+11
-3
src/sql/engine/expr/ob_expr_makedate.h
src/sql/engine/expr/ob_expr_makedate.h
+11
-3
src/sql/engine/expr/ob_expr_pi.cpp
src/sql/engine/expr/ob_expr_pi.cpp
+12
-4
src/sql/engine/expr/ob_expr_pi.h
src/sql/engine/expr/ob_expr_pi.h
+12
-4
src/sql/engine/expr/ob_expr_time_format.cpp
src/sql/engine/expr/ob_expr_time_format.cpp
+11
-3
src/sql/engine/expr/ob_expr_time_format.h
src/sql/engine/expr/ob_expr_time_format.h
+11
-3
src/sql/engine/expr/ob_expr_weight_string.cpp
src/sql/engine/expr/ob_expr_weight_string.cpp
+12
-5
src/sql/engine/expr/ob_expr_weight_string.h
src/sql/engine/expr/ob_expr_weight_string.h
+11
-11
src/sql/ob_sql.cpp
src/sql/ob_sql.cpp
+1
-1
src/sql/session/ob_user_resource_mgr.cpp
src/sql/session/ob_user_resource_mgr.cpp
+11
-3
src/sql/session/ob_user_resource_mgr.h
src/sql/session/ob_user_resource_mgr.h
+12
-3
src/storage/ob_partition_base_data_backup_backupset.cpp
src/storage/ob_partition_base_data_backup_backupset.cpp
+11
-5
src/storage/ob_partition_base_data_backup_backupset.h
src/storage/ob_partition_base_data_backup_backupset.h
+11
-5
src/storage/transaction/ob_mask_set.h
src/storage/transaction/ob_mask_set.h
+10
-14
unittest/clog/clog_mock_utils.h
unittest/clog/clog_mock_utils.h
+12
-6
unittest/clog/test_log_callback_engine.cpp
unittest/clog/test_log_callback_engine.cpp
+13
-7
unittest/clog/test_log_reconfirm.cpp
unittest/clog/test_log_reconfirm.cpp
+12
-6
unittest/clog/test_ob_log_partition_meta_reader.cpp
unittest/clog/test_ob_log_partition_meta_reader.cpp
+13
-6
unittest/clog/test_ob_log_writer.cpp
unittest/clog/test_ob_log_writer.cpp
+12
-5
unittest/share/backup/test_log_archive_backup_info_mgr.cpp
unittest/share/backup/test_log_archive_backup_info_mgr.cpp
+11
-4
unittest/share/backup/test_multi_backup_dest_util.cpp
unittest/share/backup/test_multi_backup_dest_util.cpp
+11
-4
unittest/share/test_di_perf.cpp
unittest/share/test_di_perf.cpp
+10
-14
unittest/sql/plan_cache/test_sql.h
unittest/sql/plan_cache/test_sql.h
+10
-14
未找到文件。
deps/oblib/src/lib/container/ob_mask_set2.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OCEANBASE_COMMON_OB_MASK_SET2_
#ifndef OCEANBASE_COMMON_OB_MASK_SET2_
...
...
deps/oblib/src/lib/stat/ob_di_list.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OB_DI_LIST_H_
#ifndef OB_DI_LIST_H_
...
...
deps/oblib/src/lib/stat/ob_di_tls.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OB_DI_TLS_H_
#ifndef OB_DI_TLS_H_
...
...
deps/oblib/unittest/lib/restore/test_storage_oss.cpp
浏览文件 @
41465805
/**
* 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 <gtest/gtest.h>
#include <gtest/gtest.h>
#include "lib/utility/ob_test_util.h"
#include "lib/utility/ob_test_util.h"
#include "lib/restore/ob_storage.h"
#include "lib/restore/ob_storage.h"
...
...
deps/oblib/unittest/rpc/mem_frag.c
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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 <linux/kernel.h>
#include <linux/kernel.h>
...
...
src/observer/mysql/obmp_stmt_send_long_data.cpp
浏览文件 @
41465805
/*
/**
* Copyright (c) 2021 Ant Group CO., Ltd.
* Copyright (c) 2021 OceanBase
* OceanBase is licensed under Mulan PubL v1.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v1.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v1 at:
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-1.0
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* 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,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v1 for more details.
* See the Mulan PubL v2 for more details.
*
* Version: $Id: obmp_stmt_send_long_data.cpp 01/03/2021 13:22:22 PM
*
* Authors:
* hualong <adou.ly@alibaba-inc.com>
*/
*/
#define USING_LOG_PREFIX SERVER
#define USING_LOG_PREFIX SERVER
...
...
src/observer/mysql/obmp_stmt_send_long_data.h
浏览文件 @
41465805
/*
/**
* Copyright (c) 2021 Ant Group CO., Ltd.
* Copyright (c) 2021 OceanBase
* OceanBase is licensed under Mulan PubL v1.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v1.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v1 at:
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-1.0
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* 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,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v1 for more details.
* See the Mulan PubL v2 for more details.
*
* Version: $Id: obmp_stmt_send_long_data.h 19/08/2021 13:22:22 PM
*
* Authors:
* hualong <adou.ly@alibaba-inc.com>
*/
*/
#ifndef OCEANBASE_OBSERVER_MYSQL_OBMP_STMT_SEND_LONG_DATA_H_
#ifndef OCEANBASE_OBSERVER_MYSQL_OBMP_STMT_SEND_LONG_DATA_H_
...
...
src/observer/virtual_table/ob_all_disk_stat.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_DISK_STAT_TABLE_
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_DISK_STAT_TABLE_
...
...
src/observer/virtual_table/ob_all_storage_stat.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_STORAGE_STAT_TABLE_
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_STORAGE_STAT_TABLE_
...
...
src/observer/virtual_table/ob_all_virtual_backup_clean_info.cpp
浏览文件 @
41465805
// Copyright 2010-2020 Oceanbase Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// muwei.ym@antgroup.com
* 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 "observer/virtual_table/ob_all_virtual_backup_clean_info.h"
#include "observer/virtual_table/ob_all_virtual_backup_clean_info.h"
#include "observer/ob_server.h"
#include "observer/ob_server.h"
...
...
src/observer/virtual_table/ob_all_virtual_backup_clean_info.h
浏览文件 @
41465805
// Copyright 2010-2020 Oceanbase Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// muwei.ym@antgroup.com
* 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.
*/
#ifndef SRC_OBSERVER_VIRTUAL_TABLE_OB_ALL_VIRTUAL_BACKUP_CLEAN_INFO_H_
#ifndef SRC_OBSERVER_VIRTUAL_TABLE_OB_ALL_VIRTUAL_BACKUP_CLEAN_INFO_H_
#define SRC_OBSERVER_VIRTUAL_TABLE_OB_ALL_VIRTUAL_BACKUP_CLEAN_INFO_H_
#define SRC_OBSERVER_VIRTUAL_TABLE_OB_ALL_VIRTUAL_BACKUP_CLEAN_INFO_H_
...
...
src/observer/virtual_table/ob_information_kvcache_table.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_INFORMATION_KVCACHE_TABLE_
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_INFORMATION_KVCACHE_TABLE_
...
...
src/observer/virtual_table/ob_tenant_show_restore_preview.cpp
浏览文件 @
41465805
// Copyright 2021 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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 "observer/virtual_table/ob_tenant_show_restore_preview.h"
#include "observer/virtual_table/ob_tenant_show_restore_preview.h"
#include "share/backup/ob_multi_backup_dest_util.h"
#include "share/backup/ob_multi_backup_dest_util.h"
...
...
src/observer/virtual_table/ob_tenant_show_restore_preview.h
浏览文件 @
41465805
// Copyright 2021 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_TENANT_SHOW_RESTORE_PREVIEW_H_
#ifndef OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_TENANT_SHOW_RESTORE_PREVIEW_H_
#define OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_TENANT_SHOW_RESTORE_PREVIEW_H_
#define OCEANBASE_OBSERVER_VIRTUAL_TABLE_OB_TENANT_SHOW_RESTORE_PREVIEW_H_
...
...
src/rootserver/backup/ob_backup_archive_log_scheduler.h
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#ifndef OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_SCHEDULER_H_
#ifndef OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_SCHEDULER_H_
#define OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_SCHEDULER_H_
#define OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_SCHEDULER_H_
#include "rootserver/ob_thread_idling.h"
#include "rootserver/ob_thread_idling.h"
...
...
src/rootserver/backup/ob_backup_backupset_scheduler.cpp
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com
* 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.
*/
#define USING_LOG_PREFIX RS
#define USING_LOG_PREFIX RS
#include "rootserver/backup/ob_backup_backupset_scheduler.h"
#include "rootserver/backup/ob_backup_backupset_scheduler.h"
...
...
src/rootserver/backup/ob_backup_backupset_scheduler.h
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com
* 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 "rootserver/backup/ob_backup_backupset.h"
#include "rootserver/backup/ob_backup_backupset.h"
...
...
src/rootserver/backup/ob_cancel_backup_backup_scheduler.cpp
浏览文件 @
41465805
// Copyright (c) 2021 OceanBase Inc. All Rights Reserved.
/**
//
* Copyright (c) 2021 OceanBase
// Author:
* OceanBase CE is licensed under Mulan PubL v2.
// yangyi.yyy <yangyi.yyy@antgroup.com>
* 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.
*/
#define USING_LOG_PREFIX RS
#define USING_LOG_PREFIX RS
...
...
src/rootserver/backup/ob_cancel_backup_backup_scheduler.h
浏览文件 @
41465805
// Copyright (c) 2021 OceanBase Inc. All Rights Reserved.
/**
//
* Copyright (c) 2021 OceanBase
// Author:
* OceanBase CE is licensed under Mulan PubL v2.
// yangyi.yyy <yangyi.yyy@antgroup.com>
* 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.
*/
#ifndef OCEANBASE_ROOTSERVER_BACKUP_OB_BACKUP_CANCEL_BACKUP_BACKUP_SCHEDULER_H_
#ifndef OCEANBASE_ROOTSERVER_BACKUP_OB_BACKUP_CANCEL_BACKUP_BACKUP_SCHEDULER_H_
#define OCEANBASE_ROOTSERVER_BACKUP_OB_BACKUP_CANCEL_BACKUP_BACKUP_SCHEDULER_H_
#define OCEANBASE_ROOTSERVER_BACKUP_OB_BACKUP_CANCEL_BACKUP_BACKUP_SCHEDULER_H_
...
...
src/share/backup/ob_backup_archive_log_round_stat.cpp
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
#include "share/backup/ob_backup_archive_log_round_stat.h"
#include "share/backup/ob_backup_archive_log_round_stat.h"
...
...
src/share/backup/ob_backup_archive_log_round_stat.h
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#ifndef OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_ROUND_STAT_H_
#ifndef OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_ROUND_STAT_H_
#define OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_ROUND_STAT_H_
#define OCEANBASE_ROOTSERVER_OB_BACKUP_ARCHIVE_LOG_ROUND_STAT_H_
...
...
src/share/backup/ob_backup_backuppiece_operator.cpp
浏览文件 @
41465805
// Copyright 2021 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
#include "share/backup/ob_backup_backuppiece_operator.h"
#include "share/backup/ob_backup_backuppiece_operator.h"
...
...
src/share/backup/ob_backup_backuppiece_operator.h
浏览文件 @
41465805
// Copyright 2021 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#ifndef OCEANBASE_SHARE_BACKUP_OB_BACKUP_BACKUPPIECE_OPERATOR_H_
#ifndef OCEANBASE_SHARE_BACKUP_OB_BACKUP_BACKUPPIECE_OPERATOR_H_
#define OCEANBASE_SHARE_BACKUP_OB_BACKUP_BACKUPPIECE_OPERATOR_H_
#define OCEANBASE_SHARE_BACKUP_OB_BACKUP_BACKUPPIECE_OPERATOR_H_
...
...
src/share/backup/ob_backup_backupset_operator.cpp
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
#include "share/backup/ob_backup_backupset_operator.h"
#include "share/backup/ob_backup_backupset_operator.h"
...
...
src/share/backup/ob_backup_meta_store.cpp
浏览文件 @
41465805
// Copyright 2020 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@antgroup.com>
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
#include "share/backup/ob_backup_meta_store.h"
#include "share/backup/ob_backup_meta_store.h"
...
...
src/share/backup/ob_backup_meta_store.h
浏览文件 @
41465805
// Copyright 2020 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@antgroup.com>
* 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.
*/
#ifndef OCEANBASE_SHARE_BACKUP_OB_BACKUP_META_STORE_H_
#ifndef OCEANBASE_SHARE_BACKUP_OB_BACKUP_META_STORE_H_
#define OCEANBASE_SHARE_BACKUP_OB_BACKUP_META_STORE_H_
#define OCEANBASE_SHARE_BACKUP_OB_BACKUP_META_STORE_H_
...
...
src/share/backup/ob_multi_backup_dest_util.cpp
浏览文件 @
41465805
// Copyright 2021 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
...
...
src/share/backup/ob_multi_backup_dest_util.h
浏览文件 @
41465805
// Copyright 2021 OceanBase Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#ifndef OCEANBASE_SHARE_BACKUP_OB_MULTI_BACKUP_DEST_UTIL_H_
#ifndef OCEANBASE_SHARE_BACKUP_OB_MULTI_BACKUP_DEST_UTIL_H_
#define OCEANBASE_SHARE_BACKUP_OB_MULTI_BACKUP_DEST_UTIL_H_
#define OCEANBASE_SHARE_BACKUP_OB_MULTI_BACKUP_DEST_UTIL_H_
...
...
src/sql/engine/expr/ob_expr_cot.cpp
浏览文件 @
41465805
/**
/**
* Copyright
2014-2016 Alibaba Inc. All Rights Reserved.
* Copyright
(c) 2021 OceanBase
*
*
OceanBase CE is licensed under Mulan PubL v2.
*
This program is free software; you can redistribute it and/or
*
You can use this software according to the terms and conditions of the Mulan PubL v2.
*
modify it under the terms of the GNU General Public License
*
You may obtain a copy of Mulan PubL v2 at:
*
version 2 as published by the Free Software Foundation.
*
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,
*
Authors:
*
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*
zimiao<kaizhan.dkz@antgroup.com>
*
See the Mulan PubL v2 for more details.
*/
*/
#define USING_LOG_PREFIX SQL_ENG
#define USING_LOG_PREFIX SQL_ENG
#include "sql/parser/ob_item_type.h"
#include "sql/parser/ob_item_type.h"
#include "lib/oblog/ob_log.h"
#include "lib/oblog/ob_log.h"
...
...
src/sql/engine/expr/ob_expr_cot.h
浏览文件 @
41465805
/**
/**
* Copyright
2014-2016 Alibaba Inc. All Rights Reserved.
* Copyright
(c) 2021 OceanBase
*
*
OceanBase CE is licensed under Mulan PubL v2.
*
This program is free software; you can redistribute it and/or
*
You can use this software according to the terms and conditions of the Mulan PubL v2.
*
modify it under the terms of the GNU General Public License
*
You may obtain a copy of Mulan PubL v2 at:
*
version 2 as published by the Free Software Foundation.
*
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,
*
Authors:
*
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*
zimiao<kaizhan.dkz@antgroup.com>
*
See the Mulan PubL v2 for more details.
*/
*/
#ifndef OCEANBASE_SQL_ENGINE_EXPR_COT_
#ifndef OCEANBASE_SQL_ENGINE_EXPR_COT_
#define OCEANBASE_SQL_ENGINE_EXPR_COT_
#define OCEANBASE_SQL_ENGINE_EXPR_COT_
#include "sql/engine/expr/ob_expr_operator.h"
#include "sql/engine/expr/ob_expr_operator.h"
...
...
src/sql/engine/expr/ob_expr_degrees.cpp
浏览文件 @
41465805
// Copyright (c) 2014-2021 Alibaba Inc. All Right Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// liuqifan.lqf@antgroup.com
* 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.
*/
#define USING_LOG_PREFIX SQL_ENG
#define USING_LOG_PREFIX SQL_ENG
#include "sql/engine/expr/ob_expr_degrees.h"
#include "sql/engine/expr/ob_expr_degrees.h"
#include "lib/number/ob_number_v2.h"
#include "lib/number/ob_number_v2.h"
...
...
src/sql/engine/expr/ob_expr_degrees.h
浏览文件 @
41465805
//
/**
// Author:
* Copyright (c) 2021 OceanBase
// liuqifan.lqf@antgroup.com
* 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.
*/
#ifndef OCEANBASE_SQL_ENGINE_EXPR_DEGREES_
#ifndef OCEANBASE_SQL_ENGINE_EXPR_DEGREES_
#define OCEANBASE_SQL_ENGINE_EXPR_DEGREES_
#define OCEANBASE_SQL_ENGINE_EXPR_DEGREES_
...
...
src/sql/engine/expr/ob_expr_makedate.cpp
浏览文件 @
41465805
// Copyright 2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// shanting <dachuan.sdc@antgroup.com>
* 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.
*/
#define USING_LOG_PREFIX SQL_ENG
#define USING_LOG_PREFIX SQL_ENG
#include "lib/ob_name_def.h"
#include "lib/ob_name_def.h"
...
...
src/sql/engine/expr/ob_expr_makedate.h
浏览文件 @
41465805
// Copyright 2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// shanting <dachuan.sdc@antgroup.com>
* 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.
*/
#ifndef OB_SQL_ENGINE_EXPR_MAKEDATE_
#ifndef OB_SQL_ENGINE_EXPR_MAKEDATE_
...
...
src/sql/engine/expr/ob_expr_pi.cpp
浏览文件 @
41465805
// Copyright 1999-2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// xiaofeng.lby@alipay.com
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* 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.
*/
//
//
// This file is for implementation of func pi
// This file is for implementation of func pi
...
...
src/sql/engine/expr/ob_expr_pi.h
浏览文件 @
41465805
// Copyright 1999-2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// xiaofeng.lby@alipay.com
* 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.
*/
// This file is for implementation of func pi
// This file is for implementation of func pi
#ifndef OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_PI_
#ifndef OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_PI_
...
...
src/sql/engine/expr/ob_expr_time_format.cpp
浏览文件 @
41465805
// Copyright 2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// shanting <dachuan.sdc@antgroup.com>
* 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.
*/
#define USING_LOG_PREFIX SQL_ENG
#define USING_LOG_PREFIX SQL_ENG
#include "lib/ob_name_def.h"
#include "lib/ob_name_def.h"
...
...
src/sql/engine/expr/ob_expr_time_format.h
浏览文件 @
41465805
// Copyright 2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// shanting <dachuan.sdc@antgroup.com>
* 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.
*/
#ifndef OCEANBASE_SQL_OB_EXPR_TIME_FORMAT_H_
#ifndef OCEANBASE_SQL_OB_EXPR_TIME_FORMAT_H_
...
...
src/sql/engine/expr/ob_expr_weight_string.cpp
浏览文件 @
41465805
// Copyright (c) 2015-2016 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// jiajingzhe.jjz@alibaba-inc.com
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* 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.
*/
#define USING_LOG_PREFIX SQL_ENG
#define USING_LOG_PREFIX SQL_ENG
#define OB_MAX_WEIGHT OB_MAX_VARCHAR_LENGTH
#define OB_MAX_WEIGHT OB_MAX_VARCHAR_LENGTH
...
...
src/sql/engine/expr/ob_expr_weight_string.h
浏览文件 @
41465805
/*
/*
*
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase
is licensed under Mulan PubL v2.
* 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 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:
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* 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,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
* See the Mulan PubL v2 for more details.
*/
*/
#ifndef OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_WEGHT_STRING_H_
#ifndef OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_WEGHT_STRING_H_
#define OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_WEGHT_STRING_H_
#define OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_WEGHT_STRING_H_
...
...
src/sql/ob_sql.cpp
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* 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 can use this software according to the terms and conditions of the Mulan PubL v2.
...
...
src/sql/session/ob_user_resource_mgr.cpp
浏览文件 @
41465805
// Copyright 2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// shanting <dachuan.sdc@antgroup.com>
* 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.
*/
#define USING_LOG_PREFIX SQL_SESSION
#define USING_LOG_PREFIX SQL_SESSION
...
...
src/sql/session/ob_user_resource_mgr.h
浏览文件 @
41465805
// Copyright 2021 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// shanting <dachuan.sdc@antgroup.com>
* 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.
*/
#ifndef OCEANBASE_SQL_USER_RESOURCE_MGR_H_
#ifndef OCEANBASE_SQL_USER_RESOURCE_MGR_H_
#define OCEANBASE_SQL_USER_RESOURCE_MGR_H_
#define OCEANBASE_SQL_USER_RESOURCE_MGR_H_
...
...
src/storage/ob_partition_base_data_backup_backupset.cpp
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#define USING_LOG_PREFIX STORAGE
#define USING_LOG_PREFIX STORAGE
#include "storage/ob_partition_base_data_backup_backupset.h"
#include "storage/ob_partition_base_data_backup_backupset.h"
...
...
src/storage/ob_partition_base_data_backup_backupset.h
浏览文件 @
41465805
// Copyright 2020 Alibaba Inc. All Rights Reserved
/**
// Author:
* Copyright (c) 2021 OceanBase
// yanfeng <yangyi.yyy@alibaba-inc.com>
* OceanBase CE is licensed under Mulan PubL v2.
// Normalizer:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// yanfeng <yangyi.yyy@alibaba-inc.com>
* 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.
*/
#ifndef OCEANBASE_STORAGE_OB_PARTITION_BASE_DATA_BACKUP_BACKUPSET_H_
#ifndef OCEANBASE_STORAGE_OB_PARTITION_BASE_DATA_BACKUP_BACKUPSET_H_
#define OCEANBASE_STORAGE_OB_PARTITION_BASE_DATA_BACKUP_BACKUPSET_H_
#define OCEANBASE_STORAGE_OB_PARTITION_BASE_DATA_BACKUP_BACKUPSET_H_
...
...
src/storage/transaction/ob_mask_set.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OCEANBASE_COMMON_OB_MASK_SET_
#ifndef OCEANBASE_COMMON_OB_MASK_SET_
...
...
unittest/clog/clog_mock_utils.h
浏览文件 @
41465805
// Copyright 2014 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// zhangshuai.zs@alibaba-inc.com
* OceanBase CE is licensed under Mulan PubL v2.
//
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// This file is for...
* 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.
*/
#ifndef OCEANBASE_UNITTEST_MOCK_LOG_UTILS_H_
#ifndef OCEANBASE_UNITTEST_MOCK_LOG_UTILS_H_
#define OCEANBASE_UNITTEST_MOCK_LOG_UTILS_H_
#define OCEANBASE_UNITTEST_MOCK_LOG_UTILS_H_
...
...
unittest/clog/test_log_callback_engine.cpp
浏览文件 @
41465805
// Copyright 2014 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// zhenzhong.jzz@alibaba-inc.com
* OceanBase CE is licensed under Mulan PubL v2.
// Owner:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// zhenzhong.jzz@alibaba-inc.com
* You may obtain a copy of Mulan PubL v2 at:
//
* http://license.coscl.org.cn/MulanPubL-2.0
//This file is for the unit test of log_callback_engine and the related
* 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.
*/
//This file is for the unit test of log_callback_engine and the related
//threadpool and handler.
//threadpool and handler.
#include <gtest/gtest.h>
#include <gtest/gtest.h>
...
...
unittest/clog/test_log_reconfirm.cpp
浏览文件 @
41465805
// Copyright 2014 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// zhenzhong.jzz@alibaba-inc.com
* OceanBase CE is licensed under Mulan PubL v2.
// Owner:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// zhenzhong.jzz@alibaba-inc.com
* 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.
*/
// This file is for unit test of ObLogReconfirm
// This file is for unit test of ObLogReconfirm
#include "clog/ob_log_reconfirm.h"
#include "clog/ob_log_reconfirm.h"
...
...
unittest/clog/test_ob_log_partition_meta_reader.cpp
浏览文件 @
41465805
// Copyright 2014 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// qiaoli.xql@alibaba-inc.com
* OceanBase CE is licensed under Mulan PubL v2.
// Owner:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// lujun.wlj@alibaba-inc.com
* 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.
*/
//
//
// This file tests ObLogPartitionMetaReader.
// This file tests ObLogPartitionMetaReader.
//
//
//l1: Write the correct trailer information and read the correct PartitionMeta information
//l1: Write the correct trailer information and read the correct PartitionMeta information
//l2: Write the correct trailer information and read the incorrect PartitionMeta information
//l2: Write the correct trailer information and read the incorrect PartitionMeta information
//l3: Write the correct trailer information and can not read PartitionMeta information
//l3: Write the correct trailer information and can not read PartitionMeta information
//14: not write trailer
//14: not write trailer
//
//
#include "clog/ob_log_partition_meta_reader.h"
#include "clog/ob_log_partition_meta_reader.h"
...
...
unittest/clog/test_ob_log_writer.cpp
浏览文件 @
41465805
// Copyright 2014 Alibaba Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// qiaoli.xql@alibaba-inc.com
* OceanBase CE is licensed under Mulan PubL v2.
// Owner:
* You can use this software according to the terms and conditions of the Mulan PubL v2.
// lujun.wlj@alibaba-inc.com
* 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.
*/
//
//
// This file tests ObLogWriter.
// This file tests ObLogWriter.
//
//
...
...
unittest/share/backup/test_log_archive_backup_info_mgr.cpp
浏览文件 @
41465805
// Copyright 2010-2021 OceanBase Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// yongle.xh@antfin.com
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
...
...
unittest/share/backup/test_multi_backup_dest_util.cpp
浏览文件 @
41465805
// Copyright 2010-2021 OceanBase Inc. All Rights Reserved.
/**
// Author:
* Copyright (c) 2021 OceanBase
// yangyi.yyy@antfin.com
* 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.
*/
#define USING_LOG_PREFIX SHARE
#define USING_LOG_PREFIX SHARE
...
...
unittest/share/test_di_perf.cpp
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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 <gtest/gtest.h>
#include <gtest/gtest.h>
...
...
unittest/sql/plan_cache/test_sql.h
浏览文件 @
41465805
/**
/**
* Copyright (c) 2021 OceanBase
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* 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,
* http://license.coscl.org.cn/MulanPubL-2.0
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* KIND,
* See the Mulan PubL v2 for more details.
* 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.
*/
*/
#ifndef OCEANBASE_TEST_SQL_H_
#ifndef OCEANBASE_TEST_SQL_H_
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录