summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authormalff/marcsql@weblab.(none) <>2007-02-28 18:14:56 -0700
committermalff/marcsql@weblab.(none) <>2007-02-28 18:14:56 -0700
commitdc98aa82abeb14a491f05e583bd86110d319a10c (patch)
tree5d5413ca065b58fc27c6a73c2eaf337f527295be /sql/sql_help.cc
parent8b07431927ccbdc0e0202396fbdd173933a9bf1d (diff)
parent2baf35b4fab1cd1c185b7b98645eb76ed88d9f73 (diff)
downloadmariadb-git-dc98aa82abeb14a491f05e583bd86110d319a10c.tar.gz
Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base
into weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
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 7b7f7602163..b8a904b0c6e 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -662,6 +662,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))