Disable the 'mysql*' command deprecation warning
authorOtto Kekalainen <otto@debian.org>
Sun, 30 Jun 2024 15:18:06 +0000 (15:18 +0000)
committerOtto Kekäläinen <otto@debian.org>
Tue, 26 Aug 2025 16:05:45 +0000 (09:05 -0700)
commit17081ffe7e6b3bc0ff25399a99896fbcfc8c8416
tree4c30411d8f6c1f34367ecbc1717cb66e9a37778f
parentb4ab66d5ede4816da6e45eb08de7eccbc7b9380f
Disable the 'mysql*' command deprecation warning

Many command-line tools expect the commands they run to return without
any output in stderr or having error codes. The fact that now in MariaDB
11.4 all 'mysql*' commands emit a deprecation warning causes a lot of
scripts to fail, such as the /etc/init.d/mariadb itself and many dependent
programs as witnessed via Debian autopkgtests. See examples below.

https://ci.debian.net/packages/m/mariadb-connector-odbc/testing/amd64/48373500/
https://ci.debian.net/packages/p/pam-mysql/testing/amd64/48373511/
https://ci.debian.net/packages/r/roundcube/testing/amd64/48373518/

Forwarded: no

Gbp-Pq: Name hide-mysql-command-deprecation-warnings.patch
mysys/my_init.c