Re: SQLEndTran returns SQL_SUCCESS forHY010(Function sequence error)

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

I see one more mismatch with SQLPutData.
SQLPutData with NULL DataPtr and when StrLen_or_Ind was not 0, should
return HY009 - Invalid use of null pointer.
Instead, returns SQL_SUCCESS.

SQLPutData(hstmt, NULL, 1);
Expected: HY009
Received: SQL_SUCCESS

Please verify it once.

Thanks,
Hemanth.
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick
Gorham
Sent: Tuesday, June 16, 2009 5:19 PM
To: Development issues and topics for unixODBC
Subject: Re: [unixODBC-dev] SQLEndTran returns SQL_SUCCESS
forHY010(Function sequence error)

G, Hemanth Kumar wrote:
> Nick,
>       
>     The problem is resolved for SQLEndTran with connection handle.
> But the problem still persists for SQLEndTran with environment handle.
>
> SQLEndTran() still returns SQL_SUCCESS when called after SQLExecute() 
> with SQL_NEED_DATA.
>   
The one thats there now should sort this.

--
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
_______________________________________________
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.