diff --git a/src/gausskernel/optimizer/commands/shutdown.cpp b/src/gausskernel/optimizer/commands/shutdown.cpp index 90272d454..a139338be 100644 --- a/src/gausskernel/optimizer/commands/shutdown.cpp +++ b/src/gausskernel/optimizer/commands/shutdown.cpp @@ -1,10 +1,21 @@ -/* ------------------------------------------------------------------------- - * - * shutdown.cpp - * do shutdown command - * +/* * 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.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 0630e3793..882001c28 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 * * ------------------------------------------------------------------------- */