in reply to Re^2: DBD::ODBC and FreeTDS / limited to one statement handle
in thread DBD::ODBC and FreeTDS / limited to one statement handle
Yeah, OK -- it looks like it's not DBD::ODBC.
The FreeTDS file freetds/src/tds/mem.c has a routine tds_alloc_lookup_sqlstate(TDSSOCKET * tds, int msgno) with a switch statement that appears to map a couple of errors to 24000; the first one is SQLS_ENTRY(16999, "24000"); /* Invalid cursor state */.
In the file freetds/src/odbc/error.c I see a line that appears to report an ODBC error of 24000 with the same text: ODBCERR("24000", "Invalid cursor state"),
So I've ansered my own question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: DBD::ODBC and FreeTDS / limited to one statement handle
by talexb (Chancellor) on May 15, 2024 at 02:08 UTC | |
by Corion (Patriarch) on May 15, 2024 at 10:26 UTC | |
by stevieb (Canon) on May 15, 2024 at 07:04 UTC |