From 81b9d23020280d1d0d2fd6d181e989be0b1812b0 Mon Sep 17 00:00:00 2001 From: gentle_hu Date: Mon, 13 Jul 2020 22:03:23 +0800 Subject: [PATCH] add Mulan PSL v2 license for shutdown file --- .../optimizer/commands/shutdown.cpp | 19 ++++++++++++++---- src/include/commands/shutdown.h | 20 +++++++++++++++---- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/src/gausskernel/optimizer/commands/shutdown.cpp b/src/gausskernel/optimizer/commands/shutdown.cpp index 90272d454e..a139338be8 100644 --- a/src/gausskernel/optimizer/commands/shutdown.cpp +++ b/src/gausskernel/optimizer/commands/shutdown.cpp @@ -1,10 +1,21 @@ -/* ------------------------------------------------------------------------- +/* + * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * - * shutdown.cpp - * do shutdown command + * openGauss is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: * - * Copyright (c) 2020 Huawei Technologies Co.,Ltd. + * http://license.coscl.org.cn/MulanPSL2 * + * 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 PSL v2 for more details. + * --------------------------------------------------------------------------------------- + * + * shutdown.cpp + * do shutdown command + * * IDENTIFICATION * src/gausskernel/optimizer/commands/shutdown.cpp * diff --git a/src/include/commands/shutdown.h b/src/include/commands/shutdown.h index 0630e37930..882001c28a 100644 --- a/src/include/commands/shutdown.h +++ b/src/include/commands/shutdown.h @@ -1,11 +1,23 @@ -/* ------------------------------------------------------------------------- +/* + * Copyright (c) 2020 Huawei Technologies Co.,Ltd. + * + * openGauss is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * + * http://license.coscl.org.cn/MulanPSL2 + * + * 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 PSL v2 for more details. + * --------------------------------------------------------------------------------------- * * shutdown.h * prototypes for shutdown.cpp * - * Copyright (c) 2020 Huawei Technologies Co.,Ltd. - * - * src/include/commands/shutdown.h + * IDENTIFICATION + * src/include/commands/shutdown.h * * ------------------------------------------------------------------------- */ -- Gitee