[FEAT MERGE] 4.x Dup Table

Co-authored-by: Minionyh <minions.yh@gmail.com>
Co-authored-by: BinChenn <binchenn.bc@gmail.com>
Co-authored-by: ChangerR <dingjinchengyx@163.com>
This commit is contained in:
KyrielightWei
2023-05-11 10:07:20 +00:00
committed by ob-robot
parent 0509c5f9fe
commit aaab6560a1
278 changed files with 20924 additions and 2857 deletions

View File

@ -1814,9 +1814,9 @@ int ObDDLResolver::resolve_table_option(const ParseNode *option_node, const bool
duplicate_scope_ = my_duplicate_scope;
}
if (OB_SUCC(ret) && stmt::T_ALTER_TABLE == stmt_->get_stmt_type()) {
if (OB_FAIL(alter_table_bitset_.add_member(ObAlterTableArg::DUPLICATE_SCOPE))) {
LOG_WARN("fail to add member to bitset!", K(ret));
}
ret = OB_NOT_SUPPORTED;
LOG_WARN("alter table duplicate scope not supported", KR(ret));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "alter table duplicate scope");
}
}
break;