291
293
/* If commit fails, we should be able to reset the OK status. */
293
295
TransactionServices &transaction_services= TransactionServices::singleton();
294
296
transaction_services.autocommitOrRollback(*session, session->is_error());
297
299
session->transaction.stmt.reset();