[HelloBike] fix a bug of index comment covering data table comment

This commit is contained in:
obdev
2022-12-27 08:11:41 +00:00
committed by ob-robot
parent 1c610d0815
commit 6c9add4152
2 changed files with 2 additions and 2 deletions

View File

@ -1263,7 +1263,7 @@ int ObAlterTableResolver::resolve_add_index(const ParseNode &node)
if (OB_SUCCESS == ret) {
if (NULL != table_option_node) {
has_index_using_type_ = false;
if (OB_FAIL(resolve_table_options(table_option_node, false))) {
if (OB_FAIL(resolve_table_options(table_option_node, true))) {
SQL_RESV_LOG(WARN, "failed to resolve table options!", K(ret));
} else if (has_index_using_type_) {
create_index_arg->index_using_type_ = index_using_type_;