Skip to content

Commit

Permalink
after-merge fixes for failures in buildbot
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Apr 27, 2016
1 parent 8b1563e commit cf22514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--loose-innodb-buffer-pool-size=20M
6 changes: 2 additions & 4 deletions storage/innobase/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3498,13 +3498,11 @@ innobase_init(
}
}

if (innobase_open_files > (long) open_files_limit) {
if (innobase_open_files > (long) tc_size) {
fprintf(stderr,
"innodb_open_files should not be greater"
" 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;
Expand Down

0 comments on commit cf22514

Please sign in to comment.