summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2018-06-11 18:49:48 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2018-06-11 18:49:48 +0300
commit0d1ec81c7719024a9e62bd16b24d41042e97a1d3 (patch)
tree04d4637ce9bf8213e304f5792a8fcc2553133ace /sql/sql_handler.cc
parent24d7cbe1e0a16f75e2325c84f23531742e2a035d (diff)
parentca733d03c82b02cd842ff2a226fee7b12eb86f8d (diff)
downloadmariadb-git-bb-10.0-vicentiu.tar.gz
Merge branch '5.5' into 10.0bb-10.0-vicentiu
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 52ce42e2e6a..feaf119ba9e 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -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);