diff options
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 946107049dc..2ecc526a612 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -191,7 +191,7 @@ int mysql_update(THD *thd, We can't update table directly; We must first search after all matching rows before updating the table! */ - table->file->extra(HA_EXTRA_DONT_USE_CURSOR_TO_UPDATE); + table->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS); if (old_used_keys & ((key_map) 1 << used_index)) { table->key_read=1; |