Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-82

cmake warns when mariadb is compiled without mysql_release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: Core
    • Labels:
      None

      Description

      When maridb is built without specifying BUILD_CONFIG=mysql_release the compilation comment in mysql_version.h is not set to be MariaDB Server. It stays with the default Source distribution (set in mariadb:cmake/mysql_version.cmake).

      MaxScale's cmake checks the compilation comment in cmake/FindMySQL.cmake and spews a warning:

      -- MySQL version: 10.0.17
      -- MySQL provider: Unknown
      CMake Warning at cmake/FindMySQL.cmake:33 (message):
        Not using MariaDB server.
      Call Stack (most recent call first):
        CMakeLists.txt:28 (find_package)

      I think the build then continues successfully, but this warning is quite confusing.

        Attachments

          Activity

            People

            Assignee:
            Massimiliano Pinto Massimiliano Pinto (Inactive)
            Reporter:
            yhager Yuval Hager
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration