[prev in list] [next in list] [prev in thread] [next in thread]
List: freetds
Subject: Re: [freetds] a small patch
From: Frediano Ziglio <freddyz77 () tin ! it>
Date: 2003-04-08 15:05:01
[Download RAW message or body]
Il mar, 2003-04-08 alle 16:23, Thompson, Bill D (London) ha scritto:
> Hi,
>
> found an issue with dblibrary calls dbhasretstat() and dbretstatus().
> It seems these little indicators are not re-initialised...
>
> here's a patchette for someone to apply to:
>
> src/tds/mem.c
>
> void
> tds_free_all_results(TDSSOCKET *tds)
> {
> tds_free_results(tds->res_info);
> tds->res_info = NULL;
> tds_free_param_results(tds->param_info);
> tds->param_info = NULL;
> tds_free_compute_results(tds->comp_info, tds->num_comp_info);
> tds->comp_info = NULL;
> tds->num_comp_info = 0;
> + tds->has_status = 0;
> + tds->ret_status = 0;
> }
>
> Thanks,
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
> Bill Thompson
> Securities Services Division
> Merrill Lynch Europe
>
Applied
freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic