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
c2b0ebb5
Commit
c2b0ebb5
authored
May 21, 2010
by
Calvin Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-trunk-innodb: fix compile errors on Windows with UNIV_DEBUG defined.
parent
6788201e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
storage/innobase/buf/buf0flu.c
storage/innobase/buf/buf0flu.c
+4
-2
storage/innobase/sync/sync0rw.c
storage/innobase/sync/sync0rw.c
+5
-2
No files found.
storage/innobase/buf/buf0flu.c
View file @
c2b0ebb5
...
@@ -1037,12 +1037,14 @@ buf_flush_write_block_low(
...
@@ -1037,12 +1037,14 @@ buf_flush_write_block_low(
/*======================*/
/*======================*/
buf_page_t
*
bpage
)
/*!< in: buffer block to write */
buf_page_t
*
bpage
)
/*!< in: buffer block to write */
{
{
ulint
zip_size
=
buf_page_get_zip_size
(
bpage
);
page_t
*
frame
=
NULL
;
#ifdef UNIV_DEBUG
#ifdef UNIV_DEBUG
buf_pool_t
*
buf_pool
=
buf_pool_from_bpage
(
bpage
);
buf_pool_t
*
buf_pool
=
buf_pool_from_bpage
(
bpage
);
ut_ad
(
!
buf_pool_mutex_own
(
buf_pool
));
ut_ad
(
!
buf_pool_mutex_own
(
buf_pool
));
#endif
#endif
ulint
zip_size
=
buf_page_get_zip_size
(
bpage
);
page_t
*
frame
=
NULL
;
#ifdef UNIV_LOG_DEBUG
#ifdef UNIV_LOG_DEBUG
static
ibool
univ_log_debug_warned
;
static
ibool
univ_log_debug_warned
;
#endif
/* UNIV_LOG_DEBUG */
#endif
/* UNIV_LOG_DEBUG */
...
...
storage/innobase/sync/sync0rw.c
View file @
c2b0ebb5
...
@@ -350,10 +350,13 @@ rw_lock_validate(
...
@@ -350,10 +350,13 @@ rw_lock_validate(
/*=============*/
/*=============*/
rw_lock_t
*
lock
)
/*!< in: rw-lock */
rw_lock_t
*
lock
)
/*!< in: rw-lock */
{
{
ulint
waiters
;
lint
lock_word
;
ut_a
(
lock
);
ut_a
(
lock
);
ulint
waiters
=
rw_lock_get_waiters
(
lock
);
waiters
=
rw_lock_get_waiters
(
lock
);
l
int
l
ock_word
=
lock
->
lock_word
;
lock_word
=
lock
->
lock_word
;
ut_a
(
lock
->
magic_n
==
RW_LOCK_MAGIC_N
);
ut_a
(
lock
->
magic_n
==
RW_LOCK_MAGIC_N
);
ut_a
(
waiters
==
0
||
waiters
==
1
);
ut_a
(
waiters
==
0
||
waiters
==
1
);
...
...
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