1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixed bug with INSERT .. SET db_name.tbl_name.col_name=''

This commit is contained in:
unknown
2002-07-23 20:42:08 +03:00
parent b42ca98d34
commit 32aac8dcee
3 changed files with 17 additions and 1 deletions

View File

@@ -1608,7 +1608,7 @@ find_field_in_tables(THD *thd,Item_field *item,TABLE_LIST *tables)
for (; tables ; tables=tables->next)
{
if (!strcmp(tables->name,table_name) &&
(!db || !strcmp(db,tables->db)))
(!db || !tables->db || !strcmp(db,tables->db)))
{
found_table=1;
Field *find=find_field_in_table(thd,tables->table,name,length,