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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.10
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration