Bug #28749 MaxNoOfOpenFiles offset by 1

This commit is contained in:
unknown 2007-05-30 09:00:50 +02:00
parent daa6ed426a
commit afac7ead7f

View file

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