1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fix 'SHOW CREATE FUNCTION' to say 'FUNCTION' in its error message. (Bug #6338)

This commit is contained in:
jimw@mysql.com
2005-01-03 19:53:54 +01:00
parent a5ccba28ea
commit 98d7964d2a
3 changed files with 5 additions and 0 deletions

View File

@@ -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")