mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
corrected previous patch
This commit is contained in:
parent
07627827e9
commit
76313a555c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)",
|
||||
|
|
Loading…
Reference in a new issue