1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

for multy-delete command used same algorithm of table reference (alias)

This commit is contained in:
bell@sanja.is.com.ua
2004-01-20 19:16:18 +02:00
parent 501ae0bc52
commit 2a55a7684f
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)