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

-DWITHOUT_xxx_STORAGE_ENGINE=ON doesn't work for some plugins

    XMLWordPrintable

    Details

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

      Description

      1. -DWITHOUT_INNOBASE_STORAGE_ENGINE=ON returns:

      CMake Error at storage/innobase/CMakeLists.txt:314 (SET_TARGET_PROPERTIES):
        set_target_properties Can not find target to add properties to: innobase
      

      2. Collision of -DFEATURE_SET=community and -DWITHOUT_PARTITION_STORAGE_ENGINE=ON cmake options. To repeat the issue:

      cmake -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITHOUT_PARTITION_STORAGE_ENGINE=ON
      cmake -L
      

      returns

      WITHOUT_PARTITION_STORAGE_ENGINE:BOOL=ON
      WITH_PARTITION_STORAGE_ENGINE:BOOL=ON
      

      This also causes linking issues because plugin is turned off but `config.h` contains `#define WITH_PARTITION_STORAGE_ENGINE 1`.

      3. ARCHIVE, BLACKHOLE, FEDERATED have the same issue:

      WITHOUT_xxx_STORAGE_ENGINE=ON
      WITH_xxx_STORAGE_ENGINE=ON
      

      But there are no linking issues.

        Smart Checklist

          Attachments

            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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 minutes
                  6m