| 1 |
--source include/have_innodb_max_16k.inc |
| 2 |
--echo # Bug#25330449 ASSERT SIZE==SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM |
| 3 |
|
| 4 |
let $MYSQLD_DATADIR=`SELECT @@datadir`; |
| 5 |
CREATE TABLE t1 (a INT NOT NULL, d INT NOT NULL, b BLOB NOT NULL, c |
| 6 |
TEXT, INDEX(d), INDEX(a), KEY (b(10), a, d), INDEX(c(120), b(120)), |
| 7 |
INDEX(b(5), c(10), a) ) charset latin1 ENGINE=INNODB ROW_FORMAT=COMPRESSED |
| 8 |
KEY_BLOCK_SIZE=1; |
| 9 |
|
| 10 |
--source include/shutdown_mysqld.inc |
| 11 |
--remove_file $MYSQLD_DATADIR/ib_buffer_pool |
| 12 |
|
| 13 |
--write_file $MYSQLD_DATADIR/ib_buffer_pool |
| 14 |
EOF |
| 15 |
|
| 16 |
--source include/start_mysqld.inc |
| 17 |
SET GLOBAL innodb_random_read_ahead = 1; |
| 18 |
|
| 19 |
call mtr.add_suppression("\\[ERROR\\].* '.*t1.ibd' read failed! - attempted to read 4 bytes, read only 0 bytes at offset 16418"); |
| 20 |
call mtr.add_suppression("\\[Warning\\].* Ignoring '.*t1.ibd' invalid tablespace ID in the header"); |
| 21 |
|
| 22 |
DROP TABLE t1; |
| 23 |
SET GLOBAL innodb_random_read_ahead = default; |