Skip to Content.
Sympa Menu

freetds - [freetds] [Store Procedure Names] roll-over problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Wolfgang Gruen <wgruen AT caci.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>, freetds-bounces AT lists.ibiblio.org
  • Subject: [freetds] [Store Procedure Names] roll-over problem
  • Date: Fri, 14 Jul 2006 11:27:23 -0400

Hi,

I am running into the case where the connections starts to create
duplicate store procedure names. This happens when we roll over in method
tds_get_dynid() in query.c. Please check out this line, which causes the
roll-over:

inc_num = (inc_num + 1) & 0xffff

I am researching different random string/character generators and was
wondering whether somebody has already a better generator/solution
available.

A workaround could be to free a statements at the time of roll-over, but
this may be time consuming and not be in synch with the application.

I appreciate any suggestions.
Thanks!
Wolfgang





Archive powered by MHonArc 2.6.24.

Top of Page