Commit 781f5082 authored by unknown's avatar unknown

trx0undo.c:

  Remove an assertion in trx0undo.c which could erroneously fail when we ran out of tablespace


innobase/trx/trx0undo.c:
  Remove an assertion in trx0undo.c which could erroneously fail when we ran out of tablespace
parent fb7769de
...@@ -401,6 +401,10 @@ trx_undo_seg_create( ...@@ -401,6 +401,10 @@ trx_undo_seg_create(
slot_no = trx_rsegf_undo_find_free(rseg_hdr, mtr); slot_no = trx_rsegf_undo_find_free(rseg_hdr, mtr);
if (slot_no == ULINT_UNDEFINED) { if (slot_no == ULINT_UNDEFINED) {
ut_print_timestamp(stderr);
fprintf(stderr,
"InnoDB: Warning: cannot find a free slot for an undo log. Do you have too\n"
"InnoDB: many active transactions running concurrently?");
return(NULL); return(NULL);
} }
...@@ -1532,9 +1536,6 @@ trx_undo_assign_undo( ...@@ -1532,9 +1536,6 @@ trx_undo_assign_undo(
mutex_exit(&(rseg->mutex)); mutex_exit(&(rseg->mutex));
mtr_commit(&mtr); mtr_commit(&mtr);
fprintf(stderr, "InnoDB: no undo log slots free\n");
ut_a(0);
return(NULL); return(NULL);
} }
} }
......
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