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

Frank Some some.frank at gmail.com
Thu Aug 15 18:14:44 BST 2013


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


More information about the unixODBC-support mailing list