summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-01-03 00:12:07 +0200
committerbell@sanja.is.com.ua <>2004-01-03 00:12:07 +0200
commite5fa5585f09c11e4dfd6f79582d5e2d66e259a7a (patch)
tree5368d917dca8b3cf091c64b5b199e33ef115d291 /sql/sql_help.cc
parent1c74cd9bf515ac1f1cfef6ed58ad2aa77b76be2c (diff)
downloadmariadb-git-e5fa5585f09c11e4dfd6f79582d5e2d66e259a7a.tar.gz
removed droping field->query_id for reinitialization tables for subquery.
(BUG#2089)
Diffstat (limited to 'sql/sql_help.cc')
-rw-r--r--sql/sql_help.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index c40133c04a8..a5b7c691ae1 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -686,7 +686,7 @@ int mysqld_help(THD *thd, const char *mask)
goto end;
}
/* Init tables and fields to be usable from items */
- setup_tables(tables);
+ setup_tables(tables, 0);
memcpy((char*) used_fields, (char*) init_used_fields, sizeof(used_fields));
if (init_fields(thd, tables, used_fields, array_elements(used_fields)))
{