[freetds] 0.62.3 ODBC raiserror unit test fails
freddyz77 at tin.it
Tue Apr 13 13:31:16 EDT 2004
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.
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.
More information about the FreeTDS