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

LP:470580 - Patch to create an include file for plugins

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Currently plugins, and storage engine plugins in particular, need to be compiled against an complete source tree of mysqld. That's annoying, awkward, and it makes packaging plugins very difficult. Packages need source packages, and thus technically we'd now have to include an entire MySQL source tree into a plugin's source package.

      So, here's the solution. Antony built me a little perl script and adapted the makefile infrastructure, so that an include bundle is generated from the current source tree. That include bundle can then be separately packaged as a mariadb-plugin-dev package, and that in turn can be made a build-dependency by the plugin packages. Problem solved.

      Since this is isn't a source change but just an addition to the make env, can this please be added into the 5.1 tree?
      Then we can easily build separate plugin packages and get whole of lot really cool and useful things "out there" soon!
      Thanks

      Patch is attached.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              arjenlentz Arjen Lentz added a comment -

              Patch to generate a mysql-glob.h include file for plugins to use
              LPexportBug470580_mysql-glob.patch

              Show
              arjenlentz Arjen Lentz added a comment - Patch to generate a mysql-glob.h include file for plugins to use LPexportBug470580_mysql-glob.patch
              Hide
              arjenlentz Arjen Lentz added a comment -

              Re: Patch to create an include file for plugins

              Show
              arjenlentz Arjen Lentz added a comment - Re: Patch to create an include file for plugins
              Hide
              ratzpo Rasmus Johansson added a comment -

              Launchpad bug id: 470580

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

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  arjenlentz Arjen Lentz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: