47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
/**
|
|
* 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.
|
|
*/
|
|
|
|
#define USING_LOG_PREFIX SQL_RESV
|
|
|
|
#include "sql/resolver/ddl/ob_create_synonym_stmt.h"
|
|
#include "common/object/ob_obj_type.h"
|
|
#include "share/schema/ob_column_schema.h"
|
|
|
|
using namespace oceanbase::sql;
|
|
using namespace oceanbase::common;
|
|
using namespace oceanbase::share::schema;
|
|
|
|
namespace oceanbase
|
|
{
|
|
namespace sql
|
|
{
|
|
|
|
ObCreateSynonymStmt::ObCreateSynonymStmt(ObIAllocator *name_pool)
|
|
: ObDDLStmt(name_pool, stmt::T_CREATE_SYNONYM),
|
|
create_synonym_arg_()
|
|
{
|
|
}
|
|
|
|
ObCreateSynonymStmt::ObCreateSynonymStmt()
|
|
: ObDDLStmt(stmt::T_CREATE_SYNONYM),
|
|
create_synonym_arg_()
|
|
{
|
|
}
|
|
|
|
ObCreateSynonymStmt::~ObCreateSynonymStmt()
|
|
{
|
|
}
|
|
|
|
|
|
} // namespace sql
|
|
} // namespace oceanbase
|