1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fix a test.

This commit is contained in:
Marko Mäkelä
2017-01-25 16:38:45 +02:00
parent e92ee13254
commit c6039a11c6
3 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -1,6 +1,7 @@
# #
# 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

View File

@@ -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 "