Skip to Content.
Sympa Menu

freetds - RE: [freetds] 0.62.3 ODBC raiserror unit test fails

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] 0.62.3 ODBC raiserror unit test fails
  • Date: Tue, 13 Apr 2004 19:31:16 +0200

Il mar, 2004-04-13 alle 16:52, Lowden, James K ha scritto:
> > From: Frediano Ziglio [mailto:freddyz77 AT tin.it]
> > Sent: April 13, 2004 4:39 AM
> >
> > Il lun, 2004-04-12 alle 23:17, Lowden, James K ha scritto:
> > ...
> > > SpDateTest Output:
> > > Result = -1
> > > Return Code = 0
> > > SQLExecute failed!
> > > FAIL: raiseerror
> > >
> > > This unit test apparently fails in 0.62.3. I'm not
> > completely sure I know what it's testing. It works in CVS
> > HEAD. Is it easy to fix in the release branch?
> >
> > Opps... I backported fix in ODBC but not in test. Is correct that
> > SQLExecute returns fail. raiserror.c in CVS HEAD is updated.
>
> Hi Freddy,
>
> I'm not sure I understand. Is the following true for 0.62.3?
>
> 1. ODBC responds correctly to packets resulting from a Raiserror statement.
> 2. raiseerror.c is broken. It falsely reports incorrect behavior.
>
> If so, I can ignore the unit test failure, and I can correct it if I copy
> HEAD:odbc/unittest/raiserror.c to BRANCH0_62:odbc/unittest/raiseerror.c.
>

Yes!
Probably I backported this issue and test against Sybase so I didn't
notice the problem...
I tested current test and passed against mssql2k (using tds 7.0 and
8.0). Committed to 0.62 branch.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page