summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorserg@janus.mylan <>2007-03-06 13:44:57 +0100
committerserg@janus.mylan <>2007-03-06 13:44:57 +0100
commit6aa5c001c5debfedb044b4be455e0549de836409 (patch)
tree6633aa27d1875e982ecf73b0f605752dcadbc94f /sql/sql_help.cc
parent30321673a278025b40ee93b9b1c8e75f3dc89acb (diff)
parent2baf35b4fab1cd1c185b7b98645eb76ed88d9f73 (diff)
downloadmariadb-git-6aa5c001c5debfedb044b4be455e0549de836409.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into janus.mylan:/usr/home/serg/Abk/mysql-5.1
Diffstat (limited to 'sql/sql_help.cc')
-rw-r--r--sql/sql_help.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index 6656543e13d..2130e632571 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -661,6 +661,8 @@ bool mysqld_help(THD *thd, const char *mask)
Init tables and fields to be usable from items
tables do not contain VIEWs => we can pass 0 as conds
*/
+ thd->lex->select_lex.context.table_list=
+ thd->lex->select_lex.context.first_name_resolution_table= &tables[0];
if (setup_tables(thd, &thd->lex->select_lex.context,
&thd->lex->select_lex.top_join_list,
tables, &leaves, FALSE))