MySQL Internals Manual  /  Writing a Procedure  /  Extend Class Procedure

18.1 Extend Class Procedure

Each new procedure needs to extend the Procedure class. For a minimal dummy procedure that doesn't actually change the result set it would look like this:

 class proc_dummy: public Procedure { } 

In a real procedure you'd extend at least some of the member functions below:

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