diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-05-04 22:13:46 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-05-04 22:13:46 +0200 |
commit | 085297a1214814cd7eacbab2afb24c7a08bfc40e (patch) | |
tree | 37258971c18a8a50cded86bf84546b67f67fbaec /storage/innobase/que/que0que.cc | |
parent | 6d06fbbd1dc25b3c12568f9038060dfdb69f9683 (diff) | |
download | mariadb-git-085297a1214814cd7eacbab2afb24c7a08bfc40e.tar.gz |
5.6.24
Diffstat (limited to 'storage/innobase/que/que0que.cc')
-rw-r--r-- | storage/innobase/que/que0que.cc | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/storage/innobase/que/que0que.cc b/storage/innobase/que/que0que.cc index fb185959d56..957a90e71b3 100644 --- a/storage/innobase/que/que0que.cc +++ b/storage/innobase/que/que0que.cc @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -380,32 +380,6 @@ que_fork_start_command( return(thr); } -/****************************************************************//** -Tests if all the query threads in the same fork have a given state. -@return TRUE if all the query threads in the same fork were in the -given state */ -UNIV_INLINE -ibool -que_fork_all_thrs_in_state( -/*=======================*/ - que_fork_t* fork, /*!< in: query fork */ - ulint state) /*!< in: state */ -{ - que_thr_t* thr_node; - - for (thr_node = UT_LIST_GET_FIRST(fork->thrs); - thr_node != NULL; - thr_node = UT_LIST_GET_NEXT(thrs, thr_node)) { - - if (thr_node->state != state) { - - return(FALSE); - } - } - - return(TRUE); -} - /**********************************************************************//** Calls que_graph_free_recursive for statements in a statement list. */ static |