15.16.5.4. Implementing the savepoint_release() Function
The savepoint_release() function is
called whenever a user issues the RELEASE
SAVEPOINT statement:
int (*savepoint_release) (THD *thd, void *sv);
The *sv parameter points to the storage
area that was previously passed to the
savepoint_set() function.