SQLDriverConnect with NULL ConnectionString

"G, Hemanth Kumar" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <DB5CCE49324ED540B132892B8F2892490236F2CC@susday7667.TD.teradata.com>
Hello Nick,

        SQLDriverConnect with a NULL InConnectionString must return
IM002 (Data source not found and no default driver specified), 
Instead returns 28000 (Not enough information to log on).

rc = SQLDriverConnect(hdbc, NULL, NULL, 0, (SQLCHAR *)OutStr, 1024,
&outlen, SQL_DRIVER_NOPROMPT);
Expected: IM002
Received: 28000

Please check.

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.