mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Bug #28749 MaxNoOfOpenFiles offset by 1
This commit is contained in:
parent
daa6ed426a
commit
afac7ead7f
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue