MySQL Internals Manual  /  Stored Programs  /  Stored Program Execution

16.7 Stored Program Execution

Executing a Stored Program consists of interpreting the low level sp_instr code. The runtime interpreter itself is implemented in the method sp_head::execute(). Wrappers for different kinds of Stored Programs are implemented in the following methods:

  • PROCEDURE : see sp_head::execute_procedure(),

  • FUNCTION : see sp_head::execute_function(),

  • TRIGGER : see sp_head::execute_trigger(),

  • EVENT : see Event_job_data::execute().

User Comments
Sign Up Login You must be logged in to post a comment.