fix gen_errno.pl

This commit is contained in:
dimstars 2023-11-09 14:39:39 +00:00 committed by ob-robot
parent 5c58c5e0f9
commit 7879d387e5
2 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 OceanBase
* 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:
@ -9,11 +9,6 @@
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
// Copyright (c) 2018 Alibaba Inc. All Rights Reserved.
//
/// \file errno.h
/// \date 2018-04-28
///
// DO NOT EDIT. This file is automatically generated from ob_errno.def.
// DO NOT EDIT. This file is automatically generated from ob_errno.def.

View File

@ -461,12 +461,17 @@ constexpr int OB_ERR_SQL_END = -5999;
#generate dep/ob_errno.h
open my $fh_header_dep, '>', "../../deps/oblib/src/lib/ob_errno.h";
print $fh_header_dep '
// Copyright (c) 2018 Alibaba Inc. All Rights Reserved.
//
/// \file errno.h
/// \date 2018-04-28
///
print $fh_header_dep '/**
* 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.
*/
// DO NOT EDIT. This file is automatically generated from ob_errno.def.
// DO NOT EDIT. This file is automatically generated from ob_errno.def.