Skip to Content.
Sympa Menu

freetds - Patches

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stan Liberman <stan AT vailsys.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Patches
  • Date: 26 Jun 2002 20:40:37 -0500



574400 - Several patches for thread safety in tds. Our apps consistently
core dumped at attempt to login from several threads. Pretty much just
replaced non thread-safe functions with their safe equivalents.

574402 - If connection was dropped ( we created it by simply killing the
database, and once disconnected the network cable ) the application
using dblib was going into tight loop consuming 99% of CPU.
There are two fixes: one for tds/token.c checking of the marker is 0 in
tds_process_cancel, other one for dblib/dblib.c dbsqlok() to make sure
that tds_process_default_tokens() returns success.
I'm not sure if this is the proper way of fixing this particular
problem, but we've been running with this patch for several weeks now
without any problems.


I hope these patches will make it into release, or I'll have to create
our own branch again (which is no fun). Just a note :)

--
Regards,
Stan Liberman





Archive powered by MHonArc 2.6.24.

Top of Page