diff options
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 0387f02e83f..93ab332bcd5 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -203,7 +203,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables, Item *item; for (key_len=0 ; (item=it_ke++) ; key_part++) { - if (item->fix_fields(thd, tables)) + if (item->fix_fields(thd, tables, &item)) goto err; if (item->used_tables() & ~RAND_TABLE_BIT) { |