1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Revert change of lower-case-table handling as this breaks how alias works.

Changes like this should be done to 4.1, not to a stable release
This commit is contained in:
monty@narttu.mysql.fi
2003-08-29 04:17:30 +03:00
parent 7d653b2c7c
commit 27e331c30a
7 changed files with 24 additions and 37 deletions

View File

@ -1463,10 +1463,8 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
{
strmov(new_name_buff,new_name);
fn_same(new_name_buff,table_name,3);
#ifdef TO_BE_DELETED
if (lower_case_table_names)
casedn_str(new_name);
#endif
if ((lower_case_table_names &&
!my_strcasecmp(new_name_buff,table_name)) ||
(!lower_case_table_names &&