Browse Source

Fix -Wunused-variable

pull/847/head
Marko Mäkelä 7 years ago
parent
commit
ac8c7a1c08
  1. 4
      storage/innobase/srv/srv0srv.cc

4
storage/innobase/srv/srv0srv.cc

@ -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();

Loading…
Cancel
Save