Skip to content
Permalink
Browse files
Fix -Wunused-variable
  • Loading branch information
dr-m committed Sep 30, 2018
1 parent b154d30 commit ac8c7a1
Showing 1 changed file with 3 additions and 1 deletion.
@@ -2417,7 +2417,9 @@ static bool srv_purge_should_exit()
return(true);
}
/* Slow shutdown was requested. */
if (ulint history_size = trx_sys.history_size()) {
ulint history_size = trx_sys.history_size();

if (history_size) {
#if defined HAVE_SYSTEMD && !defined EMBEDDED_LIBRARY
static ib_time_t progress_time;
ib_time_t time = ut_time();

0 comments on commit ac8c7a1

Please sign in to comment.