[unixODBC-dev] SQLEndTran returns SQL_SUCCESS forHY010(Function sequence error)

G, Hemanth Kumar Hemanth.G at Teradata.com
Wed Jun 17 09:57:53 BST 2009


Yes, it works.
Thanks.

I have found out one more issue.

SQLStatistics with TableName argument as a null pointer should return
HY009 - Invalid use of null pointer, but returns
SQL_SUCCESS.
SQLStatistics(hstmt,NULL,SQL_NTS,NULL,SQL_NTS,NULL,SQL_NTS,0,0);
Expected : HY009
Received : SQL_SUCCESS

Please verify this one too.

Thanks
Hemanth.
 

-----Original Message-----
From: unixodbc-dev-bounces at mailman.unixodbc.org
[mailto:unixodbc-dev-bounces at mailman.unixodbc.org] On Behalf Of Nick
Gorham
Sent: Wednesday, June 17, 2009 1:54 PM
To: Development issues and topics for unixODBC
Subject: Re: [unixODBC-dev] SQLEndTran returns SQL_SUCCESS
forHY010(Function sequence error)

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
unixODBC-dev at mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev


More information about the unixODBC-dev mailing list