fix for a multi-table delete bug when optimiser used only indices

This commit is contained in:
Sinisa@sinisa.nasamreza.org 2002-06-01 21:37:29 +03:00
parent edc6dc48eb
commit 172e7da556

View file

@ -1960,6 +1960,7 @@ mysql_execute_command(void)
}
auxi->lock_type=walk->lock_type=TL_WRITE;
auxi->table= (TABLE *) walk; // Remember corresponding table
(void)add_item_to_list(new Item_field(auxi->db,auxi->real_name,"*"));
}
tables->grant.want_privilege=(SELECT_ACL & ~tables->grant.privilege);
if (add_item_to_list(new Item_null()))