Skip to Content.
Sympa Menu

freetds - RE: [freetds] goodread... not so fine

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] goodread... not so fine
  • Date: Mon, 26 Jan 2004 11:24:25 +0100

>
> On Mon, 2004-01-26 at 10:08, Alex Kiesel wrote:
> > Next to my patch, I'm sending a unittest for ctlib (t0010.c), which
> > simulates what I did manually with sqsh.
>
> t0010.c seems to have been stripped out of my mail, you can find it
> here:
> http://document-root.de/tds/t0010.c
>

Good. I note you set timer before ct_command/ct_send. Perhaps it's
better to set time after sending command. Why you do not use alarm
instead of setitimer (alarm should be more portable...). I'll add test
to CVS (renamed and with some TODO note).

I look at your patch. On ATTN you just set a flag however server do not
known you want to cancel current command. It would be better if you send
cancel to server too.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page