About RDBI types

Mateusz Loskot mateusz at loskot.net
Tue Dec 12 15:08:17 EST 2006


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




More information about the Fdo-internals mailing list