[freetds] a small patch

Frediano Ziglio freddyz77 at tin.it
Tue Apr 8 11:05:01 EDT 2003


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




More information about the FreeTDS mailing list