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

LP:712714 - handlersocket does not properly detect MariaDB version

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The handlersocket configure script does not properly detect the version of the mariadb source code. So, it reports that the versions of the mariadb source and the mariadb binary distribution differ and terminates. I am filing this as a MariaDB bug since it seems to me that it is in MariaDB's interest to provide a patch for handlersocket.

      To reproduce, follow the instructions for building handlersocket located at

      https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL/blob/master/docs-en/installation.en.txt

      for example, use the following configure:

      ./configure --with-mysql-source=/home/philips/bzr/mysql-5.3.0-MariaDB-alpha --with-mysql-bindir=/home/philips/bzr/maria-5.3-bintar/bin/

      and you will get the following error:

      checking mysql source... yes: Using /home/philips/bzr/mysql-5.3.0-MariaDB-alpha, version
      checking mysql binary... yes: Using /home/philips/bzr/maria-5.3-bintar/bin/mysql_config, version 5.3.0-MariaDB-alpha
      configure: error: MySQL source version does not match MySQL binary version

      Grep the configure script for the error message to see how version detection is implemented. See

      http://www.mysqlfanboy.com/2010/12/installing-handlersocket-nosql-plugin-into-miariadb-on-centos-5-5/

      for a possible patch.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            monty Michael Widenius added a comment -

            Re: handlersocket does not properly detect MariaDB version
            Is this issue relevant now when we have handlersocket included in MariaDB 5.3 ?

            Show
            monty Michael Widenius added a comment - Re: handlersocket does not properly detect MariaDB version Is this issue relevant now when we have handlersocket included in MariaDB 5.3 ?
            Hide
            timour Timour Katchaounov added a comment -

            Re: handlersocket does not properly detect MariaDB version
            Philip please check what Monty is asking.
            If you think there is still a bug, assign it to Monty.

            Show
            timour Timour Katchaounov added a comment - Re: handlersocket does not properly detect MariaDB version Philip please check what Monty is asking. If you think there is still a bug, assign it to Monty.
            Hide
            philipstoev Philip Stoev added a comment -

            Re: handlersocket does not properly detect MariaDB version
            Now that handlersocket is part of MariaDB, there seems to be no interest in making the default handlersocket distribution compile with MariaDB

            Show
            philipstoev Philip Stoev added a comment - Re: handlersocket does not properly detect MariaDB version Now that handlersocket is part of MariaDB, there seems to be no interest in making the default handlersocket distribution compile with MariaDB
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 712714

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

              People

              • Assignee:
                Unassigned
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: