summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorunknown <serg@janus.mylan>2007-03-06 13:44:57 +0100
committerunknown <serg@janus.mylan>2007-03-06 13:44:57 +0100
commitb64a40601310a5e7614aaab6ef4e735b3a7bb3c1 (patch)
tree6633aa27d1875e982ecf73b0f605752dcadbc94f /sql/sql_help.cc
parent39622e126775b6b7de3b727aa4dd0da5fdab5d74 (diff)
parent793a137ddd737cd98d8d33efe54bcc218fd60c3f (diff)
downloadmariadb-git-b64a40601310a5e7614aaab6ef4e735b3a7bb3c1.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into janus.mylan:/usr/home/serg/Abk/mysql-5.1 sql/ha_ndbcluster.cc: Auto merged sql/ha_partition.cc: Auto merged sql/ha_partition.h: Auto merged sql/log.cc: Auto merged sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/sql_help.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_select.cc: Auto merged storage/blackhole/ha_blackhole.cc: Auto merged storage/myisammrg/ha_myisammrg.cc: Auto merged
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))