[freetds] freetds - invalid cursor state

James K. Lowden james.k.lowden at icloud.com
Fri Feb 26 14:00:03 EST 2016


On Thu, 25 Feb 2016 21:17:15 +0100
<jezekj at centrum.cz> wrote:

> Both are attached. I would really apreciate if you can take a look at
> these logs and try to identify the root cause. 

Perhaps I'm missing something, but to me it looks like a contradiction.
In the FreeTDS log, we see, 

[ODBC][21590][1456398626.473093][SQLError.c][389]
                Exit:[SQL_SUCCESS]
                        SQLState = 24000
                        Native = 0x7fff2ad0ec58 -> 0
                        Message Text = [[FreeTDS][SQL Server]Invalid
cursor state]


SQL_SUCCESS is not an error, so "Invalid cursor state" cannot describe
the state.  Either the operation succeeded, or it failed because of an
invalid cursor state.  

--jkl


More information about the FreeTDS mailing list