diff options
Diffstat (limited to 'innobase/mtr/mtr0mtr.c')
-rw-r--r-- | innobase/mtr/mtr0mtr.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/innobase/mtr/mtr0mtr.c b/innobase/mtr/mtr0mtr.c index f38aa6793b9..6aa1f3509d4 100644 --- a/innobase/mtr/mtr0mtr.c +++ b/innobase/mtr/mtr0mtr.c @@ -469,7 +469,8 @@ mtr_read_ulint( /* out: value read */ byte* ptr, /* in: pointer from where to read */ ulint type, /* in: MLOG_1BYTE, MLOG_2BYTES, MLOG_4BYTES */ - mtr_t* mtr) /* in: mini-transaction handle */ + mtr_t* mtr __attribute__((unused))) + /* in: mini-transaction handle */ { ut_ad(mtr->state == MTR_ACTIVE); ut_ad(mtr_memo_contains(mtr, buf_block_align(ptr), @@ -494,8 +495,9 @@ mtr_read_dulint( /*===========*/ /* out: value read */ byte* ptr, /* in: pointer from where to read */ - ulint type, /* in: MLOG_8BYTES */ - mtr_t* mtr) /* in: mini-transaction handle */ + ulint type __attribute__((unused)), /* in: MLOG_8BYTES */ + mtr_t* mtr __attribute__((unused))) + /* in: mini-transaction handle */ { ut_ad(mtr->state == MTR_ACTIVE); ut_ad(ptr && mtr); |