Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c6039a11
Commit
c6039a11
authored
Jan 25, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a test.
parent
e92ee132
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/suite/innodb/include/innodb_simulate_comp_failures.inc
...st/suite/innodb/include/innodb_simulate_comp_failures.inc
+1
-1
mysql-test/suite/innodb/r/innodb_simulate_comp_failures.result
...-test/suite/innodb/r/innodb_simulate_comp_failures.result
+1
-0
storage/innobase/page/page0zip.cc
storage/innobase/page/page0zip.cc
+2
-3
No files found.
mysql-test/suite/innodb/include/innodb_simulate_comp_failures.inc
View file @
c6039a11
...
...
@@ -8,7 +8,7 @@
--
let
$simulate_comp_failures_save
=
`SELECT @@innodb_simulate_comp_failures`
# 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
# create the table with compressed pages of size 8K.
...
...
mysql-test/suite/innodb/r/innodb_simulate_comp_failures.result
View file @
c6039a11
#
# 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;
SHOW CREATE TABLE t1;
Table Create Table
...
...
storage/innobase/page/page0zip.cc
View file @
c6039a11
...
...
@@ -1388,9 +1388,8 @@ page_zip_compress(
#ifdef UNIV_DEBUG
ib
::
error
()
<<
"InnoDB: Simulating a compression failure"
<<
" for table "
<<
(
index
->
table
->
name
.
m_name
)
<<
"Simulating a compression failure"
<<
" for table "
<<
index
->
table
->
name
<<
" index "
<<
index
->
name
()
<<
" page "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment