From c1c5222caed889169fab01612b335ef8b5f56ba5 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 27 Feb 2020 11:52:20 +0100 Subject: cleanup: PSI key is *always* the first argument --- sql/sp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sp.cc') diff --git a/sql/sp.cc b/sql/sp.cc index 5ea7a0ab4ba..584ec0b520b 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -2301,9 +2301,9 @@ bool sp_add_used_routine(Query_tables_list *prelocking_ctx, Query_arena *arena, const Sp_handler *handler, TABLE_LIST *belong_to_view) { - my_hash_init_opt(&prelocking_ctx->sroutines, system_charset_info, + my_hash_init_opt(PSI_INSTRUMENT_ME, &prelocking_ctx->sroutines, system_charset_info, Query_tables_list::START_SROUTINES_HASH_SIZE, - 0, 0, sp_sroutine_key, 0, 0, PSI_INSTRUMENT_ME); + 0, 0, sp_sroutine_key, 0, 0); if (!my_hash_search(&prelocking_ctx->sroutines, key->ptr(), key->length())) { -- cgit v1.2.1