mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	 e51d55a63f
			
		
	
	
	e51d55a63f
	
	
	
		
			
			The original code is correct. valgrind and asan binaries should be built with a specialiced version of mem_root that makes it easier to find memory overwrites. This is what the BUILD scripts is doing. The specialiced mem_root code allocates a new block for every allocation which is visiable for any test that depenmds on the default original malloc size and usage.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			136 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			136 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| if (`select version() like '%valgrind%' || version() like '%asan%'`)
 | |
| {
 | |
|   skip Does not run with binaries built with valgrind or asan;
 | |
| }
 |