summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-05-30 20:54:37 +0400
committerkonstantin@mysql.com <>2005-05-30 20:54:37 +0400
commit2d6a70c42a4c63abb3653dd1b8f3287d4adc68f8 (patch)
treeddaffe242bb9f478a3e4a88598acfcc20bfa0700 /sql/sql_help.cc
parent248a6934bba47d225a677c2fe216b1fb3b920ac7 (diff)
downloadmariadb-git-2d6a70c42a4c63abb3653dd1b8f3287d4adc68f8.tar.gz
Preparatory (and the most problematic) patch for Bug#7306
"the server side preparedStatement error for LIMIT placeholder", which moves all uses of LIMIT clause from PREPARE to OPTIMIZE and later steps. After-review fixes.
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 3c8e8e55c1f..0cf8d1e93a7 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -651,7 +651,7 @@ bool mysqld_help(THD *thd, const char *mask)
tables do not contain VIEWs => we can pass 0 as conds
*/
- setup_tables(thd, tables, 0, &leaves, FALSE, FALSE);
+ setup_tables(thd, tables, 0, &leaves, FALSE);
memcpy((char*) used_fields, (char*) init_used_fields, sizeof(used_fields));
if (init_fields(thd, tables, used_fields, array_elements(used_fields)))
goto error;