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