[unixODBC-dev] FW: Patch for unixODBC 2.3.0

Nick Gorham nick at lurcher.org
Tue Aug 2 11:14:29 BST 2011

On 02/08/11 11:11, Cihlar, Jan wrote:
> Hi,
> One my colleague (Miloslav Marik)prepared a patch for unixODBC fixing 
> some issues:
> Two issues were observed when testing unixODBC. The test application 
> created about 200 connections to a database server and allocated about 
> 200 statements per connections.
> (1) Extremely slow shut down. The problem is caused by a single linked 
> list of descriptor handlers and statement handlers so when removing a 
> handler from a list, the list must be searched from the beginning. The 
> patch replaces the single linked lists by a double linked list.
> (2) Extremely slow manual commit transaction. The problem is caused by 
> a global statement list. The list is searched for statements belonging 
> to a connection to check state transition. The patch introduces per 
> connection statement list.
> (3) There was also one sprintf not surrounded by an "if" statement.
> The new functionality is available only for sources compiled with the 
> "fast-validate" option.
> The patch was accepted by Nick to 2.3.1pre.

Yep, thanks Jan (and Miloslav), it looks like a worthwhile change. So 
its added to SVN and the 2.3.1pre on the ftp site now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20110802/18914800/attachment.html>

More information about the unixODBC-dev mailing list