Skip to Content.
Sympa Menu

freetds - [freetds] a small patch

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] a small patch
  • Date: Tue, 8 Apr 2003 15:23:12 +0100

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

For very important information relating to this e-mail please click on this
link: http://www.ml.com/legal_info.htm






Archive powered by MHonArc 2.6.24.

Top of Page