mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Bug #570 fixed
sql/sql_update.cc: field_list_in_tables needs TABLE_LIST::alias to be initialized
This commit is contained in:
parent
332334e837
commit
31815f3ad3
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ int mysql_update(THD *thd,
|
|||
table->grant.want_privilege=(SELECT_ACL & ~table->grant.privilege);
|
||||
|
||||
bzero((char*) &tables,sizeof(tables)); // For ORDER BY
|
||||
tables.table = table;
|
||||
tables.table= table;
|
||||
tables.alias= table_list->alias;
|
||||
|
||||
if (setup_tables(table_list) || setup_conds(thd,table_list,&conds) ||
|
||||
setup_order(thd, &tables, all_fields, all_fields, order) ||
|
||||
|
|
Loading…
Reference in a new issue