mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Bug #570 fixed
sql/sql_update.cc: field_list_in_tables needs TABLE_LIST::alias to be initialized
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user