[MDEV-12950] API Regression: mysql_st missing reconnect Created: 2017-05-30  Updated: 2017-10-04  Resolved: 2017-10-04

Status: Closed
Project: MariaDB Server
Component/s: libmariadb
Affects Version/s: 10.2.6
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Georg Richter
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
PartOf
is part of CONC-255 API Regression: mysql_st missing reco... Open

 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.



 Comments   
Comment by Kazuhiko Shiozaki [ 2017-06-07 ]

It is just fixed in mysqlclient-python.

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

Comment by Kazuhiko Shiozaki [ 2017-06-08 ]

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.

Comment by Georg Richter [ 2017-06-08 ]

MYSQL_VERSION_ID was added already: https://github.com/MariaDB/mariadb-connector-c/commit/422d0f786e5e6eb103000a75738322c8baa9aa12

Comment by Sergei Golubchik [ 2017-10-04 ]

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

Generated at Thu Feb 08 08:01:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.