Commit a9a44543 authored by unknown's avatar unknown

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:
  Add an include to fix compile problem in non-inlined version
innobase/trx/trx0purge.c:
  Fix a bug which might stop purge from running
parent 9e4545b7
...@@ -21,6 +21,7 @@ Created 11/11/1995 Heikki Tuuri ...@@ -21,6 +21,7 @@ Created 11/11/1995 Heikki Tuuri
#include "ibuf0ibuf.h" #include "ibuf0ibuf.h"
#include "log0log.h" #include "log0log.h"
#include "os0file.h" #include "os0file.h"
#include "trx0sys.h"
/* When flushed, dirty blocks are searched in neigborhoods of this size, and /* When flushed, dirty blocks are searched in neigborhoods of this size, and
flushed along with the original page. */ flushed along with the original page. */
......
...@@ -678,6 +678,8 @@ trx_purge_choose_next_log(void) ...@@ -678,6 +678,8 @@ trx_purge_choose_next_log(void)
rseg = UT_LIST_GET_FIRST(trx_sys->rseg_list); rseg = UT_LIST_GET_FIRST(trx_sys->rseg_list);
min_trx_no = ut_dulint_max;
min_rseg = NULL; min_rseg = NULL;
while (rseg) { while (rseg) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment