HomeFreeBSD

databases/cego: update 2.38.3 -> 2.38.5

Description

databases/cego: update 2.38.3 -> 2.38.5

  • Fix in CegoBTreeValue::valueFromSchema, introduced method getReservedLength to return fixed value length for type fixed and decimal. Since for decimal and fixed type just the dimension is stored in CegoField::getLength, we must define a reserved area for those types. This is done now with constant definition RESERVED_BTREE_FLOATLEN in CegoDefs.h
  • Improved ordersize calculation in CegoOrderSpace:insertTuple. Now the following formula is used : int s = sizeof(fv); if ( fv.getLength() > STATICFIELDBUF ) s += fv.getLength(); orderEntryLen += s; The catches the base memory usage for the instance but also the dynamic allocated part

Submitted by: Bjoern Lemke <lemke@lemke-it.com>

Details

Provenance
piAuthored on
Parents
rP454879: Update to upstream version 1.4.4 (bug fixes)
Branches
Unknown
Tags
Unknown