File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Bug#25330449 ASSERT SIZE==SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM
2
+ CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=INNODB ROW_FORMAT=COMPRESSED;
3
+ SET @saved = @@GLOBAL.innodb_random_read_ahead;
4
+ SET GLOBAL innodb_random_read_ahead = 1;
5
+ DROP TABLE t1;
6
+ SET GLOBAL innodb_random_read_ahead = @saved;
Original file line number Diff line number Diff line change
1
+ --source include/have_innodb.inc
2
+ --source include/have_innodb_max_16k.inc
3
+ # Embedded server tests do not support restarting
4
+ --source include/not_embedded.inc
5
+
6
+ --echo # Bug#25330449 ASSERT SIZE==SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM
7
+
8
+ let $MYSQLD_DATADIR=`SELECT @@datadir`;
9
+ CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=INNODB ROW_FORMAT=COMPRESSED;
10
+
11
+ --source include/shutdown_mysqld.inc
12
+ --remove_file $MYSQLD_DATADIR/ib_buffer_pool
13
+
14
+ --write_file $MYSQLD_DATADIR/ib_buffer_pool
15
+ EOF
16
+
17
+ --source include/start_mysqld.inc
18
+ SET @saved = @@GLOBAL.innodb_random_read_ahead;
19
+ SET GLOBAL innodb_random_read_ahead = 1;
20
+
21
+ DROP TABLE t1;
22
+ SET GLOBAL innodb_random_read_ahead = @saved;
You can’t perform that action at this time.
0 commit comments