freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] bug fixes
- Date: Fri, 27 May 2011 16:25:13 +0200
>
>> - bcp queryout broke recently: Fix broken code in bulk.c that attempted
>> to get just the metadata using "select * from %s where 0 = 1".
>> Guess what? %s is not the table name in queryout... Fix it properly
>> using FMTONLY like it was done in freebcp.c. Again this code is
>> duplicated from freebcp.c and we probably don't need to do it
>> there anymore, and we should move the functionality to the library.
>>
>
> mmm.... I discovered that only FreeTDS supports DB_QUERYOUT !!!
> Sybase/MS only implement DB_IN/DB_OUT... I'd ask how they implement
> queryout... perhaps with a normal processing :)
>
> Now... remove DB_QUERYOUT and fix queryout on our freebcp utility ??
> Or implement correctly DB_QUERYOUT... hard to say...
> What does you mean by "recently" ??
>
> If stuff worked on 0.82 fo maintain compatibility I would say support
> DB_QUERYOUT. If not I would say remove DB_QUERYOUT !!
>
> Bill, James, what do you think ??
>
This
http://gitorious.org/freetds/freetds/commit/c1ce798aedb70c6e9988dd0f2061d1aa87fdd770
should be the commit :(
2 years ago and our tests didn't catch the problem... really bad!
I wrote tds_bcp_init not to be called with direction != DB_IN, i
didn't write an assert for this.
Frediano
-
[freetds] bug fixes,
Christos Zoulas, 05/24/2011
- Re: [freetds] bug fixes, Frediano Ziglio, 05/25/2011
-
Re: [freetds] bug fixes,
Frediano Ziglio, 05/27/2011
- Re: [freetds] bug fixes, Frediano Ziglio, 05/27/2011
Archive powered by MHonArc 2.6.24.