summaryrefslogtreecommitdiff
path: root/innobase/include/trx0undo.ic
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-03-12 17:14:51 +0200
committermarko@hundin.mysql.fi <>2004-03-12 17:14:51 +0200
commit4573eb566c6201103cda1ef5e079d010cd137802 (patch)
tree6a59a674bf740a7b4046a20e847ad2578a573d69 /innobase/include/trx0undo.ic
parent7362b9a9eef314161c81ad7df3f8e78b892f2f6c (diff)
downloadmariadb-git-4573eb566c6201103cda1ef5e079d010cd137802.tar.gz
Allow UNIV_SYNC_DEBUG to be disabled while UNIV_DEBUG is enabled
Diffstat (limited to 'innobase/include/trx0undo.ic')
-rw-r--r--innobase/include/trx0undo.ic4
1 files changed, 4 insertions, 0 deletions
diff --git a/innobase/include/trx0undo.ic b/innobase/include/trx0undo.ic
index bedbc02b00b..a04b234b495 100644
--- a/innobase/include/trx0undo.ic
+++ b/innobase/include/trx0undo.ic
@@ -126,7 +126,9 @@ trx_undo_page_get(
page = buf_page_get(space, page_no, RW_X_LATCH, mtr);
+#ifdef UNIV_SYNC_DEBUG
buf_page_dbg_add_level(page, SYNC_TRX_UNDO_PAGE);
+#endif /* UNIV_SYNC_DEBUG */
return(page);
}
@@ -146,7 +148,9 @@ trx_undo_page_get_s_latched(
page = buf_page_get(space, page_no, RW_S_LATCH, mtr);
+#ifdef UNIV_SYNC_DEBUG
buf_page_dbg_add_level(page, SYNC_TRX_UNDO_PAGE);
+#endif /* UNIV_SYNC_DEBUG */
return(page);
}