mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
fix for a multi-table delete bug when optimiser used only indices
This commit is contained in:
parent
edc6dc48eb
commit
172e7da556
1 changed files with 1 additions and 0 deletions
|
@ -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()))
|
||||
|
|
Loading…
Add table
Reference in a new issue