[unixODBC-dev] Incorrect states with SQLConnect

G, Hemanth Kumar Hemanth.G at Teradata.com
Mon Jul 6 11:40:41 BST 2009

Thanks Nick.

DEFAULT section was intentionally removed to check whether the API was
returning the expected return code or not. 

-----Original Message-----

Can you check there isnt a [DEFAULT] section in the ini file?
> SQLConnect with null DSN and with length above zero, is expected to 
> return IM002, returns IM010 instead.
> SQLConnect(hdbc, NULL, 10, uid, SQL_NTS, pwd, SQL_NTS);
> Expected: IM002
> Received: IM010
Should be done now.

unixODBC-dev mailing list
unixODBC-dev at mailman.unixodbc.org

More information about the unixODBC-dev mailing list