Re: Incorrect states with SQLConnect
Nick Gorham <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
G, Hemanth Kumar wrote: > > 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 > 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 [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev