LP #631667: EditLine used for percona-server-client-5.1 on ubuntu

Description

**Reported in Launchpad by Przemek last update 20-04-2011 06:53:46

Why do you replicate so big mistake made by Ubuntu guys by using EditLine instead of readline for mysql client 5.1 ?

Current 5.1 percona client version for Ubuntu won't let you use ctrl+r for searching commandline history, and browsing using up arrowkey is no longer distinct ! This makes mysql client really pain in the ass.

But still the same version for Redhat use readline, why ubuntu users have to be punished so badly ?

redhat:
Percona-Server-client-51-5.1.47-rel11.2.53.rhel5.x86_64
mysql --version
mysql Ver 14.14 Distrib 5.1.47, for unknown-linux-gnu (x86_64) using readline 5.1

ubuntu:
percona-sql-client-5.0 5.0.91-percona-b22.karmic.16
mysql --version
mysql Ver 14.12 Distrib 5.0.91, for debian-linux-gnu (x86_64) using readline 6.0

percona-server-client-5.1 5.1.47-11.1-51.karmic
mysql --version
mysql Ver 14.14 Distrib 5.1.47, for debian-linux-gnu (x86_64) using EditLine wrapper

And debian repository mysql-client still uses readline.

Please use readline back in the next 5.1 client release.

Environment

None

Smart Checklist

Activity

lpjirasync January 22, 2018 at 9:56 PM

**Comment from Launchpad by: Przemek on: 20-04-2011 06:52:01

mysql --version
mysql Ver 14.14 Distrib 5.1.56, for debian-linux-gnu (x86_64) using readline 5.1

Thanks guys, mysql client for ubuntu is awesome again!

lpjirasync January 22, 2018 at 9:56 PM

**Comment from Launchpad by: Bart Verwilst on: 10-03-2011 15:05:37

Hi Ignacio,

Thanks for the explanation, you're absolutely right, thanks for fixing slightly smiling face Now to play the waiting game for 5.1.56.. winking face

lpjirasync January 22, 2018 at 9:56 PM

**Comment from Launchpad by: Ignacio Nin on: 10-03-2011 14:46:15

Hello Bart,

The recently distributed binaries correspond to commit 200, and this was fixed in commit 201, so unfortunately these binaries don't include this fix.

Nevertheless, the fix was commited and a binary with the fix can be built from the tip of release-5.1.55-20 or the main branch soon (and will be released in 5.1.56). This is why I set bug was set to "fix commited", please notice it's not "fix released". When 5.1.56 is released we'll switch to fix released.

Switching back to "fix commited". Thanks,

N.

lpjirasync January 22, 2018 at 9:56 PM

**Comment from Launchpad by: Bart Verwilst on: 08-03-2011 00:34:10

--with-readline uses the bundled copy of readline, which is why i used --without-readline to get to a working build.

As seen on the newly released 5.1.54-rel12.5 packages:

"mysql Ver 14.14 Distrib 5.1.55, for debian-linux-gnu (x86_64) using EditLine wrapper"

As seen on the packages i built with --without-readline:

"mysql Ver 14.14 Distrib 5.1.54, for debian-linux-gnu (x86_64) using readline 5.2"

As a result, this still isn't fixed.

lpjirasync January 22, 2018 at 9:55 PM

**Comment from Launchpad by: Ignacio Nin on: 02-03-2011 15:06:45

Added --with-readline (in order to follow our RPM usage) to the configure line of the control file in the release-5.1.55-12 branch (commit #201). Now the mysql binary is built with readline support.

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created January 22, 2018 at 9:54 PM
Updated January 22, 2018 at 9:56 PM
Resolved January 22, 2018 at 9:55 PM

Flag notifications