Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12950

API Regression: mysql_st missing reconnect

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.2.6
    • N/A
    • libmariadb
    • None

    Description

      The LGPL client lists "my_bool unused_1" where, in previous versions of MariaDB 10.1 and MySQL libmysqlclient, this was "my_bool reconnect"

      Critical software such as the Perl DBD and python-mysql connectors depend on this existing.

      Attachments

        Issue Links

          Activity

            It is just fixed in mysqlclient-python.

            https://github.com/PyMySQL/mysqlclient-python/pull/177

            kazuhiko.fdiary Kazuhiko Shiozaki added a comment - It is just fixed in mysqlclient-python. https://github.com/PyMySQL/mysqlclient-python/pull/177

            Here is a PR for perl-DBD-MySQL, that contains more than changes for this regression.

            https://github.com/perl5-dbi/DBD-mysql/pull/133

            +
            +/* MariaDB Connector/C has MARIADB_VERSION_ID instead of MYSQL_VERSION_ID */
            +#if !defined(MYSQL_VERSION_ID) && defined(MARIADB_VERSION_ID)
            +#define MYSQL_VERSION_ID MARIADB_VERSION_ID
            +#endif
            +
            

            I am not sure if 'myssing MYSQL_VERSION_ID' is also a 'regression' or not.

            kazuhiko.fdiary Kazuhiko Shiozaki added a comment - Here is a PR for perl-DBD-MySQL, that contains more than changes for this regression. https://github.com/perl5-dbi/DBD-mysql/pull/133 + +/* MariaDB Connector/C has MARIADB_VERSION_ID instead of MYSQL_VERSION_ID */ +#if !defined(MYSQL_VERSION_ID) && defined(MARIADB_VERSION_ID) +#define MYSQL_VERSION_ID MARIADB_VERSION_ID +#endif + I am not sure if 'myssing MYSQL_VERSION_ID' is also a 'regression' or not.
            georg Georg Richter added a comment - MYSQL_VERSION_ID was added already: https://github.com/MariaDB/mariadb-connector-c/commit/422d0f786e5e6eb103000a75738322c8baa9aa12

            This is intentional, direct access to MYSQL members is being removed, one should use accessors instead.

            serg Sergei Golubchik added a comment - This is intentional, direct access to MYSQL members is being removed, one should use accessors instead.

            People

              georg Georg Richter
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.