diff --git a/storage/innobase/srv/srv0start.cc b/storage/innobase/srv/srv0start.cc index 9ad5c960e5f30..76587822bb1dc 100644 --- a/storage/innobase/srv/srv0start.cc +++ b/storage/innobase/srv/srv0start.cc @@ -2603,7 +2603,7 @@ innobase_start_or_create_for_mysql(void) buf_mtflu_set_thread_ids( srv_mtflush_threads, mtflush_ctx, - (thread_ids + 6 + SRV_MAX_N_PURGE_THREADS)); + (thread_ids + 6 + 32)); #if UNIV_DEBUG fprintf(stderr, "InnoDB: Note: %s:%d buf-pool-instances:%lu mtflush_threads %lu\n",