mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
lower_case_table_names=2 (Keep case for table names) was not honored
with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109) Make net_buffer_length visible for mysql clients (Bug #4206)
This commit is contained in:
@ -1545,7 +1545,10 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
||||
}
|
||||
}
|
||||
else
|
||||
new_alias= new_name= table_name;
|
||||
{
|
||||
new_alias= (lower_case_table_names == 2) ? alias : table_name;
|
||||
new_name= table_name;
|
||||
}
|
||||
|
||||
old_db_type=table->db_type;
|
||||
if (create_info->db_type == DB_TYPE_DEFAULT)
|
||||
|
Reference in New Issue
Block a user