Skip to content

Commit 3826178

Browse files
committed
Fix the Windows non-debug build
warning C4390: ';': empty controlled statement found; is this the intent?
1 parent 4beace3 commit 3826178

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

storage/innobase/include/trx0sys.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ inline buf_block_t *trx_sysf_get(mtr_t* mtr, bool rw= true)
7272
{
7373
buf_block_t* block = buf_page_get(page_id_t(TRX_SYS_SPACE, TRX_SYS_PAGE_NO),
7474
0, rw ? RW_X_LATCH : RW_S_LATCH, mtr);
75-
if (block)
76-
buf_block_dbg_add_level(block, SYNC_TRX_SYS_HEADER);
75+
ut_d(if (block) buf_block_dbg_add_level(block, SYNC_TRX_SYS_HEADER);)
7776
return block;
7877
}
7978

0 commit comments

Comments
 (0)