MySQL 9.5.0
Source Code Documentation
sp_instr_inline.h File Reference
#include <string>
#include <unordered_set>
#include "my_inttypes.h"

Go to the source code of this file.

Namespaces

namespace  sp_inl
 

Functions

bool sp_inl::needs_stored_function_inlining (THD *thd)
 Main functions for stored function inlining. More...
 
bool sp_inl::can_inline_stored_function (THD *thd, sp_head *sp, uint sp_arg_count)
 Checks if general stored function properties are eligible for inlining. More...
 
Mem_root_array< sp_inline_instr * > * sp_inl::prepare (THD *thd, sp_head *sp, std::unordered_set< sp_head * > &used_sp_functions)
 Creates the list of prepared instructions. More...
 
Itemsp_inl::inline_stored_function (THD *thd, Mem_root_array< sp_inline_instr * > *prepared_instructions, Item **sp_args, uint sp_arg_count, sp_head *sp_head, Name_resolution_context *sp_name_resolution_ctx)
 Inlines the given stored function instructions into a single Item. More...
 
void sp_inl::report_stored_function_inlining_error (THD *thd, const char *func_name, std::string &err_reason)
 Finalizes the error message for stored function inlining and reports the error. More...