mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
for multy-delete command used same algorithm of table reference (alias)
mysql-test/t/multi_update.test: new results of changed multi-delete mysql-test/t/update.test: new results of changed multi-delete mysql-test/r/multi_update.result: new results of changed multi-delete mysql-test/r/update.result: new results of changed multi-delete
This commit is contained in:
@@ -2665,9 +2665,8 @@ mysql_execute_command(THD *thd)
|
||||
TABLE_LIST *walk;
|
||||
for (walk= (TABLE_LIST*) tables; walk; walk= walk->next)
|
||||
{
|
||||
if ((!strcmp(auxi->real_name,walk->real_name) ||
|
||||
!strcmp(auxi->real_name,walk->alias)) &&
|
||||
!strcmp(walk->db,auxi->db))
|
||||
if (!strcmp(auxi->real_name, walk->alias) &&
|
||||
!strcmp(walk->db, auxi->db))
|
||||
break;
|
||||
}
|
||||
if (!walk)
|
||||
|
||||
Reference in New Issue
Block a user