Package: mysql-client-5.5 Version: 5.5.17-4 Severity: normal Tags: patch The transition from autotools to cmake for MySQL 5.5 led to changes in the enable-by-default features, including readline linking of the mysql client.
To make sure that MySQL 5.5 has the same features as MySQL 5.1, cmake options have to be changed so that the MySQL client uses the system's readline library instead of the bundled editline wrapper (a patch is attached)
Index: debian/rules =================================================================== --- debian/rules (revision 2041) +++ debian/rules (working copy) @@ -84,7 +84,8 @@ -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \ -DMYSQL_USER=mysql \ -DWITH_LIBWRAP=ON \ - -DWITH_LIBREADLINE=OFF \ + -DWITH_READLINE=OFF \ + -DWITH_LIBEDIT=OFF \ $(USE_STATIC_MYSQLD) \ -DWITH_SSL=yes \ -DCOMPILATION_COMMENT="($(DISTRIBUTION))" \