Loading storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -484,6 +484,13 @@ Uint32 Dbtup::leafPageRangeFull(Fragrecord* const regFragPtr, PageRangePtr curr ptrCheckGuard(parentPageRangePtr, cnoOfPageRangeRec, pageRange); if (parentPageRangePtr.p->currentIndexPos < 3) { jam(); if (c_noOfFreePageRanges < tiprNoLevels) { jam(); return RNIL; }//if /* ---------------------------------------------------------------- */ /* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */ /* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */ Loading storage/ndb/src/mgmsrv/InitConfigFileParser.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -669,7 +669,7 @@ InitConfigFileParser::store_in_properties(Vector<struct my_option>& options, if (options[i].var_type == GET_INT) ctx.m_currentSection->put(options[i].name, (Uint32)value_int); else ctx.m_currentSection->put(options[i].name, value_int); ctx.m_currentSection->put64(options[i].name, value_int); } } return true; Loading storage/ndb/test/run-test/files.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx) const char * val; require(proc.m_options.m_loaded.get("--datadir=", &val)); BaseString tmp; tmp.assfmt("%s/bin/mysql_install_db --datadir=%s > /dev/null 2>&1", g_prefix, val); tmp.assfmt("%s/bin/mysql_install_db --defaults-file=%s/my.cnf --datadir=%s > /dev/null 2>&1", g_prefix, g_basedir, val); if (system(tmp.c_str()) != 0) { g_logger.error("Failed to mysql_install_db for %s", proc.m_proc.m_cwd.c_str()); g_logger.error("Failed to mysql_install_db for %s, cmd: >%s<", proc.m_proc.m_cwd.c_str(), tmp.c_str()); } else { Loading Loading
storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -484,6 +484,13 @@ Uint32 Dbtup::leafPageRangeFull(Fragrecord* const regFragPtr, PageRangePtr curr ptrCheckGuard(parentPageRangePtr, cnoOfPageRangeRec, pageRange); if (parentPageRangePtr.p->currentIndexPos < 3) { jam(); if (c_noOfFreePageRanges < tiprNoLevels) { jam(); return RNIL; }//if /* ---------------------------------------------------------------- */ /* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */ /* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */ Loading
storage/ndb/src/mgmsrv/InitConfigFileParser.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -669,7 +669,7 @@ InitConfigFileParser::store_in_properties(Vector<struct my_option>& options, if (options[i].var_type == GET_INT) ctx.m_currentSection->put(options[i].name, (Uint32)value_int); else ctx.m_currentSection->put(options[i].name, value_int); ctx.m_currentSection->put64(options[i].name, value_int); } } return true; Loading
storage/ndb/test/run-test/files.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx) const char * val; require(proc.m_options.m_loaded.get("--datadir=", &val)); BaseString tmp; tmp.assfmt("%s/bin/mysql_install_db --datadir=%s > /dev/null 2>&1", g_prefix, val); tmp.assfmt("%s/bin/mysql_install_db --defaults-file=%s/my.cnf --datadir=%s > /dev/null 2>&1", g_prefix, g_basedir, val); if (system(tmp.c_str()) != 0) { g_logger.error("Failed to mysql_install_db for %s", proc.m_proc.m_cwd.c_str()); g_logger.error("Failed to mysql_install_db for %s, cmd: >%s<", proc.m_proc.m_cwd.c_str(), tmp.c_str()); } else { Loading