SQLPrimaryKeys with TableName as null pointer
"G, Hemanth Kumar" <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <DB5CCE49324ED540B132892B8F289249023D7676@susday7667.TD.teradata.com> |
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.
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev