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
822f9aee
Commit
822f9aee
authored
Mar 14, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fsp0fsp.c Circumvent a bug in Visual C inlining
parent
84999eb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
innobase/fsp/fsp0fsp.c
innobase/fsp/fsp0fsp.c
+12
-9
No files found.
innobase/fsp/fsp0fsp.c
View file @
822f9aee
...
@@ -2947,6 +2947,7 @@ fseg_print_low(
...
@@ -2947,6 +2947,7 @@ fseg_print_low(
ulint
reserved
;
ulint
reserved
;
ulint
used
;
ulint
used
;
ulint
page_no
;
ulint
page_no
;
dulint
d_var
;
ut_ad
(
mtr_memo_contains
(
mtr
,
buf_block_align
(
inode
),
ut_ad
(
mtr_memo_contains
(
mtr
,
buf_block_align
(
inode
),
MTR_MEMO_PAGE_X_FIX
));
MTR_MEMO_PAGE_X_FIX
));
...
@@ -2954,11 +2955,11 @@ fseg_print_low(
...
@@ -2954,11 +2955,11 @@ fseg_print_low(
page_no
=
buf_frame_get_page_no
(
inode
);
page_no
=
buf_frame_get_page_no
(
inode
);
reserved
=
fseg_n_reserved_pages_low
(
inode
,
&
used
,
mtr
);
reserved
=
fseg_n_reserved_pages_low
(
inode
,
&
used
,
mtr
);
seg_id_low
=
ut_dulint_get_low
(
mtr_read_dulint
(
inode
+
FSEG_ID
,
d_var
=
mtr_read_dulint
(
inode
+
FSEG_ID
,
MLOG_8BYTES
,
mtr
);
MLOG_8BYTES
,
mtr
));
seg_id_
high
=
ut_dulint_get_high
(
mtr_read_dulint
(
inode
+
FSEG_ID
,
seg_id_
low
=
ut_dulint_get_low
(
d_var
);
MLOG_8BYTES
,
mtr
)
);
seg_id_high
=
ut_dulint_get_high
(
d_var
);
n_used
=
mtr_read_ulint
(
inode
+
FSEG_NOT_FULL_N_USED
,
n_used
=
mtr_read_ulint
(
inode
+
FSEG_NOT_FULL_N_USED
,
MLOG_4BYTES
,
mtr
);
MLOG_4BYTES
,
mtr
);
...
@@ -3244,6 +3245,7 @@ fsp_print(
...
@@ -3244,6 +3245,7 @@ fsp_print(
ulint
seg_id_high
;
ulint
seg_id_high
;
ulint
n
;
ulint
n
;
ulint
n_segs
=
0
;
ulint
n_segs
=
0
;
dulint
d_var
;
mtr_t
mtr
;
mtr_t
mtr
;
mtr_t
mtr2
;
mtr_t
mtr2
;
...
@@ -3270,10 +3272,11 @@ fsp_print(
...
@@ -3270,10 +3272,11 @@ fsp_print(
n_free_frag
=
flst_get_len
(
header
+
FSP_FREE_FRAG
,
&
mtr
);
n_free_frag
=
flst_get_len
(
header
+
FSP_FREE_FRAG
,
&
mtr
);
n_full_frag
=
flst_get_len
(
header
+
FSP_FULL_FRAG
,
&
mtr
);
n_full_frag
=
flst_get_len
(
header
+
FSP_FULL_FRAG
,
&
mtr
);
seg_id_low
=
ut_dulint_get_low
(
mtr_read_dulint
(
header
+
FSP_SEG_ID
,
d_var
=
mtr_read_dulint
(
header
+
FSP_SEG_ID
,
MLOG_8BYTES
,
&
mtr
);
MLOG_8BYTES
,
&
mtr
));
seg_id_high
=
ut_dulint_get_high
(
mtr_read_dulint
(
header
+
FSP_SEG_ID
,
seg_id_low
=
ut_dulint_get_low
(
d_var
);
MLOG_8BYTES
,
&
mtr
));
seg_id_high
=
ut_dulint_get_high
(
d_var
);
printf
(
"FILE SPACE INFO: id %lu
\n
"
,
space
);
printf
(
"FILE SPACE INFO: id %lu
\n
"
,
space
);
printf
(
"size %lu, free limit %lu, free extents %lu
\n
"
,
printf
(
"size %lu, free limit %lu, free extents %lu
\n
"
,
...
...
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