diff options
-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 d71afe8eab0..faf8e4c61d2 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -673,7 +673,7 @@ int mysql_update(THD *thd, select= new SQL_SELECT; select->head=table; } - //psergey-todo: disable SHOW EXPLAIN because the plan was deleted? + if (reinit_io_cache(&tempfile,READ_CACHE,0L,0,0)) error=1; /* purecov: inspected */ select->file=tempfile; // Read row ptrs from this file |