summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2012-07-11 13:39:56 +0400
committerSergey Petrunya <psergey@askmonty.org>2012-07-11 13:39:56 +0400
commitf913ba7a605b965359b437db36b0baa5498ec2c0 (patch)
tree0c6bc684c4876fab5b71ad4c8a4a0207c26d6f12 /sql/sql_class.cc
parent725d76e1e844b587eeeab23fb0caa670735e47b6 (diff)
downloadmariadb-git-f913ba7a605b965359b437db36b0baa5498ec2c0.tar.gz
MWL#182: Explain running statements: address review feedback
- Make THD::check_killed() an inline function which makes calls to non-inline functions only whern there are APC requests to be served.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index d6d14c45b47..414b1ba3f7f 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -2166,21 +2166,6 @@ void THD::rollback_item_tree_changes()
}
-/*
- Check if the thread has been killed, and also process "APC requests"
-
- @retval true The thread is killed, execution should be interrupted
- @retval false Not killed, continue execution
-*/
-
-bool THD::check_killed()
-{
- if (killed)
- return TRUE;
- apc_target.process_apc_requests();
- return FALSE;
-}
-
/*****************************************************************************
** Functions to provide a interface to select results
*****************************************************************************/