Re: bug fixes

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
2011/5/24 Christos Zoulas <[email protected]>:
> Hello,
>
> Here are a bunch of fixes, some I sent before:
>
> - Add a new getpassarg function in replacements that centralizes password
>  retrieval from the command line arguments, and setting the command line
>  argument to *'s so that it is not visible with ps. This was done
>  differently in many places. Handling it in one place only makes sense.
>

merged

> - In tsql add a usage function, and a flag [-a] to set the application
>  name from the command line.
>

merged

> - Delete trailing spaces from ct.c
>

merged

> - Fix the freebcp usage to mention queryout.
>

> - 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 ??

> christos
>

freddy77
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.