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>
This commit is contained in:
Kurt Jaeger 2017-11-25 12:54:48 +00:00
parent 69752afd6d
commit 94f035c7c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454880
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= cego
PORTVERSION= 2.38.3
PORTVERSION= 2.38.5
CATEGORIES= databases
MASTER_SITES= http://www.lemke-it.com/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1511375712
SHA256 (cego-2.38.3.tar.gz) = 4ee4a0435c0ea3680a3862cbc100d07fa53ce86bd6c57d10ce5b441533d18d46
SIZE (cego-2.38.3.tar.gz) = 1442779
TIMESTAMP = 1511609756
SHA256 (cego-2.38.5.tar.gz) = 8a0e4133eaeaf7050a092daf888ea0321d65e754aa31059cbf5e3fc9d43b0f78
SIZE (cego-2.38.5.tar.gz) = 1443219