[PATCH] Disable the 'mysql*' command deprecation warning
authorDebian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)
committerOtto Kekäläinen <otto@debian.org>
Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)
commitd94a64ca34303bcd3ffeeeafcc8c9b0ae69db826
treee2de80bd265a2c05f90cddac51e7386c3ee5da74
parent6105cd24a9f4645b6ef0f21a404e54e567749a3c
[PATCH] 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 dependant
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/

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