[MDEV-3273] LP:907007 - Connector-J calls bind() needlessly Created: 2011-12-20  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: David Leadbeater (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug907007.xml     File LPexportBug907007_mysql-connectorj-bind.diff    

 Description   

Connector-J calls bind() even if it is not needed.

See http://aleccolocco.blogspot.com/2008/11/ephemeral-ports-problem-and-solution.html for
some further background on why this is bad.

Patch attached.

[Also reported on MySQL bugtracker at http://bugs.mysql.com/63811)



 Comments   
Comment by David Leadbeater (Inactive) [ 2011-12-20 ]

Re: Connector-J calls bind() needlessly

Comment by David Leadbeater (Inactive) [ 2011-12-20 ]

mysql-connectorj-bind.diff
LPexportBug907007_mysql-connectorj-bind.diff

Comment by Elena Stepanova [ 2011-12-25 ]

Re: Connector-J calls bind() needlessly
Hi,

MariaDB does not do any connector development, so it's more efficient to file such bugs in MySQL bugtracker, which you did, and as I can see, it has already been fixed.

Thanks.

Comment by Rasmus Johansson (Inactive) [ 2011-12-25 ]

Launchpad bug id: 907007

Generated at Thu Feb 08 06:47:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.