[unixODBC-dev] SQLPrimaryKeys with TableName as null pointer

G, Hemanth Kumar Hemanth.G at Teradata.com
Fri Jun 19 12:09:21 BST 2009


Nick,

        Similar is the case with SQLPrimaryKeys.
SQLPrimaryKeys with TableName as null pointer should return HY009
(Invalid use of null pointer). But returns SQL_SUCCESS.

SQLPrimaryKeys(hstmt, NULL, 0, NULL, 0, NULL, 0);
Expected : HY009 (Invalid use of null pointer)
Received : SQL_SUCCESS

Can you check this one too.

Thanks
Hemanth.

> _____________________________________________ 
> From: 	G, Hemanth Kumar  
> Sent:	Friday, June 19, 2009 4:31 PM
> To:	'Development issues and topics for unixODBC'
> Subject:	SQLColumnPrivileges with TableName as NULL pointer
> 
> Nick,
> 
>         SQLColumnPrivileges with TableName as NULL should return HY009
> (Invalid use of null pointer). Instead returns SQL_SUCCESS.
> 
> SQLColumnPrivileges(hstmt, NULL, 0, NULL, 0, NULL, 0, NULL, 0);
> Expected : HY009 (Invalid use of null pointer)
> Received : SQL_SUCCESS.
> 
> Please verify this one.
> 
> Thanks
> Hemanth.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090619/3bd99b5e/attachment.html>


More information about the unixODBC-dev mailing list