提交 41465805 编写于 作者: 1 1115839967 提交者: LINGuanRen

Add mulan(#665)

上级 6047bd0c
/** /**
* 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_
......
/** /**
* 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_
......
/** /**
* 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_
......
/**
* 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"
......
/** /**
* 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>
......
/* /**
* 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
......
/* /**
* 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_
......
/** /**
* 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_
......
/** /**
* 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_
......
// 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"
......
// 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_
......
/** /**
* 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_
......
// 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"
......
// 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_
......
// 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"
......
// 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"
......
// 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"
......
// 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
......
// 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_
......
// 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"
......
// 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_
......
// 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"
......
// 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_
......
// 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"
......
// 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"
......
// 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_
......
// 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
......
// 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_
......
/** /**
* 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"
......
/** /**
* 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"
......
// 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"
......
// /**
// 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_
......
// 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"
......
// 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_
......
// 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
......
// 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_
......
// 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"
......
// 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_
......
// 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
......
/* /**
* 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_
......
/** /**
* 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.
......
// 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
......
// 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_
......
// 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"
......
// 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_
......
/** /**
* 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_
......
// 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_
......
// 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>
......
// 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"
......
// 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"
......
// 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.
// //
......
// 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
......
// 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
......
/** /**
* 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>
......
/** /**
* 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.
先完成此消息的编辑!
想要评论请 注册