diff options
author | unknown <heikki@hundin.mysql.fi> | 2002-09-09 02:12:57 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2002-09-09 02:12:57 +0300 |
commit | 781f508273c987fa858ba4c10c448d943cd6b654 (patch) | |
tree | b714a305cc7899fcf0d2d85401a347e1f58d67f4 /innobase/trx | |
parent | fb7769dedb26aa27d73dcacfd45130aec4df7b40 (diff) | |
download | mariadb-git-781f508273c987fa858ba4c10c448d943cd6b654.tar.gz |
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
Diffstat (limited to 'innobase/trx')
-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); } } |