exec write_and_rollback