[PATCH] Disable the 'mysql*' command deprecation warning
authorDebian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)
committerOtto Kekäläinen <otto@debian.org>
Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)
commitfc0933a8d2d19e686aeeaa74099d0dbe24c0b245
tree797d3ab7c708f7b343c2e1ede8b839a8932cd532
parent69da187f9f338634fff8a9d8174d7a502824ee42
[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