mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
A fix for multi-table delete with tables optimised away.
Still not able to make a proper test case as this crashes on files where key and data pointers are 4 bytes each. Possibly a proper test case would require myisampack.
This commit is contained in:
@ -1960,7 +1960,11 @@ 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,"*"));
|
||||
}
|
||||
if (add_item_to_list(new Item_null()))
|
||||
{
|
||||
res = -1;
|
||||
break;
|
||||
}
|
||||
tables->grant.want_privilege=(SELECT_ACL & ~tables->grant.privilege);
|
||||
thd->proc_info="init";
|
||||
|
Reference in New Issue
Block a user