1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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

sql/sql_parse.cc:
  Fix SP_COM_STRING() macro for 'SHOW CREATE FUNCTION' case
mysql-test/r/sp-error.result:
  results for SHOW CREATE FUNCTION test
mysql-test/t/sp-error.test:
  test SHOW CREATE FUNCTION
This commit is contained in:
unknown
2005-01-03 19:53:54 +01:00
parent 9c92a25524
commit c39c21b537
3 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,8 @@ Warnings:
Note 1305 PROCEDURE foo does not exist
show create procedure foo|
ERROR 42000: PROCEDURE foo does not exist
show create function foo|
ERROR 42000: FUNCTION foo does not exist
create procedure foo()
foo: loop
leave bar;