Bug 2055613

Summary: [Tracker] Rebase to 3.2 major version [3.2.6 release]
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: mariadb-connector-cAssignee: Michal Schorm <mschorm>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, ljavorsk, mmuzila, mschorm, upstream-release-monitoring
Target Milestone: ---Keywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-05 10:08:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2018652    

Description Michal Schorm 2022-02-17 11:23:00 UTC
MariaDB upstream released stable versions of the 'mariadb-connector-c' project.
However the place I watch for new releases:
  https://mariadb.org/download/
has been left without updates for the connectors projects.
New releases of the connectors can be downloaded only via:
  https://mariadb.com/downloads/connectors/

That's why I missed several releases and now I'd like to jump directly from version '3.1.13' to '3.2.6'.

---

Release notes:
  https://mariadb.com/kb/en/mariadb-connector-c-326-release-notes/
mentions several big changes.

The most important, which might cause compatibility issues are:
 - Default character set is now utf8mb4
 - Character set utf8 will be mapped to utf8mb3
 - CONC-509: mysql_get_client_* api functions now return Connector version

---

To avoid compatibility issues, I've made a Fedora COPR rebuild of all dependent packages, looking for failures caused by the 'mariadb-connector-c' rebase
  https://copr.fedorainfracloud.org/coprs/mschorm/mariadb-connector-c-3.2.6/builds/

I ws able to isolate two packages that FTBFS after the rebase of 'mariadb-connector-c':
  https://copr.fedorainfracloud.org/coprs/mschorm/mariadb-connector-c-3.2.6-problems/builds/
They are:
 - perl-DBD-MariaDB
 - rubygem-mysql2

In both cases the issues seems to be tests-only.

I've contacted both package's maintainers.
We found out that the issue in both packages is known to the respective upstreams.
In 'rubygem-mysql2' package, the issue is fixed by upstream, but not yet released:
  https://github.com/brianmario/mysql2/commit/cca57b97ad6d1b1b985376be110b89d2b487dea6
In 'perl-DBD-MariaDB' package, the issue is reported from several distributions:
  https://github.com/gooddata/DBD-MariaDB/issues/164

---

In this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1970502#c7 I've raised my concerns about the change of the default character set.

---

A new sub-package is introduced by this change, containing man pages describing the API of the client library.

---

PR against Rawhide:
  https://src.fedoraproject.org/rpms/mariadb-connector-c/pull-request/13

Comment 1 Michal Schorm 2022-02-17 11:35:09 UTC
*** Bug 2016345 has been marked as a duplicate of this bug. ***

Comment 2 Michal Schorm 2022-02-17 11:35:26 UTC
*** Bug 1970502 has been marked as a duplicate of this bug. ***

Comment 3 Michal Schorm 2022-02-17 12:23:46 UTC
Update has been pushed and built:
  https://koji.fedoraproject.org/koji/taskinfo?taskID=82924886