[fdo-dev] About RDBI types

Brent Robinson brent.robinson at autodesk.com
Tue Dec 12 15:34:33 EST 2006


Hi Mateusz,

Would that be the RDBI type returned by
FdoSmPhMySqlColumnInt64::GetRdbType()?

It could be a historical thing since GetRdbType() was likely written
before the RDBI_LONGLONG type was introduced. I'll change it to return
RDBI_LONGLONG. 

Brent.

-----Original Message-----
From: Mateusz Loskot [mailto:mateusz at loskot.net] 
Sent: Tuesday, December 12, 2006 3:08 PM
To: fdo-dev
Subject: [fdo-dev] About RDBI types

Hi,

Why, in MySQL provider, the ColumnInt32 column type is identified
as RDBI LONG, but ColumnInt64 as RDBI_DOUBLE?

As I see, RDBI layer defines RDBI_INT and RDBI_LONGLONG, so
I'd expect ColumnInt32 mapped to RDBI_INT and ColumnInt64
to RDBI_LONGLONG.

I'm asking because I'm not sure (yet) if/how RDBI_DOUBLE for ColumnInt64
might influence C++ type selection, ie. if use C++ double for
calculations on int64 types, etc.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at fdo.osgeo.org
For additional commands, e-mail: dev-help at fdo.osgeo.org





More information about the Fdo_dev mailing list