Re: FW: Patch for unixODBC 2.3.0
Nick Gorham <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
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. -- Nick _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev