Merge branch '5.5' into 10.0

This commit is contained in:
Vicențiu Ciorbaru 2018-06-12 17:59:31 +03:00
commit 170bec36c0
20 changed files with 39 additions and 15 deletions

View file

@ -986,6 +986,7 @@ SQL_HANDLER *mysql_ha_read_prepare(THD *thd, TABLE_LIST *tables,
if (!(handler= mysql_ha_find_handler(thd, tables->alias)))
DBUG_RETURN(0);
tables->table= handler->table; // This is used by fix_fields
handler->table->pos_in_table_list= tables;
if (mysql_ha_fix_cond_and_key(handler, mode, keyname, key_expr, cond, 1))
DBUG_RETURN(0);
DBUG_RETURN(handler);