diff options
author | unknown <marko@hundin.mysql.fi> | 2004-03-16 12:18:02 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-03-16 12:18:02 +0200 |
commit | b06d16782ad1e10dcb3f9118bd3311a8c2818dae (patch) | |
tree | 51d8d54018821cb9a03b1909988978f9f28c2572 /innobase/que | |
parent | 3378ff399d995c7148f21351ab9cc6c43e1f9e8b (diff) | |
download | mariadb-git-b06d16782ad1e10dcb3f9118bd3311a8c2818dae.tar.gz |
InnoDB: remove debug code from non-debug version
innobase/include/que0que.h:
Remove que_graph_is_select()
Make que_node_print_info() a static function
innobase/include/que0que.ic:
Remove que_graph_is_select()
innobase/que/que0que.c:
Remove que_node_print_info() unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/que')
-rw-r--r-- | innobase/que/que0que.c | 4 |
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. */ |