Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-509

mysql_get_client_version should return C/C version, not server version

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.10
    • 3.2.0
    • None
    • None

    Description

      The function mysql_get_client_info returns MARIADB_VERSION_ID which returns the server version instead of the actual connector version.
      Since servers from 10.2 up to 10.6 always uses newest C/C version, it is impossible to detect client features depending on the version number.

      Instead of mysql_get_client_info should return MARIADB_PACKAGE_VERSION_ID.

      Attachments

        Activity

          georg Georg Richter created issue -
          georg Georg Richter made changes -
          Field Original Value New Value
          Fix Version/s 3.1.11 [ 25027 ]
          georg Georg Richter made changes -
          issue.field.resolutiondate 2021-05-31 10:47:14.0 2021-05-31 10:47:14.982
          georg Georg Richter made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          adamm Adam Majer added a comment -

          This commit broke 3rd party software

          https://bugreports.qt.io/browse/QTBUG-95071

          If doing changes that break the API, maybe introducing a new function would be better and keep the legacy versions as-is.

          adamm Adam Majer added a comment - This commit broke 3rd party software https://bugreports.qt.io/browse/QTBUG-95071 If doing changes that break the API, maybe introducing a new function would be better and keep the legacy versions as-is.
          julien.fritsch Julien Fritsch made changes -
          Workflow MariaDB connectors [ 114845 ] MariaDB v4 [ 161227 ]

          People

            georg Georg Richter
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.