summaryrefslogtreecommitdiff
path: root/innobase/que/que0que.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/que/que0que.c')
-rw-r--r--innobase/que/que0que.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/que/que0que.c b/innobase/que/que0que.c
index 279f9fc21aa..bff0fe61248 100644
--- a/innobase/que/que0que.c
+++ b/innobase/que/que0que.c
@@ -1034,9 +1034,10 @@ que_thr_stop_for_mysql_no_error(
trx->n_active_thrs--;
}
+#ifdef UNIV_DEBUG
/**************************************************************************
Prints info of an SQL query graph node. */
-
+static
void
que_node_print_info(
/*================*/
@@ -1093,6 +1094,7 @@ que_node_print_info(
fprintf(stderr, "Node type %lu: %s, address %p\n", type, str, node);
}
+#endif /* UNIV_DEBUG */
/**************************************************************************
Performs an execution step on a query thread. */