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
f67c9b67
Commit
f67c9b67
authored
Jan 28, 2020
by
Thirunarayanan Balathandayuthapani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21351 Replace recv_sys.heap with list of buf_block_t
- Fixing the windows compilation failure
parent
c2b7b931
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
storage/innobase/include/log0recv.h
storage/innobase/include/log0recv.h
+1
-1
storage/innobase/log/log0recv.cc
storage/innobase/log/log0recv.cc
+2
-2
No files found.
storage/innobase/include/log0recv.h
View file @
f67c9b67
...
@@ -378,7 +378,7 @@ struct recv_sys_t{
...
@@ -378,7 +378,7 @@ struct recv_sys_t{
#endif
#endif
/** @return the free length of the latest alloc() block, in bytes */
/** @return the free length of the latest alloc() block, in bytes */
inline
u
lin
t
get_free_len
()
const
;
inline
u
int32_
t
get_free_len
()
const
;
};
};
/** The recovery system */
/** The recovery system */
...
...
storage/innobase/log/log0recv.cc
View file @
f67c9b67
...
@@ -870,13 +870,13 @@ void recv_sys_t::debug_free()
...
@@ -870,13 +870,13 @@ void recv_sys_t::debug_free()
mutex_exit
(
&
mutex
);
mutex_exit
(
&
mutex
);
}
}
inline
u
lin
t
recv_sys_t
::
get_free_len
()
const
inline
u
int32_
t
recv_sys_t
::
get_free_len
()
const
{
{
if
(
UT_LIST_GET_LEN
(
redo_list
)
==
0
)
if
(
UT_LIST_GET_LEN
(
redo_list
)
==
0
)
return
0
;
return
0
;
return
srv_page_size
-
return
srv_page_size
-
static_cast
<
u
lin
t
>
(
UT_LIST_GET_FIRST
(
redo_list
)
->
modify_clock
);
static_cast
<
u
int32_
t
>
(
UT_LIST_GET_FIRST
(
redo_list
)
->
modify_clock
);
}
}
inline
byte
*
recv_sys_t
::
alloc
(
uint32_t
len
,
bool
store_recv
)
inline
byte
*
recv_sys_t
::
alloc
(
uint32_t
len
,
bool
store_recv
)
...
...
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