summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-19 17:17:08 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-19 17:17:08 +0400
commit3251065aef83d6cc8088b03e56f6f3242786de66 (patch)
tree18863557a9b43b168f930debb4fdcc69a37f4e82 /sql/sql_parse.cc
parent9b4b453ab8a5f7c7fa06b4ef22b6a10867fac187 (diff)
parentbf14598c9903067474a7cdf1c49bca9f52d0c55a (diff)
downloadmariadb-git-3251065aef83d6cc8088b03e56f6f3242786de66.tar.gz
Merge from mysql-5.1.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 06220ffe8c0..eb9c726f6ef 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -6330,6 +6330,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
ptr->table_name_length=table->table.length;
ptr->lock_type= lock_type;
ptr->updating= test(table_options & TL_OPTION_UPDATING);
+ /* TODO: remove TL_OPTION_FORCE_INDEX as it looks like it's not used */
ptr->force_index= test(table_options & TL_OPTION_FORCE_INDEX);
ptr->ignore_leaves= test(table_options & TL_OPTION_IGNORE_LEAVES);
ptr->derived= table->sel;