Opened 13 years ago

Last modified 11 years ago

#127 closed enhancement

Change datatype of OId to long — at Version 2

Reported by: Dimitar Misev Owned by: Heinrich Stamerjohanns
Priority: major Milestone: Future
Component: rasserver Version: 8.3
Keywords: Cc: Peter Baumann, Dimitar Misev
Complexity: Very Hard

Description (last modified by Dimitar Misev)

OIds in rasdaman internally are represented as floating points, and it would be much better if they are actually integers. From a quick search, it seems like it might be sufficient to modify this

typedef double OIdPrimitive;

in reladminif/oidif.hh to long, and accordingly update the code that depends on it (which doesn't seem that much).

Change History (2)

comment:1 by Dimitar Misev, 13 years ago

It may be just a bug in the result printout in applications/rasql/rasql.cc but it's worth replacing the double OIDs with long in the code.

From a quick search I did, it seems like the the

typedef double OIdPrimitive;

in reladminif/oidif.hh should be converted to long.

comment:2 by Dimitar Misev, 13 years ago

Description: modified (diff)
Reporter: changed from beccati@… to Dimitar Misev
Summary: A double oid printed by rasqlChange datatype of OId to long
Note: See TracTickets for help on using tickets.