8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00

More fixes, thanks to Claudio.

This commit is contained in:
dimitr 2006-01-28 07:37:26 +00:00
parent bf356ef64b
commit 272f1e1755

View File

@ -649,16 +649,16 @@ UCHAR* readNode(IndexNode* indexNode, UCHAR* pagePointer, SCHAR flags, bool leaf
number |= (*tmp & 0x7F) << 28;
if (tmp >= 128) {
tmp = *localPointer++;
number |= (*localPointer & 0x7F) << 35;
number |= (*tmp & 0x7F) << 35;
if (tmp >= 128) {
tmp = *localPointer++;
number |= (*localPointer & 0x7F) << 42;
number |= (*tmp & 0x7F) << 42;
if (tmp >= 128) {
tmp = *localPointer++;
number |= (*localPointer & 0x7F) << 49;
number |= (*tmp & 0x7F) << 49;
if (tmp >= 128) {
tmp = *localPointer++;
number |= (*localPointer & 0x7F) << 56; // We get 63 bits at this point!
number |= (*tmp & 0x7F) << 56; // We get 63 bits at this point!
}
}
}