[unixODBC-dev] Incorrect states with SQLConnect

G, Hemanth Kumar Hemanth.G at Teradata.com
Wed Jul 1 06:39:50 BST 2009


Nick,

SQLConnect Using DSN with length of zero, is expected to return IM002,
but returns success.
SQLConnect(hdbc, dsn, 0, uid, SQL_NTS, pwd, SQL_NTS);
Expected: IM002
Received : 000000

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


Pls verify..

Thanks
Hemanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090701/d6ad96a1/attachment-0001.html>


More information about the unixODBC-dev mailing list