fix mysqltest
This commit is contained in:
@ -205,6 +205,8 @@ int ObAlterTableResolver::resolve(const ParseNode &parse_tree)
|
|||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
alter_table_stmt->set_tenant_id(table_schema_->get_tenant_id());
|
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->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()) {
|
if (table_schema_->is_external_table()) {
|
||||||
ObTableSchema &alter_schema = alter_table_stmt->get_alter_table_schema();
|
ObTableSchema &alter_schema = alter_table_stmt->get_alter_table_schema();
|
||||||
alter_schema.set_table_type(table_schema_->get_table_type());
|
alter_schema.set_table_type(table_schema_->get_table_type());
|
||||||
|
|||||||
Reference in New Issue
Block a user