Commit cf225145 authored by Sergei Golubchik's avatar Sergei Golubchik

after-merge fixes for failures in buildbot

parent 8b1563ea
...@@ -3498,14 +3498,12 @@ innobase_init( ...@@ -3498,14 +3498,12 @@ innobase_init(
} }
} }
if (innobase_open_files > (long) open_files_limit) { if (innobase_open_files > (long) tc_size) {
fprintf(stderr, fprintf(stderr,
"innodb_open_files should not be greater" "innodb_open_files should not be greater"
" than the open_files_limit.\n"); " than the open_files_limit.\n");
if (innobase_open_files > (long) tc_size) {
innobase_open_files = tc_size; innobase_open_files = tc_size;
} }
}
srv_max_n_open_files = (ulint) innobase_open_files; srv_max_n_open_files = (ulint) innobase_open_files;
srv_innodb_status = (ibool) innobase_create_status_file; srv_innodb_status = (ibool) innobase_create_status_file;
......
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