Commit 8192d040 authored by heikki@hundin.mysql.fi's avatar heikki@hundin.mysql.fi
Browse files

trx0undo.c:

  Remove an assertion in trx0undo.c which could erroneously fail when we ran out of tablespace
parent 51f83ae1
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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);
		}
	}