fix mysqltest

This commit is contained in:
SevenJ-swj
2023-08-15 12:10:46 +00:00
committed by ob-robot
parent b5fcf8a442
commit 2ff134f70b

View File

@ -205,6 +205,8 @@ int ObAlterTableResolver::resolve(const ParseNode &parse_tree)
if (OB_SUCC(ret)) {
alter_table_stmt->set_tenant_id(table_schema_->get_tenant_id());
alter_table_stmt->set_table_id(table_schema_->get_table_id());
alter_table_stmt->get_alter_table_arg().alter_table_schema_.set_charset_type(table_schema_->get_charset_type());
alter_table_stmt->get_alter_table_arg().alter_table_schema_.set_collation_type(table_schema_->get_collation_type());
if (table_schema_->is_external_table()) {
ObTableSchema &alter_schema = alter_table_stmt->get_alter_table_schema();
alter_schema.set_table_type(table_schema_->get_table_type());