In MySQL all transaction's savepoints are deleted when commit or rollback without savepoint is performed.
So if anotherInsertionSucceeded==false
transaction is first committed or rolled back and all savepoints are deleted and then rollback to savepoint fails.