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

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Key CONC-256 MDEV-12950
            Workflow MariaDB connectors [ 81003 ] MariaDB v3 [ 81004 ]
            Project MariaDB Connector/C [ 10300 ] MariaDB Server [ 10000 ]
            serg Sergei Golubchik made changes -
            Affects Version/s 10.2.6 [ 22527 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.2 [ 14601 ]
            serg Sergei Golubchik made changes -

            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.
            serg Sergei Golubchik made changes -
            Component/s libmariadb [ 14006 ]
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 10.2 [ 14601 ]
            Resolution Won't Fix [ 2 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 81004 ] MariaDB v4 [ 152242 ]

            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.