Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3273

LP:907007 - Connector-J calls bind() needlessly

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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)

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            davidleadbeater David Leadbeater added a comment -

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

            Show
            davidleadbeater David Leadbeater added a comment - mysql-connectorj-bind.diff LPexportBug907007_mysql-connectorj-bind.diff
            Hide
            davidleadbeater David Leadbeater added a comment -

            Re: Connector-J calls bind() needlessly

            Show
            davidleadbeater David Leadbeater added a comment - Re: Connector-J calls bind() needlessly
            Hide
            elenst Elena Stepanova added a comment -

            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.

            Show
            elenst Elena Stepanova added a comment - 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.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 907007

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 907007

              People

              • Assignee:
                Unassigned
                Reporter:
                davidleadbeater David Leadbeater
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: