1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Removing sp_head::is_stored_procedure. This code was dead after MDEV-15991

This commit is contained in:
Alexander Barkov
2018-06-26 17:53:11 +04:00
parent fe76e68e0e
commit 1d6bc0f01f
3 changed files with 1 additions and 8 deletions

View File

@ -974,10 +974,6 @@ public:
enum_state state;
protected:
friend class sp_head;
bool is_stored_procedure;
public:
/* We build without RTTI, so dynamic_cast can't be used. */
enum Type
@ -986,8 +982,7 @@ public:
};
Query_arena(MEM_ROOT *mem_root_arg, enum enum_state state_arg) :
free_list(0), mem_root(mem_root_arg), state(state_arg),
is_stored_procedure(state_arg == STMT_INITIALIZED_FOR_SP ? true : false)
free_list(0), mem_root(mem_root_arg), state(state_arg)
{ INIT_ARENA_DBUG_INFO; }
/*
This constructor is used only when Query_arena is created as