mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
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
This commit is contained in:
parent
9e4545b791
commit
a9a445437a
2 changed files with 3 additions and 0 deletions
|
@ -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. */
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue