corrected previous patch

This commit is contained in:
unknown 2006-03-22 10:54:55 +01:00
parent 07627827e9
commit 76313a555c
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ Ndbfs::execREAD_CONFIG_REQ(Signal* signal)
m_maxFiles = 40;
ndb_mgm_get_int_parameter(p, CFG_DB_MAX_OPEN_FILES, &m_maxFiles);
Uint32 noIdleFiles = 27;
ndb_mgm_get_int_parameter(p, CFG_DB_INITIAL_OPEN_FILES, &m_maxFiles);
ndb_mgm_get_int_parameter(p, CFG_DB_INITIAL_OPEN_FILES, &noIdleFiles);
if (noIdleFiles > m_maxFiles)
m_maxFiles = noIdleFiles;
// Create idle AsyncFiles

View file

@ -893,7 +893,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
STR_VALUE(MAX_INT_RNIL) },
{
CFG_DB_MAX_OPEN_FILES,
CFG_DB_INITIAL_OPEN_FILES,
"InitialNoOfOpenFiles",
DB_TOKEN,
"Initial number of files open per "DB_TOKEN_PRINT" node.(One thread is created per file)",