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
8827794a
Commit
8827794a
authored
Dec 14, 2012
by
Inaam Rana
Browse files
Options
Browse Files
Download
Plain Diff
merge from 5.1
parents
961561e5
13f17cdf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
storage/innobase/buf/buf0buf.c
storage/innobase/buf/buf0buf.c
+14
-7
No files found.
storage/innobase/buf/buf0buf.c
View file @
8827794a
...
...
@@ -2448,22 +2448,29 @@ buf_page_get_gen(
UNIV_MEM_INVALID
(
bpage
,
sizeof
*
bpage
);
mutex_exit
(
&
block
->
mutex
);
mutex_exit
(
&
buf_pool
->
zip_mutex
);
buf_pool
->
n_pend_unzip
++
;
buf_pool_mutex_exit
(
buf_pool
);
access_time
=
buf_page_is_accessed
(
&
block
->
page
);
mutex_exit
(
&
block
->
mutex
);
mutex_exit
(
&
buf_pool
->
zip_mutex
);
buf_page_free_descriptor
(
bpage
);
/* Decompress the page
and apply buffered operations
while not holding
buf_pool->mutex or block->mutex. */
/* Decompress the page
while not holding
buf_pool->mutex or block->mutex. */
success
=
buf_zip_decompress
(
block
,
srv_use_checksums
);
ut_a
(
success
);
if
(
UNIV_LIKELY
(
!
recv_no_ibuf_operations
))
{
ibuf_merge_or_delete_for_page
(
block
,
space
,
offset
,
zip_size
,
TRUE
);
if
(
access_time
)
{
#ifdef UNIV_IBUF_COUNT_DEBUG
ut_a
(
ibuf_count_get
(
space
,
offset
)
==
0
);
#endif
/* UNIV_IBUF_COUNT_DEBUG */
}
else
{
ibuf_merge_or_delete_for_page
(
block
,
space
,
offset
,
zip_size
,
TRUE
);
}
}
/* Unfix and unlatch the block. */
...
...
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