diff options
| author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-28 19:53:00 +0200 |
|---|---|---|
| committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-28 19:53:00 +0200 |
| commit | 3826178da89f987ebf641bcd92d4a714d51b3ecb (patch) | |
| tree | f477926313d5b79c745296eb94ef8f9a9a9d104b | |
| parent | 4beace33160d6f94556a3e30423db1dcd0ac72cf (diff) | |
| download | mariadb-git-3826178da89f987ebf641bcd92d4a714d51b3ecb.tar.gz | |
Fix the Windows non-debug build
warning C4390: ';': empty controlled statement found; is this the intent?
| -rw-r--r-- | storage/innobase/include/trx0sys.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/include/trx0sys.h b/storage/innobase/include/trx0sys.h index bdac5a86a0e..73f05eb5d48 100644 --- a/storage/innobase/include/trx0sys.h +++ b/storage/innobase/include/trx0sys.h @@ -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), 0, rw ? RW_X_LATCH : RW_S_LATCH, mtr); - if (block) - buf_block_dbg_add_level(block, SYNC_TRX_SYS_HEADER); + ut_d(if (block) buf_block_dbg_add_level(block, SYNC_TRX_SYS_HEADER);) return block; } |
