Debian Patches

Status for mysql-9.7/9.7.1-1

Patch Description Author Forwarded Bugs Origin Last update
fix_hurd_kfreebsd.patch Build and test fixes for GNU/Hurd and kFreeBSD Merged patches for hurd and kfreebsd and updated for 5.7
Thanks to:
Pino Toscano <pino@debian.org>
Nicholas Bamber <nicholas@periapt.co.uk>
for original patches.
.
See hurd.patch and kfreebsd_tests.patch for more information
Lars Tangvald <lars.tangvald@oracle.com> no
fix_grant_user_lock_as_root.patch Fixes test failing when run as root Certain tests will fail when run as root. This patch fixes one,
main.grant_user_lock, which tries to test an anonymous user in
a way that fails when running as root. The patch fixes only
this test because there have been issues in Debian with only
this test failing in this way.
Lars Tangvald <lars.tangvald@oracle.com> yes debian upstream 2016-11-09
atomic-test-words.patch no
use-largest-lock-free-type-selector-on-riscv.patch Use Largest_lock_free_type_selector on RISC-V
This patch is necessary because RISC-V doesn't guarantee the
always-lock-free property on certain types (like boolean), which
causes a static_assert to trigger when compiling MySQL on the
architecture.
Sergio Durigan Junior <sergio.durigan@canonical.com> no 2020-07-27
revert_faster_tls_model.patch revert commit 735bd2a53834266c7256830c8d34672ea55fe17b Marc Deslauriers <marc.deslauriers@canonical.com> not-needed 2026-06-16
disable_root_files.patch disable files that require root privileges during tests Marc Deslauriers <marc.deslauriers@canonical.com> no
disable_timestamping_test.patch disable test that fails to build on certain archs because of the presence of sizeof in macros. Marc Deslauriers <marc.deslauriers@canonical.com> no
mysql_secure_installation-remove-root-pw-creation.patch Remove the creation of a root password in mysql_secure_installation Since Ubuntu and Debian use the auth_socket plugin for the root user by default,
and attempting to set a password for it through "SET_PASSWORD" causes an error,
do not create a root password in the mysql_secure_installation script if one
has not been set previously. If the user would like to instead use a password
they can run
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'password';
in the mysql client.
Lena Voytek <lena@debian.org> not-needed 2026-06-16
allow-32bit-cmake.patch Re-enable 32 bit support by ignoring cmake SIZEOF_VOIDP check Upstream does not support 32 bit architectures in MySQL 9.7. As such builds
have been blocked with a check that SIZEOF_VOIDP is 8. Reverting this allows
the build to proceed.
Lena Voytek <lena@debian.org> not-needed 2026-07-02
allow-mysql-m4-without-server.patch Install mysql.m4 regardless of WITHOUT_SERVER flag. CMake is set to include files in the support-files directory only if
WITHOUT_SERVER is not set. However, mysql.m4 does not require MySQL server.
This patch includes support-files regardless of the flag, but skips
installation of files that require the server.
Lena Voytek <lena@debian.org> no 2026-07-02
build-libmysqlservices-without-server.patch Allow mysqlservices library to build without building server Since the mysqlservices library is included with libmysqlclient-dev, which
does not depend on mysql-server, it should be allowed to build even when
WITHOUT_SERVER is set. Remove the block in libservices/CMakeLists.txt.
Lena Voytek <lena@debian.org> not-needed 2026-07-02
suppress_sched_setaffinity_warning.patch Ignore sched_setaffinity() failures in testsuite to fix autopkgtest. Suppress sched_setaffinity error for testsuite globally using mtr_warnings.sql
and ignore it specifically in main.basedir and main.sys_accounts_auth_upgrade,
which manually check for [ERROR] in the error log.
Lena Voytek <lena@debian.org> not-needed 2026-06-22
suppress_cycle_timer_warning.patch Ignore CYCLE timer warning in testsuite to fix riscv64 autopkgtest On architectures without a usable CPU CYCLE timer, mysqld emits a warning at
startup that WAIT events in the performance_schema will not be timed. Suppress
this warning in the testsuite to fix riscv64 upstream autopkgtest.
Lena Voytek <lena@debian.org> not-needed 2026-06-29

All known versions for source package 'mysql-9.7'

Links