diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2007-04-02 09:45:58 +0200 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2007-04-02 09:45:58 +0200 |
commit | f04a09f0dc65b6741dd5948fdeaf372c5af36475 (patch) | |
tree | 618c7e8893351e77f473c94f08e6e0f267b53a01 /ndb | |
parent | 8aa507edb99a6f24553b9a8f773411327307aa0b (diff) | |
parent | d71a221d243bab6388d15d6fbb7228d365385e85 (diff) | |
download | mariadb-git-f04a09f0dc65b6741dd5948fdeaf372c5af36475.tar.gz |
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
Auto merged
ndb/src/mgmsrv/InitConfigFileParser.cpp:
Auto merged
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp | 7 | ||||
-rw-r--r-- | ndb/src/mgmsrv/InitConfigFileParser.cpp | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp b/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp index 60a83e46cd9..49c7af4161a 100644 --- a/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp +++ b/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp @@ -452,6 +452,13 @@ Uint32 Dbtup::leafPageRangeFull(Fragrecord* const regFragPtr, PageRangePtr curr ptrCheckGuard(parentPageRangePtr, cnoOfPageRangeRec, pageRange); if (parentPageRangePtr.p->currentIndexPos < 3) { ljam(); + + if (c_noOfFreePageRanges < tiprNoLevels) + { + ljam(); + 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, */ diff --git a/ndb/src/mgmsrv/InitConfigFileParser.cpp b/ndb/src/mgmsrv/InitConfigFileParser.cpp index 7735f7106e7..fc25197cf38 100644 --- a/ndb/src/mgmsrv/InitConfigFileParser.cpp +++ b/ndb/src/mgmsrv/InitConfigFileParser.cpp @@ -657,7 +657,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; |