Skip to Content.
Sympa Menu

freetds - Re: [freetds] ODBC - binary, row count and compatibility

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] ODBC - binary, row count and compatibility
  • Date: Tue, 9 Mar 2004 10:17:25 -0500

On Tue, 9 Mar 2004, "ZIGLIO, Frediano, VF-IT"
<Frediano.Ziglio AT vodafone.com> wrote:
> > 81(TDS7_RESULT)
> > ff(DONEINPROC)
> > 81(TDS7_RESULT)
> > aa(ERROR)
> > ff(DONEINPROC)
> > 79(RETURNSTATUS)
> > fe(DONEPROC)
> >
> > it can't return SUCCESS just because that last DONEPROC was
> > OK. It has to
> > notify the client there was an intervening ERROR.
>
> SQLExecDirect stop at first DONE, so it do not see the ERROR token and
> returns SQL_SUCCESS.

Does Microsoft's version stop at the first DONEINPROC?

I don't understand how SQLExecDirect() can (correctly) stop before
DONEPROC. How is the application expected to learn of the ERROR?

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page