1
0
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:
unknown
2004-01-20 19:16:18 +02:00
parent fbf563e86a
commit 7a1a5cd2d8
5 changed files with 6 additions and 7 deletions

View File

@@ -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)