Skip to Content.
Sympa Menu

freetds - Re: [freetds] SQLRowCount failing after prepare and execute

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SQLRowCount failing after prepare and execute
  • Date: 14 Feb 2004 14:26:41 +0100

Il sab, 2004-02-14 alle 14:11, Thompbil18 AT aol.com ha scritto:
> Hey Freddy,
>
> Correct me if I'm wrong - is this discussion the same as the one we had a
> while ago about the ODBC test program "moreandcount" after my ct-lib patch
> ?
>
> Bill
>

It's related. ODBC seems to discard insert/delete/update inside
procedure (or inside prepared statement, for implementation details it's
the same). However there are other raised problems:
- does ODBC cache row counts and return last valid one (so even last
statement in prepared/store procedure are returned) ?
- when should SQLRowCount return error 24000 (Invalid cursor state) ?
I have to do some tests (and update moreandcount test too)

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page