diff options
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 7c55f281f38..9613e39d403 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -776,12 +776,10 @@ bool mysql_multi_update_prepare(THD *thd) */ List_iterator_fast<Item> it(*fields); Item *item; - while (item= it++) - { + while ((item= it++)) item->cleanup(); - } - /* We have to cleunup translation tables of views. */ + /* We have to cleanup translation tables of views. */ for (TABLE_LIST *tbl= table_list; tbl; tbl= tbl->next_global) tbl->cleanup_items(); |