mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
aliases should be compared with my_strcasecmp (BUG#3251)
some db comparison code cleupup removed compiler warnings
This commit is contained in:
@ -9376,7 +9376,7 @@ void st_select_lex::print(THD *thd, String *str)
|
||||
str->append(table->db);
|
||||
str->append('.');
|
||||
str->append(table->real_name);
|
||||
if (strcmp(table->real_name, table->alias))
|
||||
if (my_strcasecmp(table_alias_charset, table->real_name, table->alias))
|
||||
{
|
||||
str->append(' ');
|
||||
str->append(table->alias);
|
||||
|
Reference in New Issue
Block a user