Incorrect states with SQLConnect

"G, Hemanth Kumar" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <DB5CCE49324ED540B132892B8F289249026E0A1A@susday7667.TD.teradata.com>
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

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.