Commit c6039a11 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix a test.

parent e92ee132
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
--let $simulate_comp_failures_save = `SELECT @@innodb_simulate_comp_failures` --let $simulate_comp_failures_save = `SELECT @@innodb_simulate_comp_failures`
# since this test generates lot of errors in log, suppress checking errors # since this test generates lot of errors in log, suppress checking errors
call mtr.add_suppression(".*"); call mtr.add_suppression("InnoDB: Simulating a compression failure for table `test`\\.`t1`");
--enable_query_log --enable_query_log
# create the table with compressed pages of size 8K. # create the table with compressed pages of size 8K.
......
# #
# Testing robustness against random compression failures # Testing robustness against random compression failures
# #
call mtr.add_suppression("InnoDB: Simulating a compression failure for table `test`\\.`t1`");
CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY, msg VARCHAR(255), KEY msg_i(msg)) ENGINE=INNODB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8; CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY, msg VARCHAR(255), KEY msg_i(msg)) ENGINE=INNODB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
SHOW CREATE TABLE t1; SHOW CREATE TABLE t1;
Table Create Table Table Create Table
......
...@@ -1388,9 +1388,8 @@ page_zip_compress( ...@@ -1388,9 +1388,8 @@ page_zip_compress(
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
ib::error() ib::error()
<< "InnoDB: Simulating a compression failure" << "Simulating a compression failure"
<< " for table " << " for table " << index->table->name
<< (index->table->name.m_name)
<< " index " << " index "
<< index->name() << index->name()
<< " page " << " page "
......
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