[unixODBC-support] SQLDrivers() doesn't report length for DriverAttributes when called with NULL

Nick Gorham nick at lurcher.org
Sat Aug 17 00:22:20 BST 2013


On 15/08/13 18:14, Frank Some wrote:
> Hello,
>
> I'm calling this function with NULL pointers for the arguments
> DriverDescription and DriverAttributes in order to fetch the character
> lengths of the to be returned strings in advanced.
>
> It returns the correct length for the DriverDescription but for the
> DriverAttributes it returns 0 although a string is returned for it if I
> give it a buffer (and then it reports the length correctly).
>
> I'm running unixODBC 2.3.2-pre
>
> -Frank
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
Fix checked in, try now (new 2.3.2pre.tar built)

-- 
Nick


More information about the unixODBC-support mailing list