Skip to Content.
Sympa Menu

freetds - Re: [freetds] freetds - invalid cursor state

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <jezekj AT centrum.cz>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>, FreeTDS Development Group <freetds AT lists.ibiblio.org>, James K. Lowden <jklowden AT freetds.org>
  • Subject: Re: [freetds] freetds - invalid cursor state
  • Date: Fri, 26 Feb 2016 20:28:34 +0100

But no cursor is open since the begining. I know that some drivers are
opening cursors implicitly, but me as a user I cannot do anything with this,
or can I?
 
When issue is solved and you are in Prague the beer is on me!
 
JJ
 
______________________________________________________________
Od: Frediano Ziglio <freddy77 AT gmail.com>
Komu: FreeTDS Development Group <freetds AT lists.ibiblio.org>, "James K. Lowden"
<jklowden AT freetds.org>
Datum: 26.02.2016 20:23
Předmět: Re: [freetds] freetds - invalid cursor state

On 26 Feb 2016 19:00, "James K. Lowden" <james.k.lowden AT icloud.com> wrote:

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.


Well... time for a beer I think.
However. Sql error returns the error string for previous function calls. So
it succeeded (returned the error) and error was "Invalid cursor state"

Frediano
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
<http://lists.ibiblio.org/mailman/listinfo/freetds>





Archive powered by MHonArc 2.6.24.

Top of Page