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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c1049657
Commit
c1049657
authored
Jul 25, 2014
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure caused by simulated compression failure on
IBUF_DUMMY table.
parent
7bf45bec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
storage/innobase/page/page0zip.c
storage/innobase/page/page0zip.c
+2
-1
storage/xtradb/page/page0zip.c
storage/xtradb/page/page0zip.c
+2
-1
No files found.
storage/innobase/page/page0zip.c
View file @
c1049657
...
...
@@ -1274,7 +1274,8 @@ page_zip_compress(
if
(
srv_simulate_comp_failures
&&
!
dict_index_is_ibuf
(
index
)
&&
page_get_n_recs
(
page
)
>=
2
&&
((
ulint
)(
rand
()
%
100
)
<
srv_simulate_comp_failures
))
{
&&
((
ulint
)(
rand
()
%
100
)
<
srv_simulate_comp_failures
)
&&
strcasecmp
(
index
->
table_name
,
"IBUF_DUMMY"
)
!=
0
)
{
#ifdef UNIV_DEBUG
fprintf
(
stderr
,
...
...
storage/xtradb/page/page0zip.c
View file @
c1049657
...
...
@@ -1278,7 +1278,8 @@ page_zip_compress(
if
(
srv_simulate_comp_failures
&&
!
dict_index_is_ibuf
(
index
)
&&
page_get_n_recs
(
page
)
>=
2
&&
((
ulint
)(
rand
()
%
100
)
<
srv_simulate_comp_failures
))
{
&&
((
ulint
)(
rand
()
%
100
)
<
srv_simulate_comp_failures
)
&&
strcasecmp
(
index
->
table_name
,
"IBUF_DUMMY"
)
!=
0
)
{
#ifdef UNIV_DEBUG
fprintf
(
stderr
,
...
...
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