summaryrefslogtreecommitdiff
path: root/innobase/fut/fut0lst.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/fut/fut0lst.c')
-rw-r--r--innobase/fut/fut0lst.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/innobase/fut/fut0lst.c b/innobase/fut/fut0lst.c
index 79830c36eb5..3d92aaba1ef 100644
--- a/innobase/fut/fut0lst.c
+++ b/innobase/fut/fut0lst.c
@@ -490,6 +490,7 @@ flst_validate(
return(TRUE);
}
+#ifdef UNIV_DEBUG
/************************************************************************
Prints info of a file-based list. */
@@ -509,9 +510,11 @@ flst_print(
len = flst_get_len(base, mtr);
- printf("FILE-BASED LIST:\n");
- printf("Base node in space %lu page %lu byte offset %lu; len %lu\n",
+ fprintf(stderr,
+ "FILE-BASED LIST:\n"
+ "Base node in space %lu page %lu byte offset %lu; len %lu\n",
(ulong) buf_frame_get_space_id(frame),
(ulong) buf_frame_get_page_no(frame),
(ulong) (base - frame), (ulong) len);
}
+#endif /* UNIV_DEBUG */