1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fuller implementation of lower case table names.

Bug record #828
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-07-23 17:36:56 +03:00
parent 40756106a9
commit e08a00bd02
7 changed files with 25 additions and 5 deletions

View File

@ -1459,8 +1459,10 @@ 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 &&