summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-05 17:57:55 +0100
committerunknown <jimw@mysql.com>2005-01-05 17:57:55 +0100
commit9bb865befc8510e13ad5b231b1fd4888e36b6041 (patch)
tree23a2e4cd053f37960d420f65dd3c1f608ddd9f7c /sql
parent73207038f13ae2723ce6a593d2f14546f012958f (diff)
parent4ea09b797e67442abe0bcd5ae6ec9e167c44d8ca (diff)
downloadmariadb-git-9bb865befc8510e13ad5b231b1fd4888e36b6041.tar.gz
Merge jwinstead@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/jwinstead2/mysql-5.0
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 60caa3ff421..2b950b65153 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -52,6 +52,7 @@
#define SP_COM_STRING(LP) \
((LP)->sql_command == SQLCOM_CREATE_SPFUNCTION || \
(LP)->sql_command == SQLCOM_ALTER_FUNCTION || \
+ (LP)->sql_command == SQLCOM_SHOW_CREATE_FUNC || \
(LP)->sql_command == SQLCOM_DROP_FUNCTION ? \
"FUNCTION" : "PROCEDURE")