sql/sql_update.cc:
  field_list_in_tables needs TABLE_LIST::alias to be initialized
This commit is contained in:
unknown 2003-06-19 22:06:51 +05:00
parent 332334e837
commit 31815f3ad3

View file

@ -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) ||