|
'derby-3309-2a-remove_unused_constructor.diff' removes an unused contructor in ClientPooledConnection and ClientPooledConnection40. I traced it back to when the client driver was donated/added, so I have no idea why it was once introduced.
If anyone has information that indicates that it should not be removed, please let me know. Fwiw, I was under the impression that users are supposed use a DataSource implementation to interact with a connection pool, so I cannot see any reason why the driver should provide these constructors if it does not use them internally. +1
Thanks for the comment Dyre.
I committed 'derby-3309-2a-remove_unused_constructor.diff' to trunk with revision 611841. I also decided that these fixes should not be ported to older brances, as the wiki page describing the process says that in general only bug-fixes should be back-ported (see http://wiki.apache.org/db-derby/MoveAChangeBetweenBranches). I do not plan to back out the removal of unused imports from 10.2 and 10.3 though. If someone has comments or another view on the porting issue, let me know. 'derby-3309-3a-cpc_documentation_changes.diff' changes and adds some documentation for ClientPooledConnection.
Would be nice if someone read through it before I commit. Committed 'derby-3309-3a-cpc_documentation_changes.diff' to trunk with revision 615846.
'derby-3309-4a-cpc_listeners_synch.diff' replaces a Vector with an ArrayList and fixes the broken synchronization of the list of event listeners in ClientPooledConnection.
I have run derbyall and suites.All (Java 1.4.2 and Java SE 5.0) without errors. I'm observing that in CPC a new event object is created for each listener, whereas in CPC40 the same object is reused for all listeners. Patch ready for review. Committed 'derby-3309-4a-cpc_listeners_synch.diff' to trunk with revision 620485.
Since I want to wait for a little while to see if any problems show up. Merged patches 'derby-3309-2a-remove_unused_constructor.diff', 'derby-3309-3a-cpc_documentation_changes.diff' and 'derby-3309-4a-cpc_listeners_synch.diff' to branches 10.2 and 10.3.
I ran derbyall and/or suites.All for both branches. Committed to 10.3 with revision 630185. Committed to 10.2 with revision 630186. Marking fixed, awaiting daily test run results to verify no tests are failing before closing. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Committed to trunk with revision 610404.
Merged to 10.3 with revision 610766.
Merged to 10.2 with revision 610767.