implementation of dbexit()

Michael Kimsal michael at tapinternet.com
Sat Oct 7 15:42:49 EDT 2000


Sorry to be a pest - is there a snapshot of this available?

Brian Bruns wrote:

> Hi folks,
>
> dbexit() will now close all dbprocesses open as specified in the
> documentation.  If you're cvs updating you'll need to make clean; make.
>
> Also beware: this code puts an upper limit on the number of dbprocs one
> process can open to TDS_MAX_CONN.  I've defined it at 4096 which should be
> plenty, but you may want to find a happy medium between mem usage and
> number of procs for yourself.  I'd like to make it dynamically allocated
> but also don't want to realloc the whole mess everytime a proc is opened.
> I may make a linked list in the second draft but in the meantime...
>
> Cheers,
>
> Brian

--
==========================
Michael Kimsal
http://www.tapinternet.com
734-480-9961





More information about the FreeTDS mailing list