From c3cc2243a57c4bcb75cd278458ffe6a1a5ccbf5f Mon Sep 17 00:00:00 2001 From: "heikki@donna.mysql.fi" <> Date: Wed, 8 Aug 2001 21:35:43 +0300 Subject: [PATCH] trx0purge.c Fix a bug which might stop purge from running buf0flu.c Add an include to fix compile problem in non-inlined version --- innobase/buf/buf0flu.c | 1 + innobase/trx/trx0purge.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/innobase/buf/buf0flu.c b/innobase/buf/buf0flu.c index 0f27cee45a5..82b12103c4c 100644 --- a/innobase/buf/buf0flu.c +++ b/innobase/buf/buf0flu.c @@ -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. */ diff --git a/innobase/trx/trx0purge.c b/innobase/trx/trx0purge.c index 032b3ffcf3b..afb83926fa3 100644 --- a/innobase/trx/trx0purge.c +++ b/innobase/trx/trx0purge.c @@ -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) {