[unixODBC-dev] Regarding SQLLEN and unixODBC

Nick Gorham nick at lurcher.org
Fri Jun 5 19:55:56 BST 2009


Premnath Srinivasan wrote:
> 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.
>
>   
Yep, thats it precisely.

-- 
Nick


More information about the unixODBC-dev mailing list