Commit af171ae3 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

log0log.c Eliminate a Purify warning

buf0buf.c	Fix uninitilaized flush field noticed with Purify
parent 8fff8f18
...@@ -359,6 +359,7 @@ buf_pool_create( ...@@ -359,6 +359,7 @@ buf_pool_create(
for (i = BUF_FLUSH_LRU; i <= BUF_FLUSH_LIST; i++) { for (i = BUF_FLUSH_LRU; i <= BUF_FLUSH_LIST; i++) {
buf_pool->n_flush[i] = 0; buf_pool->n_flush[i] = 0;
buf_pool->init_flush[i] = FALSE;
buf_pool->no_flush[i] = os_event_create(NULL); buf_pool->no_flush[i] = os_event_create(NULL);
} }
......
...@@ -613,6 +613,7 @@ log_init(void) ...@@ -613,6 +613,7 @@ log_init(void)
log_sys->archiving_state = LOG_ARCH_ON; log_sys->archiving_state = LOG_ARCH_ON;
log_sys->archived_lsn = log_sys->lsn; log_sys->archived_lsn = log_sys->lsn;
log_sys->next_archived_lsn = ut_dulint_zero;
log_sys->n_pending_archive_ios = 0; log_sys->n_pending_archive_ios = 0;
......
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