Skip to Content.
Sympa Menu

freetds - Re: [freetds] [unixODBC][Driver Manager]Function sequence error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] [unixODBC][Driver Manager]Function sequence error
  • Date: Sat, 12 Jul 2014 10:10:21 -0400

On Fri, 11 Jul 2014 08:31:07 +0200
Matev? Mrak <matevz.mr AT gmail.com> wrote:

> InterfaceError: ('HY010', 0, '[unixODBC][Driver Manager]Function
> sequence error', 5258)
> - File
> "/Users/matevzmrak/Desktop/praksa_fajli/projekt/ana/ana/srv/orm/driver.py",

Doesn't "function sequence error" mean you called the ODBC function in
an incorrect sequence, i.e., when you're not supposed to?

For example if you try to execute a query on an unopened connection,
you'll get an error that says the connection handle is invalid. In
other cases, though the handles are valid but the order of operation is
unsupported.

I would look at the ODBC trace of the calls made, and verify that it
makes sense.

HTH.
--jkl





Archive powered by MHonArc 2.6.24.

Top of Page