mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
fixed comparation of tables/database names with --lower_case_table_names (BUG#2880)
mysql-test/r/lowercase_table.result: test of multi-update/multi-delete mysql-test/t/lowercase_table.test: test of multi-update/multi-delete sql/sql_cache.cc: correct databese names comparation sql/sql_parse.cc: correct table names comparation in multi-delete
This commit is contained in:
@@ -2670,8 +2670,8 @@ mysql_execute_command(THD *thd)
|
||||
TABLE_LIST *walk;
|
||||
for (walk= (TABLE_LIST*) tables; walk; walk= walk->next)
|
||||
{
|
||||
if (!strcmp(auxi->real_name, walk->alias) &&
|
||||
!strcmp(walk->db, auxi->db))
|
||||
if (!my_strcasecmp(table_alias_charset, auxi->alias, walk->alias) &&
|
||||
!my_strcasecmp(table_alias_charset, walk->db, auxi->db))
|
||||
break;
|
||||
}
|
||||
if (!walk)
|
||||
|
||||
Reference in New Issue
Block a user