Skip to Content.
Sympa Menu

freetds - Re: tdsdump file always getting created.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: tdsdump file always getting created.
  • Date: 08 Nov 2002 14:16:14 +0100


Il ven, 2002-11-08 alle 12:18, Bill Thompson ha scritto:
> Hi,
>
> I know theer was a thread on this a few days ago.
>
> I hit the same problem, and solved it with the following alteration in
> tds_connect().
>
> Before:
> /*
> ** If a dump file has been specified, start logging
> */
> if (connect_info->dump_file) {
> tdsdump_open(connect_info->dump_file);
> }
> After:
> /*
> ** If a dump file has been specified, start logging
> */
> if (*(connect_info->dump_file)) {
> tdsdump_open(connect_info->dump_file);
> }
>
> Did someone get round this another way ?
>

Yes, yesterday Nick fix the problem. If tdsdump_open is called with NULL
or an empty string it do not log.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page