summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-01-08 16:14:26 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-01-08 16:14:26 +0200
commit18254c18d9c321835fbac1866be9ecbf4a8fe9c1 (patch)
tree3691eb9f8ade71e6ca1eb99738bc6e3a2da187ba
parent61a362c9493df63dc588fcb71409537ae56ab9c8 (diff)
downloadmariadb-git-18254c18d9c321835fbac1866be9ecbf4a8fe9c1.tar.gz
Cleanup: Remove unused symbol QUE_THR_PROCEDURE_WAIT
-rw-r--r--storage/innobase/include/que0que.h3
-rw-r--r--storage/innobase/que/que0que.cc3
2 files changed, 2 insertions, 4 deletions
diff --git a/storage/innobase/include/que0que.h b/storage/innobase/include/que0que.h
index 262be4d30a9..2798a4d40fb 100644
--- a/storage/innobase/include/que0que.h
+++ b/storage/innobase/include/que0que.h
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2017, 2020, MariaDB Corporation.
+Copyright (c) 2017, 2021, MariaDB Corporation.
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
@@ -303,7 +303,6 @@ que_fork_scheduler_round_robin(
/** Query thread states */
enum que_thr_state_t {
QUE_THR_RUNNING,
- QUE_THR_PROCEDURE_WAIT,
/** in selects this means that the thread is at the end of its
result set (or start, in case of a scroll cursor); in other
statements, this means the thread has done its task */
diff --git a/storage/innobase/que/que0que.cc b/storage/innobase/que/que0que.cc
index 3ad948af4d2..0b630bb1c8c 100644
--- a/storage/innobase/que/que0que.cc
+++ b/storage/innobase/que/que0que.cc
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2017, 2018, 2020 MariaDB Corporation.
+Copyright (c) 2017, 2021, MariaDB Corporation.
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
@@ -349,7 +349,6 @@ que_fork_start_command(
case QUE_THR_RUNNING:
case QUE_THR_LOCK_WAIT:
- case QUE_THR_PROCEDURE_WAIT:
ut_error;
}
}