change the default mode of index to local
This commit is contained in:
@ -1408,7 +1408,7 @@ int ObAlterTableResolver::generate_index_arg(obrpc::ObCreateIndexArg& index_arg,
|
||||
index_arg.index_option_.parser_name_ = common::ObString::make_string(common::OB_DEFAULT_FULLTEXT_PARSER_NAME);
|
||||
}
|
||||
} else {
|
||||
global_ = (index_scope_ != LOCAL_INDEX);
|
||||
global_ = (GLOBAL_INDEX == index_scope_);
|
||||
if (is_unique_key) {
|
||||
if (global_) {
|
||||
type = INDEX_TYPE_UNIQUE_GLOBAL;
|
||||
|
||||
Reference in New Issue
Block a user