Re: SQLEndTran returns SQL_SUCCESS forHY010(Function sequence error)

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
G, Hemanth Kumar wrote:
> 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.
>   
Thats a simple fix. Check now.

Thanks.

-- 
Nick
_______________________________________________
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.