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
56c0cbb3
Commit
56c0cbb3
authored
Dec 08, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: fsp0fsp.c: Add some missing in/out and const qualifiers.
parent
a5550052
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
fsp/fsp0fsp.c
fsp/fsp0fsp.c
+16
-16
No files found.
fsp/fsp0fsp.c
View file @
56c0cbb3
...
@@ -386,7 +386,7 @@ UNIV_INLINE
...
@@ -386,7 +386,7 @@ UNIV_INLINE
ibool
ibool
xdes_get_bit
(
xdes_get_bit
(
/*=========*/
/*=========*/
xdes_t
*
descr
,
/*!< in: descriptor */
const
xdes_t
*
descr
,
/*!< in: descriptor */
ulint
bit
,
/*!< in: XDES_FREE_BIT or XDES_CLEAN_BIT */
ulint
bit
,
/*!< in: XDES_FREE_BIT or XDES_CLEAN_BIT */
ulint
offset
,
/*!< in: page offset within extent:
ulint
offset
,
/*!< in: page offset within extent:
0 ... FSP_EXTENT_SIZE - 1 */
0 ... FSP_EXTENT_SIZE - 1 */
...
@@ -527,7 +527,7 @@ UNIV_INLINE
...
@@ -527,7 +527,7 @@ UNIV_INLINE
ulint
ulint
xdes_get_n_used
(
xdes_get_n_used
(
/*============*/
/*============*/
xdes_t
*
descr
,
/*!< in: descriptor */
const
xdes_t
*
descr
,
/*!< in: descriptor */
mtr_t
*
mtr
)
/*!< in: mtr */
mtr_t
*
mtr
)
/*!< in: mtr */
{
{
ulint
i
;
ulint
i
;
...
@@ -551,7 +551,7 @@ UNIV_INLINE
...
@@ -551,7 +551,7 @@ UNIV_INLINE
ibool
ibool
xdes_is_free
(
xdes_is_free
(
/*=========*/
/*=========*/
xdes_t
*
descr
,
/*!< in: descriptor */
const
xdes_t
*
descr
,
/*!< in: descriptor */
mtr_t
*
mtr
)
/*!< in: mtr */
mtr_t
*
mtr
)
/*!< in: mtr */
{
{
if
(
0
==
xdes_get_n_used
(
descr
,
mtr
))
{
if
(
0
==
xdes_get_n_used
(
descr
,
mtr
))
{
...
@@ -569,7 +569,7 @@ UNIV_INLINE
...
@@ -569,7 +569,7 @@ UNIV_INLINE
ibool
ibool
xdes_is_full
(
xdes_is_full
(
/*=========*/
/*=========*/
xdes_t
*
descr
,
/*!< in: descriptor */
const
xdes_t
*
descr
,
/*!< in: descriptor */
mtr_t
*
mtr
)
/*!< in: mtr */
mtr_t
*
mtr
)
/*!< in: mtr */
{
{
if
(
FSP_EXTENT_SIZE
==
xdes_get_n_used
(
descr
,
mtr
))
{
if
(
FSP_EXTENT_SIZE
==
xdes_get_n_used
(
descr
,
mtr
))
{
...
@@ -586,7 +586,7 @@ UNIV_INLINE
...
@@ -586,7 +586,7 @@ UNIV_INLINE
void
void
xdes_set_state
(
xdes_set_state
(
/*===========*/
/*===========*/
xdes_t
*
descr
,
/*!< in: descriptor */
xdes_t
*
descr
,
/*!< in
/out
: descriptor */
ulint
state
,
/*!< in: state to set */
ulint
state
,
/*!< in: state to set */
mtr_t
*
mtr
)
/*!< in: mtr handle */
mtr_t
*
mtr
)
/*!< in: mtr handle */
{
{
...
@@ -605,7 +605,7 @@ UNIV_INLINE
...
@@ -605,7 +605,7 @@ UNIV_INLINE
ulint
ulint
xdes_get_state
(
xdes_get_state
(
/*===========*/
/*===========*/
xdes_t
*
descr
,
/*!< in: descriptor */
const
xdes_t
*
descr
,
/*!< in: descriptor */
mtr_t
*
mtr
)
/*!< in: mtr handle */
mtr_t
*
mtr
)
/*!< in: mtr handle */
{
{
ulint
state
;
ulint
state
;
...
@@ -705,7 +705,7 @@ UNIV_INLINE
...
@@ -705,7 +705,7 @@ UNIV_INLINE
xdes_t
*
xdes_t
*
xdes_get_descriptor_with_space_hdr
(
xdes_get_descriptor_with_space_hdr
(
/*===============================*/
/*===============================*/
fsp_header_t
*
sp_header
,
/*!< in: space header, x-latched */
fsp_header_t
*
sp_header
,
/*!< in
/out
: space header, x-latched */
ulint
space
,
/*!< in: space id */
ulint
space
,
/*!< in: space id */
ulint
offset
,
/*!< in: page offset;
ulint
offset
,
/*!< in: page offset;
if equal to the free limit,
if equal to the free limit,
...
@@ -1342,7 +1342,7 @@ fsp_fill_free_list(
...
@@ -1342,7 +1342,7 @@ fsp_fill_free_list(
descriptor page and ibuf bitmap page;
descriptor page and ibuf bitmap page;
then we do not allocate more extents */
then we do not allocate more extents */
ulint
space
,
/*!< in: space */
ulint
space
,
/*!< in: space */
fsp_header_t
*
header
,
/*!< in: space header */
fsp_header_t
*
header
,
/*!< in
/out
: space header */
mtr_t
*
mtr
)
/*!< in: mtr */
mtr_t
*
mtr
)
/*!< in: mtr */
{
{
ulint
limit
;
ulint
limit
;
...
...
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