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

    XMLWordPrintable

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

          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.