Commit c73f724e authored by Mikael Ronstrom's avatar Mikael Ronstrom

Yet another attempt to fix Windows

parent 60cc7909
...@@ -1251,11 +1251,11 @@ innobase_start_or_create_for_mysql(void) ...@@ -1251,11 +1251,11 @@ innobase_start_or_create_for_mysql(void)
#ifdef __WIN__ #ifdef __WIN__
/* /*
Need to hardcode this to 2 read and 2 write on Windows Need to hardcode this to 1 read and 1 write on Windows
while searching for problem causing this to crash when while searching for problem causing this to crash when
higher number of threads are supported. higher number of threads are supported.
*/ */
srv_n_read_io_threads = srv_n_write_io_threads = 2; srv_n_read_io_threads = srv_n_write_io_threads = 1;
#endif #endif
/* Restrict the maximum number of file i/o threads */ /* Restrict the maximum number of file i/o threads */
if ((srv_n_read_io_threads + srv_n_write_io_threads) > SRV_MAX_N_IO_THREADS) { if ((srv_n_read_io_threads + srv_n_write_io_threads) > SRV_MAX_N_IO_THREADS) {
......
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