diff options
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index e1c28dd0e4d..199693df7d6 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -91,6 +91,7 @@ int mysql_update(THD *thd, bzero((char*) &tables,sizeof(tables)); // For ORDER BY tables.table= table; + tables.alias= table_list->alias; if (setup_tables(update_table_list) || setup_conds(thd,update_table_list,&conds) || |