[unixODBC-dev] SQLFreeStmt returns incorrect HY010 for HY092

Nick Gorham nick at lurcher.org
Tue Jun 30 14:14:44 BST 2009


G, Hemanth Kumar wrote:
>
> Hello again,
>
>      When SQLFreeStmt with an invalid option is called after 
> SQLExecDirect with SQL_NEED_DATA, it should ideally return HY092 
> (Option type out of range).
>
> But returns HY010 (Function sequence error).
>
Easy enough, I have changed the order of checks. Try now.

-- 
Nick


More information about the unixODBC-dev mailing list