summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-11-11 21:18:10 +0200
committerbell@sanja.is.com.ua <>2004-11-11 21:18:10 +0200
commit0ef0b030a54e7e1f233cbd735f18f64af618d819 (patch)
treeb838d2bae358ea54b828bff0e3dfb8a0faf1bc8e /sql/sql_help.cc
parentaa6d99dd0a453762e81be251094f7538c974447c (diff)
parentc8d5f8991d15aec8ccd0e5eee12d9b18796d5ad8 (diff)
downloadmariadb-git-0ef0b030a54e7e1f233cbd735f18f64af618d819.tar.gz
merge
Diffstat (limited to 'sql/sql_help.cc')
-rw-r--r--sql/sql_help.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index b3d7bebe96a..2cab3f2d3c5 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -619,6 +619,7 @@ int mysqld_help(THD *thd, const char *mask)
st_find_field used_fields[array_elements(init_used_fields)];
DBUG_ENTER("mysqld_help");
+ TABLE_LIST *leaves= 0;
TABLE_LIST tables[4];
bzero((gptr)tables,sizeof(tables));
tables[0].alias= tables[0].real_name= (char*) "help_topic";
@@ -647,7 +648,7 @@ int mysqld_help(THD *thd, const char *mask)
tables do not contain VIEWs => we can pass 0 as conds
*/
- setup_tables(thd, tables, 0);
+ setup_tables(thd, tables, 0, &leaves, 0);
memcpy((char*) used_fields, (char*) init_used_fields, sizeof(used_fields));
if (init_fields(thd, tables, used_fields, array_elements(used_fields)))
{