patch 4.0
This commit is contained in:
@ -15,29 +15,38 @@
|
||||
#include "sql/resolver/ddl/ob_lock_tenant_stmt.h"
|
||||
#include "common/object/ob_obj_type.h"
|
||||
|
||||
namespace oceanbase {
|
||||
namespace oceanbase
|
||||
{
|
||||
using namespace common;
|
||||
using namespace share::schema;
|
||||
namespace sql {
|
||||
namespace sql
|
||||
{
|
||||
|
||||
ObLockTenantStmt::ObLockTenantStmt(common::ObIAllocator* name_pool)
|
||||
: ObDDLStmt(name_pool, stmt::T_LOCK_TENANT), lock_tenant_arg_()
|
||||
{}
|
||||
ObLockTenantStmt::ObLockTenantStmt(common::ObIAllocator *name_pool)
|
||||
: ObDDLStmt(name_pool, stmt::T_LOCK_TENANT),
|
||||
lock_tenant_arg_()
|
||||
{
|
||||
}
|
||||
|
||||
ObLockTenantStmt::ObLockTenantStmt() : ObDDLStmt(stmt::T_LOCK_TENANT), lock_tenant_arg_()
|
||||
{}
|
||||
ObLockTenantStmt::ObLockTenantStmt()
|
||||
: ObDDLStmt(stmt::T_LOCK_TENANT),
|
||||
lock_tenant_arg_()
|
||||
{
|
||||
}
|
||||
|
||||
ObLockTenantStmt::~ObLockTenantStmt()
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
void ObLockTenantStmt::print(FILE* fp, int32_t level, int32_t index)
|
||||
void ObLockTenantStmt::print(FILE *fp, int32_t level, int32_t index)
|
||||
{
|
||||
UNUSED(index);
|
||||
UNUSED(fp);
|
||||
UNUSED(level);
|
||||
}
|
||||
|
||||
void ObLockTenantStmt::set_tenant_name(const ObString& tenant_name)
|
||||
|
||||
void ObLockTenantStmt::set_tenant_name(const ObString &tenant_name)
|
||||
{
|
||||
lock_tenant_arg_.tenant_name_ = tenant_name;
|
||||
}
|
||||
@ -47,5 +56,5 @@ void ObLockTenantStmt::set_locked(const bool is_locked)
|
||||
lock_tenant_arg_.is_locked_ = is_locked;
|
||||
}
|
||||
|
||||
} // namespace sql
|
||||
} // namespace oceanbase
|
||||
} /* sql */
|
||||
} /* oceanbase */
|
||||
|
||||
Reference in New Issue
Block a user