Commit 3826178d authored by Marko Mäkelä's avatar Marko Mäkelä

Fix the Windows non-debug build

warning C4390:  ';': empty controlled statement found; is this the intent?
parent 4beace33
...@@ -72,8 +72,7 @@ inline buf_block_t *trx_sysf_get(mtr_t* mtr, bool rw= true) ...@@ -72,8 +72,7 @@ inline buf_block_t *trx_sysf_get(mtr_t* mtr, bool rw= true)
{ {
buf_block_t* block = buf_page_get(page_id_t(TRX_SYS_SPACE, TRX_SYS_PAGE_NO), buf_block_t* block = buf_page_get(page_id_t(TRX_SYS_SPACE, TRX_SYS_PAGE_NO),
0, rw ? RW_X_LATCH : RW_S_LATCH, mtr); 0, rw ? RW_X_LATCH : RW_S_LATCH, mtr);
if (block) ut_d(if (block) buf_block_dbg_add_level(block, SYNC_TRX_SYS_HEADER);)
buf_block_dbg_add_level(block, SYNC_TRX_SYS_HEADER);
return block; return block;
} }
......
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