attempt to reset savepoint ids on deadlock in mysql