MCPcopy Create free account
hub / github.com/MariaDB/server / execute

Method execute

sql/sql_parse.cc:3253–3266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3251
3252#ifndef DBUG_OFF
3253bool Sql_cmd_show_routine_code::execute(THD *thd)
3254{
3255 sp_head *sp;
3256 if (m_handler->sp_cache_routine(thd, m_name, &sp))
3257 return true;
3258 if (!sp || sp->show_routine_code(thd))
3259 {
3260 /* We don't distinguish between errors for now */
3261 my_error(ER_SP_DOES_NOT_EXIST, MYF(0),
3262 m_handler->type_str(), m_name->m_name.str);
3263 return true;
3264 }
3265 return false;
3266}
3267#endif // DBUG_OFF
3268
3269

Callers 1

sql_parse.ccFile · 0.45

Calls 14

my_errorFunction · 0.85
sp_cache_lookupFunction · 0.85
ErrConvDQNameClass · 0.85
do_execute_spFunction · 0.85
show_routine_codeMethod · 0.80
type_strMethod · 0.80
check_execute_accessMethod · 0.80
check_table_accessFunction · 0.70
open_and_lock_tablesFunction · 0.70
check_routine_accessFunction · 0.70
sp_cache_routineMethod · 0.45

Tested by

no test coverage detected