[unixODBC-dev] Regarding SQLLEN and unixODBC

Premnath Srinivasan s.premnath at in.ibm.com
Fri Jun 5 18:42:19 BST 2009


Hi All,

Need some clarifications on the SIZEOF( SQLLEN ) with the latest unixODBC
Driver Manager.

With the latest unixODBC Driver Manager, the SIZEOF( SQLLEN ) is 8(64-bit)
...  and if we want the Driver Manager to treat  SIZEOF( SQLLEN ) as 4(32
bit), then we need to set the flag BUILD_LEGACY_64_BIT_MODE.

Where as the older versions of unixODBC Driver manager was treating SQLLEN
as 32 bit.  And for the older unixODBC, we need to use the flag
DBUILD_REAL_64_BIT_MODE to use the 64 bit SQLLEN.

Am I right here ?  Can I get some unixODBC links which explains the SIZEOF(
SQLLEN ) in detail.  Thanks in advance.

Thanks and Regards,
Premnath Srinivasan



More information about the unixODBC-dev mailing list