fix for a multi-table delete bug when optimiser used only indices
This commit is contained in:
parent
78aa48a809
commit
0e06aec874
@ -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…
x
Reference in New Issue
Block a user