mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#33637 SHOW PROCEDURE CODE/SHOW FUNCTION CODE sp_name gives a syntax error.
Backport for 5.5 In non debug builds, the statements: - SHOW PROCEDURE CODE - SHOW FUNCTION CODE used to fail with a "syntax error", which is misleading. These statements have been changed to return the following error for non debug builds: ERROR HY000: The 'SHOW PROCEDURE|FUNCTION CODE' feature is disabled; you need MySQL built with '--with-debug' to have it working For debug builds (./configure --with-debug), nothing is changed.
This commit is contained in:
4
mysql-test/include/have_nodebug.inc
Normal file
4
mysql-test/include/have_nodebug.inc
Normal file
@ -0,0 +1,4 @@
|
||||
-- require r/have_nodebug.require
|
||||
disable_query_log;
|
||||
select (version() like '%debug%') as debug;
|
||||
enable_query_log;
|
Reference in New Issue
Block a user