Commit afac7ead authored by unknown's avatar unknown

Bug #28749 MaxNoOfOpenFiles offset by 1

parent daa6ed42
...@@ -569,7 +569,7 @@ AsyncFile* ...@@ -569,7 +569,7 @@ AsyncFile*
Ndbfs::createAsyncFile(){ Ndbfs::createAsyncFile(){
// Check limit of open files // Check limit of open files
if (theFiles.size()+1 == m_maxFiles) { if (theFiles.size() == m_maxFiles) {
// Print info about all open files // Print info about all open files
for (unsigned i = 0; i < theFiles.size(); i++){ for (unsigned i = 0; i < theFiles.size(); i++){
AsyncFile* file = theFiles[i]; AsyncFile* file = theFiles[i];
......
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