RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2055288 - [Tracker] Rebase to the upstream version 3.2
Summary: [Tracker] Rebase to the upstream version 3.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: mariadb-connector-c
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Schorm
QA Contact: Jakub Heger
URL:
Whiteboard:
Depends On: 2068506 2069167
Blocks: 2068145
TreeView+ depends on / blocked
 
Reported: 2022-02-16 15:34 UTC by Michal Schorm
Modified: 2022-05-17 14:59 UTC (History)
3 users (show)

Fixed In Version: mariadb-connector-c-3.2.6-1.el9_0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2068145 (view as bug list)
Environment:
Last Closed: 2022-05-17 14:59:53 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-112609 0 None None None 2022-02-16 15:36:51 UTC
Red Hat Product Errata RHBA-2022:3309 0 None None None 2022-05-17 14:59:56 UTC

Description Michal Schorm 2022-02-16 15:34:08 UTC
Changes and Improvements in MariaDB Connector/C 3.2
* Default character set is now utf8mb4
* Character set utf8 will be mapped to utf8mb3

  https://mariadb.com/kb/en/changes-and-improvements-in-mariadb-connector-c-32/

---

To avoid potential future incompatibility with the character sets, better ship the  3.2 release already with RHEL 9.0

Comment 6 Michal Schorm 2022-03-24 12:24:15 UTC
More details:
  Current version in C9S:   mariadb-connector-c 3.1.13
  Latest upstream release:  mariadb-connector-c 3.2.6

OpenSSL 3 support introduced in 3.2.3
  https://mariadb.com/kb/en/mariadb-connector-c-323-release-notes/

---

When I introduced this rebase to Fedora, I first did a COPR rebuild of all dependent packages to find out any issues:
  https://bugzilla.redhat.com/show_bug.cgi?id=2055613
Note: some of the packages couldn't be built at all at that time, so I wasn't able to compare the build behavior before and after the rebase of the 'mariadb-connector-c' package

Comment 11 Michal Schorm 2022-03-29 14:56:55 UTC
abipkgdiff --d1 mariadb-connector-c-debuginfo-3.1.13-3.el9.x86_64.rpm --d2 mariadb-connector-c-debuginfo-3.2.6-1.el9_0.x86_64.rpm --devel1 mariadb-connector-c-devel-3.1.13-3.el9.x86_64.rpm --devel2 mariadb-connector-c-devel-3.2.6-1.el9_0.x86_64.rpm mariadb-connector-c-3.1.13-3.el9.x86_64.rpm mariadb-connector-c-3.2.6-1.el9_0.x86_64.rpm

================ changes of 'libmariadb.so.3'===============
  Functions changes summary: 0 Removed, 2 Changed (190 filtered out), 0 Added functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

  2 functions with some indirect sub-type change:

    [C] 'function int ma_pvio_register_callback(my_bool, void (int, MYSQL*, const uchar*, typedef size_t)*)' at ma_pvio.c:563:1 has some indirect sub-type changes:
      parameter 2 of type 'void (int, MYSQL*, const uchar*, typedef size_t)*' has sub-type changes:
        in pointed to type 'function type void (int, MYSQL*, const uchar*, typedef size_t)':
          parameter 2 of type 'MYSQL*' has sub-type changes:
            in pointed to type 'typedef MYSQL' at mysql.h:372:1:
              underlying type 'struct st_mysql' at mysql.h:336:1 changed:
                type size hasn't changed
                1 data member changes (3 filtered):
                  type of 'const st_mariadb_methods* methods' changed:
                    in pointed to type 'const st_mariadb_methods':
                      in unqualified underlying type 'struct st_mariadb_methods' at mysql.h:853:1:
                        type size changed from 1216 to 1344 (in bits)
                        2 data member insertions:
                          'int (MYSQL_STMT*)* db_read_execute_response', at offset 1216 (in bits) at mysql.h:876:1
                          'unsigned char* (MYSQL_STMT*, size_t*, typedef my_bool)* db_execute_generate_request', at offset 1280 (in bits) at mysql.h:877:1
                        1 data member changes (17 filtered):
                          type of 'st_mariadb_api* api' changed:
                            in pointed to type 'struct st_mariadb_api' at mysql.h:734:1:
                              type size hasn't changed
                              1 data member changes (102 filtered):
                                type of 'int (MYSQL_STMT*, const char*, typedef size_t)* mariadb_stmt_execute_direct' changed:
                                  in pointed to type 'function type int (MYSQL_STMT*, const char*, typedef size_t)':
                                    parameter 1 of type 'MYSQL_STMT*' has sub-type changes:
                                      in pointed to type 'typedef MYSQL_STMT' at mariadb_stmt.h:58:1:
                                        underlying type 'struct st_mysql_stmt' at mariadb_stmt.h:208:1 changed:
                                          type size changed from 7360 to 7424 (in bits)
                                          1 data member insertion:
                                            'size_t request_length', at offset 7360 (in bits) at mariadb_stmt.h:209:1
                                          1 data member changes (6 filtered):
                                            type of 'st_mysqlnd_stmt_methods* m' changed:
                                              in pointed to type 'struct st_mysqlnd_stmt_methods':
                                                entity changed from 'struct st_mysqlnd_stmt_methods' to 'unsigned char'
                                                type size changed from 1856 to 8 (in bits)
                                            and name of 'st_mysql_stmt::m' changed to 'st_mysql_stmt::request_buffer' at mariadb_stmt.h:202:1

    [C] 'function void mariadb_free_rpl_event(MARIADB_RPL_EVENT*)' at mariadb_rpl.c:68:1 has some indirect sub-type changes:
      parameter 1 of type 'MARIADB_RPL_EVENT*' has sub-type changes:
        in pointed to type 'typedef MARIADB_RPL_EVENT' at mariadb_rpl.h:289:1:
          underlying type 'struct st_mariadb_rpl_event' at mariadb_rpl.h:257:1 changed:
            type size hasn't changed
            1 data member change:
              type of 'union {st_mariadb_rpl_rotate_event rotate; st_mariadb_rpl_query_event query; st_mariadb_rpl_format_description_event format_description; st_mariadb_rpl_gtid_list_event gtid_list; st_mariadb_rpl_checkpoint_event checkpoint; st_mariadb_rpl_xid_event xid; st_mariadb_rpl_gtid_event gtid; st_mariadb_rpl_annotate_rows_event annotate_rows; st_mariadb_rpl_table_map_event table_map; st_mariadb_rpl_rand_event rand; st_mariadb_rpl_encryption_event encryption; st_mariadb_rpl_intvar_event intvar; st_mariadb_rpl_uservar_event uservar; st_mariadb_rpl_rows_event rows; st_mariadb_rpl_heartbeat_event heartbeat;} event' changed:
                type size hasn't changed
                1 data member change:
                  type of 'st_mariadb_rpl_rows_event rows' changed:
                    type size changed from 448 to 576 (in bits)
                    2 data member insertions:
                      'size_t extra_data_size', at offset 448 (in bits) at mariadb_rpl.h:248:1
                      'void* extra_data', at offset 512 (in bits) at mariadb_rpl.h:249:1

================ end of changes of 'libmariadb.so.3'===============

Comment 14 errata-xmlrpc 2022-05-17 14:59:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: mariadb-connector-c), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3309


Note You need to log in before you can comment on or make changes to this bug.