Commit 40f8c2d2 authored by unknown's avatar unknown

fsp0fsp.c Circumvent a bug in Visual C inlining


innobase/fsp/fsp0fsp.c:
  Circumvent a bug in Visual C inlining
parent 79924f27
...@@ -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));
...@@ -2955,10 +2956,10 @@ fseg_print_low( ...@@ -2955,10 +2956,10 @@ fseg_print_low(
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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment