summaryrefslogtreecommitdiff
path: root/innobase/dict/dict0boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/dict/dict0boot.c')
-rw-r--r--innobase/dict/dict0boot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/innobase/dict/dict0boot.c b/innobase/dict/dict0boot.c
index 0bf2ace3324..7985dbeee66 100644
--- a/innobase/dict/dict0boot.c
+++ b/innobase/dict/dict0boot.c
@@ -39,8 +39,9 @@ dict_hdr_get(
header = DICT_HDR + buf_page_get(DICT_HDR_SPACE, DICT_HDR_PAGE_NO,
RW_X_LATCH, mtr);
+#ifdef UNIV_SYNC_DEBUG
buf_page_dbg_add_level(header, SYNC_DICT_HEADER);
-
+#endif /* UNIV_SYNC_DEBUG */
return(header);
}
@@ -94,7 +95,9 @@ dict_hdr_flush_row_id(void)
dulint id;
mtr_t mtr;
+#ifdef UNIV_SYNC_DEBUG
ut_ad(mutex_own(&(dict_sys->mutex)));
+#endif /* UNIV_SYNC_DEBUG */
id = dict_sys->row_id;