Skip to Content.
Sympa Menu

freetds - Re: [freetds] ODBC unit tests "funccall" and "transaction"

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] ODBC unit tests "funccall" and "transaction"
  • Date: Thu, 08 Jan 2004 23:17:24 -0000

Il gio, 2004-01-08 alle 23:05, Lowden, James K ha scritto:
> > From: Thompson, Bill D (London) [mailto:bill_d_thompson AT ml.com]
> > Sent: January 7, 2004 10:55 AM
> >
> > odbc unit tests (using unixodbc) - 2 failures , "funccall" and
> > "transaction". Are these known about ?
>
> I was under the impression this was a 64-bit issue. Nick just reproduced it
> on i386. The tests pass with Sybase, but not Microsoft, servers.
>
> It may be related to the version of unixODBC. Both systems he tested use
> unixODBC 2.0. More identifying information, fwiw, below.
>
> Choices:
>
> 1. Fix before release, delay if necessary.
> 2. Indicate as broken in release notes, explaining ramifications.
> 3. Remove tests, because not important or misleading.
> 4. Discover it's due to an old version of unixODBC, celebrate.
>
> #4 would be nice, needs just a line in the release notes.
>
> At the very least, I think we need to be sure what's going on before we
> issue the release.

I installed and tested unixODBC 2.0.4. No core, only transaction fails
(funccall pass). However it fail cause it do not detect that cursor is
close after a SQLEndTran (as documented in specifications)... I put a
workaround however it's a unixODBC bug... unixODBC try to follow more
deeply MS DM and store state however is more complex and error-prone. I
follow unixODBC and I must say Nick do a very good job. I got however a
lot of warning compiling with 2.0.4 cause it assume handles == int and
sizeof(handle) == sizeof(void*) !!! So using a 64bit platform this
version is ugly and no-working... It would fine if we can test with
2.2.6 (or 2.2.7) and report problems. If it's a FreeTDS we should be
able to fix (cause it works on 32bit platforms), if it's a unixODBC
problem we should document such issue in UG...

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page