Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Are unittests expected to fail?: msg#00185

db.tds.freetds

Subject: Re: Are unittests expected to fail?

Thanks Freddy,

Will give it a whirl.

Cheers,

David

----- Original Message -----
From: "ZIGLIO Frediano" <Frediano.Ziglio@xxxxxxxxxxxx>
To: "FreeTDS Development Group" <freetds@xxxxxxxxxxxxxxxxx>
Sent: Wednesday, October 22, 2003 4:02 PM
Subject: RE: [freetds] Are unittests expected to fail?


>
> Hi Freddy...
>
> Thanks for responding...
>
> >You are using TDS 4.2. Try with an higher TDS version. Usually I try
> >with unixODBC. Current results (TDS5+, unixODBC) should be
> > - with GNU iconv + single-byte
>
> Ok - point number one I was using the wrong TDS version - but
> this doesn't affect what I see with the ODBC unit-tests.
>
> Still 6 failures as before with unixODBC.
> (As for iconv - I'm not using GNU, just what comes with FreeTDS:
>
> - connect - succeeds with several connection strings, but fails on the
> old version, due to my inability to configure
> odbcinst.ini properly.
> Doesn't affect ability of other tests to connect. So
> probably not an
> issue.

Documentation problem...

my /etc/odbcinst.ini

[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1

[ODBC]
Trace = Yes
TraceFile = /tmp/sql.log
ForceTrace = No
Pooling = No

[FreeTDS]
Description = FreeTDS driver
Driver =
/home/fziglio/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so
Setup =
/home/fziglio/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so
FileUsage = 1
CPTimeout =
CPReuse =

> - funccall - don't know what's wrong here. Output parameters?
> - moreandcount - odd. Returned 0 columns instead of 1.
> - params - Don't know. Does output parameter support work?

Mmm.. try using --enable-developing in configure. Developing code will
be enabled in 0.62

> - transaction - Don't know why commit failed.

Know. I don't still know if this is a bug or just a different and
correct implementation.

> - type - Well this is quite possibly down to iconv
>

Related to ODBC3 updates. ODBC3 handle type in a weird way...

> I see that the last 3 are failures you listed. So the main
> mystery is over funccall and moreandcount - I guess. Any ideas?
>
> I've attached the output from make check, in case you
> or anyone else can be bothered.
>
> Cheers,
>
> David
>
>

I think your problems are related to --enable-developing and
odbcinst.ini...

freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS@xxxxxxxxxxxxxxxxx
http://lists.ibiblio.org/mailman/listinfo/freetds


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation