Permalink
Browse files

Follow up commit for BUG#21121164 to fix compile error.

  • Loading branch information...
Bin Su
Bin Su committed May 25, 2015
1 parent d511b50 commit e0e1f02d97f54252c1e6ea386dc029560c9f7d08
Showing with 2 additions and 1 deletion.
  1. +2 −1 storage/innobase/api/api0api.cc
@@ -3743,7 +3743,8 @@ ib_table_truncate(
}
if (trunc_err == DB_SUCCESS) {
ut_a(!trx_is_started(static_cast<trx_t*>(ib_trx)));
ut_a(ib_trx_state(ib_trx) == static_cast<ib_trx_state_t>(
TRX_STATE_NOT_STARTED));
} else {
err = ib_trx_rollback(ib_trx);
ut_a(err == DB_SUCCESS);

0 comments on commit e0e1f02

Please sign in to comment.