Commit caf9c6ea authored by marko's avatar marko

branches/zip: Non-functional change: Use ut_d when assigning to mtr->state.

parent b2d9b59b
...@@ -158,9 +158,8 @@ mtr_commit( ...@@ -158,9 +158,8 @@ mtr_commit(
ut_ad(mtr); ut_ad(mtr);
ut_ad(mtr->magic_n == MTR_MAGIC_N); ut_ad(mtr->magic_n == MTR_MAGIC_N);
ut_ad(mtr->state == MTR_ACTIVE); ut_ad(mtr->state == MTR_ACTIVE);
#ifdef UNIV_DEBUG ut_d(mtr->state = MTR_COMMITTING);
mtr->state = MTR_COMMITTING;
#endif
write_log = mtr->modifications && mtr->n_log_recs; write_log = mtr->modifications && mtr->n_log_recs;
if (write_log) { if (write_log) {
...@@ -181,9 +180,7 @@ mtr_commit( ...@@ -181,9 +180,7 @@ mtr_commit(
log_release(); log_release();
} }
#ifdef UNIV_DEBUG ut_d(mtr->state = MTR_COMMITTED);
mtr->state = MTR_COMMITTED;
#endif
dyn_array_free(&(mtr->memo)); dyn_array_free(&(mtr->memo));
dyn_array_free(&(mtr->log)); dyn_array_free(&(mtr->log));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment