mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb storage/ndb/src/mgmsrv/InitConfigFileParser.cpp: Auto merged storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp: merge
This commit is contained in:
commit
64c8b3a6b8
2 changed files with 8 additions and 1 deletions
|
|
@ -484,6 +484,13 @@ Uint32 Dbtup::leafPageRangeFull(Fragrecord* const regFragPtr, PageRangePtr curr
|
||||||
ptrCheckGuard(parentPageRangePtr, cnoOfPageRangeRec, pageRange);
|
ptrCheckGuard(parentPageRangePtr, cnoOfPageRangeRec, pageRange);
|
||||||
if (parentPageRangePtr.p->currentIndexPos < 3) {
|
if (parentPageRangePtr.p->currentIndexPos < 3) {
|
||||||
jam();
|
jam();
|
||||||
|
|
||||||
|
if (c_noOfFreePageRanges < tiprNoLevels)
|
||||||
|
{
|
||||||
|
jam();
|
||||||
|
return RNIL;
|
||||||
|
}//if
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
/* ---------------------------------------------------------------- */
|
||||||
/* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */
|
/* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */
|
||||||
/* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */
|
/* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */
|
||||||
|
|
|
||||||
|
|
@ -669,7 +669,7 @@ InitConfigFileParser::store_in_properties(Vector<struct my_option>& options,
|
||||||
if (options[i].var_type == GET_INT)
|
if (options[i].var_type == GET_INT)
|
||||||
ctx.m_currentSection->put(options[i].name, (Uint32)value_int);
|
ctx.m_currentSection->put(options[i].name, (Uint32)value_int);
|
||||||
else
|
else
|
||||||
ctx.m_currentSection->put(options[i].name, value_int);
|
ctx.m_currentSection->put64(options[i].name, value_int);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue