public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mysql8.4] rawhide: Rebase to 8.4.13
Date: Sun, 25 Oct 2026 09:57:50 GMT	[thread overview]
Message-ID: <179292227092.1.602566594805046341.rpms-mysql8.4-43ecc1acb8b2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mysql8.4
            Branch : rawhide
            Commit : 43ecc1acb8b22e8215ab472ecd596ecc95a92ff2
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-10-24T18:03:30+02:00
            Stats  : +40/-41 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/mysql8.4/c/43ecc1acb8b22e8215ab472ecd596ecc95a92ff2?branch=rawhide

            Log:
            Rebase to 8.4.13

Release notes: https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-13.html
Changelog: https://dev.mysql.com/doc/relnotes/mysql/8.4/en/
Released: 2026-10-20

Highlights:
- Four-part versioning (WL#17318): MySQL now uses MAJOR.MINOR.PATCH.UPDATE
  format. The .UPDATE component is 0 for regular quarterly releases and
  incremented for out-of-cycle security hotfixes (e.g. 8.4.13.1). New SQL
  function 'VERSION_WITH_UPDATE()' and sysvar '@@version_with_update'
  expose it. Traditional 'VERSION()', '@@version', and C APIs still return
  three-part strings — no impact on RPM Version: field.
  For LTS (8.4) the traditional numbering continues but gains the same
  .UPDATE suffix capability.
- InnoDB redo log page-reorg fix
- Replication XA/GTID race fix
- Optimizer 'index_merge_union' empty-result fix (bug#114885)
- Bundled libevent 2.1.11->2.1.13, TIRPC->1.3.7

Rebased 'mysql-fix-compilation-with-openssl4.patch' for 8.4.13 sources.
Not yet fixed upstream, Fedora-only carry.

Testsuite verified:
 - main testsuite passes
 - full testsuite passes with few unstable anomalies, that differ from run to run

Resolves: rhbz#2556009 rhbz#2558766

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/mysql-fix-compilation-with-openssl4.patch b/mysql-fix-compilation-with-openssl4.patch
index c08757d..0cceca6 100644
--- a/mysql-fix-compilation-with-openssl4.patch
+++ b/mysql-fix-compilation-with-openssl4.patch
@@ -8,9 +8,9 @@ as well and won't break anything
 Also changed the openssl major version checking in cmake  to check for
 versions greater than 2 rather than equal to 3 to ensure openssl4 is being
 accepted as well
-diff -Naur mysql-8.4.9/cmake/ssl.cmake mysql-8.4.9_patched/cmake/ssl.cmake
---- mysql-8.4.9/cmake/ssl.cmake	2026-04-07 17:47:38.000000000 +0200
-+++ mysql-8.4.9_patched/cmake/ssl.cmake	2026-05-12 12:18:45.230725656 +0200
+
+--- mysql-8.4.13/cmake/ssl.cmake	2026-09-30 17:40:33.000000000 +0200
++++ mysql-8.4.13-patched/cmake/ssl.cmake	2026-10-23 16:22:20.208246381 +0200
 @@ -151,7 +151,7 @@
        ${version_part} "${${version_part}}")
    ENDFOREACH()
@@ -20,10 +20,9 @@ diff -Naur mysql-8.4.9/cmake/ssl.cmake mysql-8.4.9_patched/cmake/ssl.cmake
      # OpenSSL 3
      SET(OPENSSL_FIX_VERSION "${OPENSSL_VERSION_PATCH}")
    ELSE()
-diff -Naur mysql-8.4.9/sql/auth/sql_authentication.cc mysql-8.4.9_patched/sql/auth/sql_authentication.cc
---- mysql-8.4.9/sql/auth/sql_authentication.cc	2026-04-07 17:47:38.000000000 +0200
-+++ mysql-8.4.9_patched/sql/auth/sql_authentication.cc	2026-05-12 14:20:35.297825829 +0200
-@@ -5251,7 +5251,7 @@
+--- mysql-8.4.13/sql/auth/sql_authentication.cc	2026-09-30 17:40:33.000000000 +0200
++++ mysql-8.4.13-patched/sql/auth/sql_authentication.cc	2026-10-23 16:22:35.952757453 +0200
+@@ -5285,7 +5285,7 @@
      X509 *x509 = X509_new();
      X509_EXTENSION *ext = nullptr;
      X509V3_CTX v3ctx;
@@ -32,7 +31,7 @@ diff -Naur mysql-8.4.9/sql/auth/sql_authentication.cc mysql-8.4.9_patched/sql/au
  
      assert(cn.length() <= MAX_CN_NAME_LENGTH);
      assert(serial != 0);
-@@ -5276,7 +5276,7 @@
+@@ -5310,7 +5310,7 @@
      name = X509_get_subject_name(x509);
      if (!name) goto err;
  
@@ -41,28 +40,27 @@ diff -Naur mysql-8.4.9/sql/auth/sql_authentication.cc mysql-8.4.9_patched/sql/au
                                      (const unsigned char *)cn.c_str(), -1, -1,
                                      0))
        goto err;
-diff -Naur mysql-8.4.9/storage/ndb/include/util/NodeCertificate.hpp mysql-8.4.9_patched/storage/ndb/include/util/NodeCertificate.hpp
---- mysql-8.4.9/storage/ndb/include/util/NodeCertificate.hpp	2026-04-07 17:47:38.000000000 +0200
-+++ mysql-8.4.9_patched/storage/ndb/include/util/NodeCertificate.hpp	2026-05-12 12:18:45.231419360 +0200
-@@ -31,6 +31,7 @@
+--- mysql-8.4.13/storage/ndb/include/util/NodeCertificate.hpp	2026-09-30 17:40:33.000000000 +0200
++++ mysql-8.4.13-patched/storage/ndb/include/util/NodeCertificate.hpp	2026-10-23 16:22:35.969038833 +0200
+@@ -30,6 +30,7 @@
+ 
  #include "util/BaseString.hpp"
  #include "util/Vector.hpp"
- #include "util/cstrbuf.h"
 +#include <openssl/x509.h>
+ #include "util/cstrbuf.h"
  
  struct PkiFile {
-   using FileName = cstrbuf<32>;
-@@ -205,7 +206,7 @@
+@@ -262,7 +263,7 @@
    ~CertSubject() = default;
  
    /* Class Methods */
 -  static int set_common_name(struct X509_name_st *, const char *);
 +  static int set_common_name(const X509_NAME *, const char *);
+   static BaseString timestamp(time_t time, const char *fmt);
  
    /* Public Instance Methods */
-   bool bind_hostname(const char *);
-@@ -225,7 +226,7 @@
-   size_t timestamp(time_t, char *m, size_t) const;
+@@ -283,7 +284,7 @@
+   static size_t timestamp(time_t, char *m, size_t, const char *fmt = "%b %Y");
    size_t timestamp(char *, size_t) const;
    size_t print_name(char *, size_t) const;
 -  bool parse_name(struct X509_name_st *);
@@ -70,9 +68,8 @@ diff -Naur mysql-8.4.9/storage/ndb/include/util/NodeCertificate.hpp mysql-8.4.9_
    bool parse_name(const struct asn1_string_st *);
  
    /* Member variables */
-diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4.9_patched/storage/ndb/src/common/util/NodeCertificate.cpp
---- mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp	2026-04-07 17:47:38.000000000 +0200
-+++ mysql-8.4.9_patched/storage/ndb/src/common/util/NodeCertificate.cpp	2026-05-12 12:18:45.231560048 +0200
+--- mysql-8.4.13/storage/ndb/src/common/util/NodeCertificate.cpp	2026-09-30 17:40:33.000000000 +0200
++++ mysql-8.4.13-patched/storage/ndb/src/common/util/NodeCertificate.cpp	2026-10-23 16:23:00.683780118 +0200
 @@ -23,6 +23,7 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
  */
@@ -81,7 +78,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
  #include <stdlib.h>
  #include <sys/stat.h>
  #include <time.h>
-@@ -558,7 +559,7 @@
+@@ -584,7 +585,7 @@
    if (!cert) return nullptr;
  
    /* Copy name from csr to cert */
@@ -90,7 +87,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    if (X509_set_subject_name(cert, name) != 1) return nullptr;
  
    /* Set serial number in x509 */
-@@ -578,7 +579,7 @@
+@@ -604,7 +605,7 @@
  
  bool SigningRequest::parse_name() {
    if (m_req == nullptr) return false;
@@ -99,7 +96,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    return CertSubject::parse_name(name);
  }
  
-@@ -601,8 +602,8 @@
+@@ -627,8 +628,8 @@
  
  int SerialNumber::print(char *buf, int len, const ASN1_STRING *serial) {
    int offset = 0;
@@ -110,7 +107,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    if (offset) buf[offset - 1] = '\0';
    return offset;
  }
-@@ -612,8 +613,8 @@
+@@ -638,8 +639,8 @@
  SerialNumber::HexString::HexString(const ASN1_STRING *serial) {
    buf.append("0x");
    int truncated [[maybe_unused]] = 0;
@@ -121,7 +118,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    assert(!truncated);
  }
  
-@@ -638,7 +639,7 @@
+@@ -664,7 +665,7 @@
  }
  
  int Certificate::set_common_name(X509 *cert, const char *CN) {
@@ -130,7 +127,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    return CertSubject::set_common_name(name, CN);
  }
  
-@@ -652,8 +653,8 @@
+@@ -678,8 +679,8 @@
    const ASN1_BIT_STRING *sig = nullptr;
    const X509_ALGOR *algorithm;
    X509_get0_signature(&sig, &algorithm, cert);
@@ -141,7 +138,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    return prefix;
  }
  
-@@ -766,8 +767,8 @@
+@@ -797,8 +798,8 @@
    if (r1 == 0) return false;
  
    /* Set subject name */
@@ -152,7 +149,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    if (r1 == 0) return false;
  
    /* Add extension */
-@@ -874,8 +875,8 @@
+@@ -998,8 +999,8 @@
    m_names_owner = false;
  }
  
@@ -163,7 +160,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
                                      (const unsigned char *)text, -1, -1, 0);
  }
  
-@@ -903,8 +904,8 @@
+@@ -1027,8 +1028,8 @@
        ASN1_STRING *str =
            static_cast<ASN1_STRING *>(GENERAL_NAME_get0_value(name, &name_type));
        if (name_type == GEN_DNS) {
@@ -174,7 +171,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
          buffer[size] = '\0';
          nwritten = size;
        }
-@@ -925,8 +926,8 @@
+@@ -1049,8 +1050,8 @@
      ASN1_STRING *str =
          static_cast<ASN1_STRING *>(GENERAL_NAME_get0_value(name, &name_type));
      if (name_type == GEN_DNS) {
@@ -185,7 +182,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
          return true;
      }
    }
-@@ -1000,24 +1001,24 @@
+@@ -1126,24 +1127,24 @@
    return len;
  }
  
@@ -217,7 +214,7 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
      int r = strncmp(data(), a, l);
      if (r == 0) {
        p += l;
-@@ -1358,21 +1359,21 @@
+@@ -1497,21 +1498,21 @@
  
  bool NodeCertificate::parse_name() {
    if (m_x509 == nullptr) return false;
@@ -245,10 +242,9 @@ diff -Naur mysql-8.4.9/storage/ndb/src/common/util/NodeCertificate.cpp mysql-8.4
    return r;
  }
  
-diff -Naur mysql-8.4.9/storage/ndb/src/common/util/testSecureSocket.cpp mysql-8.4.9_patched/storage/ndb/src/common/util/testSecureSocket.cpp
---- mysql-8.4.9/storage/ndb/src/common/util/testSecureSocket.cpp	2026-04-07 17:47:38.000000000 +0200
-+++ mysql-8.4.9_patched/storage/ndb/src/common/util/testSecureSocket.cpp	2026-05-12 12:18:45.231765668 +0200
-@@ -220,7 +220,7 @@
+--- mysql-8.4.13/storage/ndb/src/common/util/testSecureSocket.cpp	2026-09-30 17:40:33.000000000 +0200
++++ mysql-8.4.13-patched/storage/ndb/src/common/util/testSecureSocket.cpp	2026-10-23 16:23:00.687088153 +0200
+@@ -217,7 +217,7 @@
    X509_set_pubkey(tls_cert, tls_key);
  
    /* Set the names */

diff --git a/mysql8.4.spec b/mysql8.4.spec
index 9b57c35..f5bd83c 100644
--- a/mysql8.4.spec
+++ b/mysql8.4.spec
@@ -2,7 +2,7 @@ ExcludeArch: %{ix86}
 
 # Name of the package without any prefixes
 %global majorname mysql
-%global package_version 8.4.11
+%global package_version 8.4.13
 %global majorversion %(echo %{package_version} | cut -d'.' -f1-2 )
 %global pkgnamepatch mysql
 
@@ -25,7 +25,7 @@ ExcludeArch: %{ix86}
 # The last version on which the full testsuite has been run
 # In case of further rebuilds of that version, don't require full testsuite to be run
 # run only "main" suite
-%global last_tested_version 8.4.11
+%global last_tested_version 8.4.13
 # Set to 1 to force run the testsuite even if it was already tested in current version
 %global force_run_testsuite 0
 
@@ -99,7 +99,7 @@ ExcludeArch: %{ix86}
 
 Name:             %{majorname}%{majorversion}
 Version:          %{package_version}
-Release:          2%{?with_debug:.debug}%{?dist}
+Release:          1%{?with_debug:.debug}%{?dist}
 Summary:          MySQL client programs and shared libraries
 URL:              http://www.mysql.com
 
@@ -1099,6 +1099,9 @@ popd
 %endif
 
 %changelog
+* Fri Oct 23 2026 Michal Schorm <mschorm@redhat.com> - 8.4.13-1
+- Rebase to 8.4.13
+
 * Fri Sep 25 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 8.4.11-2
 - Rebuilt for abseil-cpp 20260817.0
 

diff --git a/sources b/sources
index a2ffb1c..0d2c7ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mysql-8.4.11.tar.gz) = 56245b74e2ef45dcaaea76ff1db2c62e7ef24f3b05098ebb9785c93a04cdfdca36cc6fa69e0dd35f7be778ebeb46a831afa85647c9e9a9258bfeea7311013669
+SHA512 (mysql-8.4.13.tar.gz) = cae9a3ce644bf78a74096d8324120cbc707c886e77bc9cc05ce96f2bbda8ad9f0d074f0bac77e5e6c4724eeb78792f512bd76839acfd1bb07a487c5659c2d107

                 reply	other threads:[~2026-10-25  9:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179292227092.1.602566594805046341.rpms-mysql8.4-43ecc1acb8b2@fedoraproject.org \
    --to=mschorm@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox