diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 3370a0a1957431b25da75aa237ce41f61132b2f2..e9e1e79daaf084fd48ca5dee68af201be150f6ae 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -426,9 +426,7 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables, { if (table->query_id != thd->query_id) cond->cleanup(); // File was reopened - if ((!cond->fixed && - cond->fix_fields(thd, tables, &cond)) || cond->check_cols(1)) - goto err0; + goto err0; } if (keyname)