diff options
-rw-r--r-- | innobase/trx/trx0undo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/innobase/trx/trx0undo.c b/innobase/trx/trx0undo.c index dd249a7062a..b0a281110ae 100644 --- a/innobase/trx/trx0undo.c +++ b/innobase/trx/trx0undo.c @@ -401,6 +401,10 @@ trx_undo_seg_create( slot_no = trx_rsegf_undo_find_free(rseg_hdr, mtr); 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); } @@ -1532,9 +1536,6 @@ trx_undo_assign_undo( mutex_exit(&(rseg->mutex)); mtr_commit(&mtr); - fprintf(stderr, "InnoDB: no undo log slots free\n"); - ut_a(0); - return(NULL); } } |