mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	We don't fix the bug itself, we just make regex functions display errors returned from pcre_exec() as MariaDB warnings.
		
			
				
	
	
		
			11 lines
		
	
	
		
			216 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			216 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
SET debug_dbug='+d,pcre_exec_error_123';
 | 
						|
SELECT 'a' RLIKE 'a';
 | 
						|
'a' RLIKE 'a'
 | 
						|
0
 | 
						|
Warnings:
 | 
						|
Warning	1139	Got error 'pcre_exec: Internal error (-123)' from regexp
 | 
						|
SET debug_dbug='';
 | 
						|
SELECT 'a' RLIKE 'a';
 | 
						|
'a' RLIKE 'a'
 | 
						|
1
 |