mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03: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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user