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 | 2c5fb79089ee415250628bd59f7682636a4d2535 (patch) | |
tree | 51d8d54018821cb9a03b1909988978f9f28c2572 /innobase/include/que0que.ic | |
parent | 9b6e7ac1af588e1d2ed1ef5ec042e44f42a49208 (diff) | |
download | mariadb-git-2c5fb79089ee415250628bd59f7682636a4d2535.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/include/que0que.ic')
-rw-r--r-- | innobase/include/que0que.ic | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/innobase/include/que0que.ic b/innobase/include/que0que.ic index ae4ed10560f..a63922f8c80 100644 --- a/innobase/include/que0que.ic +++ b/innobase/include/que0que.ic @@ -238,21 +238,3 @@ que_thr_peek_stop( return(FALSE); } - -/*************************************************************************** -Returns TRUE if the query graph is for a SELECT statement. */ -UNIV_INLINE -ibool -que_graph_is_select( -/*================*/ - /* out: TRUE if a select */ - que_t* graph) /* in: graph */ -{ - if (graph->fork_type == QUE_FORK_SELECT_SCROLL - || graph->fork_type == QUE_FORK_SELECT_NON_SCROLL) { - - return(TRUE); - } - - return(FALSE); -} |