[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.

--
Nick
_______________________________________________
unixODBC-dev mailing list
unixODBC-dev at mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev


More information about the unixODBC-dev mailing list