mirror of
https://github.com/MariaDB/server.git
synced 2025-02-22 13:23:07 +01:00

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
|