summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/innodb-lru-force-no-free-page.test
blob: d4f08b5afe66e07c82937bceed873c4bab54a87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--source include/have_innodb.inc
--source include/have_debug.inc
--source include/not_embedded.inc

call mtr.add_suppression("InnoDB: Difficult to find free blocks in the buffer pool");

SET @saved_debug = @@SESSION.debug_dbug;
SET SESSION debug_dbug="+d,ib_lru_force_no_free_page";

CREATE TABLE t1 (j LONGBLOB) ENGINE = InnoDB;
BEGIN;
INSERT INTO t1 VALUES (repeat('abcdefghijklmnopqrstuvwxyz',200));
COMMIT;

SET debug_dbug = @saved_debug;

DROP TABLE t1;

#
# There should be only one message
#
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
--let SEARCH_PATTERN=InnoDB: Difficult to find free blocks 
--source include/search_pattern_in_file.inc