Commit c3cc2243 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi
Browse files

trx0purge.c Fix a bug which might stop purge from running

buf0flu.c	Add an include to fix compile problem in non-inlined version
parent 1490475d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ Created 11/11/1995 Heikki Tuuri
#include "ibuf0ibuf.h"
#include "log0log.h"
#include "os0file.h"
#include "trx0sys.h"

/* When flushed, dirty blocks are searched in neigborhoods of this size, and
flushed along with the original page. */
+2 −0
Original line number Diff line number Diff line
@@ -678,6 +678,8 @@ trx_purge_choose_next_log(void)

	rseg = UT_LIST_GET_FIRST(trx_sys->rseg_list);

	min_trx_no = ut_dulint_max;

	min_rseg = NULL;
	
	while (rseg) {