summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-03-16 13:50:00 +0300
committerkonstantin@mysql.com <>2006-03-16 13:50:00 +0300
commit22429713795f10825201ce1537b1389b58707318 (patch)
tree803bf69484fd17d08f14229bbcefbc971c7592b5 /sql/sql_lex.h
parent8cb582cfda822e2edd5995019ef5155f19647b7b (diff)
downloadmariadb-git-22429713795f10825201ce1537b1389b58707318.tar.gz
A post-review fix for Bug#17403 "Events: packets out of order
with show create event"
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 59ebdd2a1cc..2bf26683e45 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -53,6 +53,11 @@ class Event_timed;
/*
When a command is added here, be sure it's also added in mysqld.cc
in "struct show_var_st status_vars[]= {" ...
+
+ If the command returns a result set or is not allowed in stored
+ functions or triggers, please also make sure that
+ sp_get_flags_for_command (sp_head.cc) returns proper flags for the
+ added SQLCOM_.
*/
enum enum_sql_command {