mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 90f43d260e
			
		
	
	
	90f43d260e
	
	
	
		
			
			buf_read_ahead_random(): Do not leak a tablespace reference.
The reference was already acquired in fil_space_t::get(),
and we must only check that operations were not stopped.
This error was introduced when
commit 118e258aaa
merged n_pending_ios, n_pending_ops into a single n_pending.
This was not noticed earlier, because innodb_random_read_ahead
is OFF by default and our regression tests did not vary that
parameter at all.
		
	
			
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			84 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			84 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| [read-ahead]
 | |
| --innodb-random-read-ahead=ON
 | |
| 
 | |
| [normal]
 | |
| --innodb-random-read-ahead=OFF
 |