Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-3871

A typo in `cmake/plugin.cmake` prevents `MYSQL_SERVER` to be defined for statically linked plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.5.59-38.11, 5.6.39-83.1
    • Fix Version/s: 5.5.60-38.12, 5.6.40-84.0
    • Component/s: None
    • Labels:
      None

      Description

      MySQL 5.5 and 5.6 have a typo in `plugin.cmake` that is missing `I` in `COMPILE_DEFINITONS`:

      SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITONS "MYSQL_SERVER")
      

      MySQL 5.7 and 8.0 are fixed:

      SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITIONS "MYSQL_SERVER")
      

      This issue prevents `MYSQL_SERVER` to be defined for statically linked plugins.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              przemyslaw.skibinski Przemyslaw Skibinski
              Reporter:
              przemyslaw.skibinski Przemyslaw Skibinski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 37 minutes
                  1h 37m

                    Smart Checklist