Commit 4794e5b0 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix a test that always failed on --embedded

parent 578ffcc5
call mtr.add_suppression("\\[Warning\\] InnoDB: Difficult to find free blocks in the buffer pool."); 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"; SET SESSION debug_dbug="+d,ib_lru_force_no_free_page";
CREATE TABLE t1 (j LONGBLOB) ENGINE = InnoDB; CREATE TABLE t1 (j LONGBLOB) ENGINE = InnoDB;
BEGIN; BEGIN;
INSERT INTO t1 VALUES (repeat('abcdefghijklmnopqrstuvwxyz',200)); INSERT INTO t1 VALUES (repeat('abcdefghijklmnopqrstuvwxyz',200));
COMMIT; COMMIT;
SET SESSION debug_dbug=""; SET debug_dbug = @saved_debug;
DROP TABLE t1; DROP TABLE t1;
FOUND /InnoDB: Difficult to find free blocks / in mysqld.1.err FOUND /InnoDB: Difficult to find free blocks / in mysqld.1.err
--source include/have_innodb.inc --source include/have_innodb.inc
--source include/have_debug.inc --source include/have_debug.inc
--source include/not_embedded.inc
call mtr.add_suppression("\\[Warning\\] InnoDB: Difficult to find free blocks in the buffer pool."); 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"; SET SESSION debug_dbug="+d,ib_lru_force_no_free_page";
CREATE TABLE t1 (j LONGBLOB) ENGINE = InnoDB; CREATE TABLE t1 (j LONGBLOB) ENGINE = InnoDB;
...@@ -10,7 +12,7 @@ BEGIN; ...@@ -10,7 +12,7 @@ BEGIN;
INSERT INTO t1 VALUES (repeat('abcdefghijklmnopqrstuvwxyz',200)); INSERT INTO t1 VALUES (repeat('abcdefghijklmnopqrstuvwxyz',200));
COMMIT; COMMIT;
SET SESSION debug_dbug=""; SET debug_dbug = @saved_debug;
DROP TABLE t1; DROP TABLE t1;
...@@ -21,4 +23,3 @@ let SEARCH_RANGE= -50000; ...@@ -21,4 +23,3 @@ let SEARCH_RANGE= -50000;
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err; let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
--let SEARCH_PATTERN=InnoDB: Difficult to find free blocks --let SEARCH_PATTERN=InnoDB: Difficult to find free blocks
--source include/search_pattern_in_file.inc --source include/search_pattern_in_file.inc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment