mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	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.
		
			
				
	
	
		
			13 lines
		
	
	
		
			216 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			216 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Test the debugging feature "show procedure/function code <name>" 
 | |
| #
 | |
| 
 | |
| -- source include/have_nodebug.inc
 | |
| 
 | |
| --error ER_FEATURE_DISABLED
 | |
| show procedure code foo;
 | |
| 
 | |
| --error ER_FEATURE_DISABLED
 | |
| show function code foo;
 | |
| 
 |