Bug #47201 | mySQL command tool: line editing breaks in presence of multi-byte characters | ||
---|---|---|---|
Submitted: | 8 Sep 2009 23:42 | Modified: | 9 Sep 2009 19:42 |
Reporter: | Jean-Denis Muys | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.1.37 | OS: | MacOS (10.6) |
Assigned to: | CPU Architecture: | Any | |
Tags: | readline editing utf8 multibyte |
[8 Sep 2009 23:42]
Jean-Denis Muys
[9 Sep 2009 4:14]
Valeriy Kravchuk
Thank you for the detailed problem report. Please, send the results of: mysql --version I want to check what readline version is used. I can not repeat the problem on Mac OS X 10.5.x with mysql built from sources if readline 5.1 is used.
[9 Sep 2009 6:09]
Jean-Denis Muys
JDMBook:~ jdmuys$ mysql --version mysql Ver 14.14 Distrib 5.1.37, for apple-darwin9.5.0 (i386) using readline 5.1 I am using MacOS X 10.6 (Snow Leopard). As I have another Mac still running 10.5.x, I will try it there and report what I get.
[9 Sep 2009 7:12]
Jean-Denis Muys
I just tried on a Mac running Mac OS X Server 10.5.7. It's not the same version of mySQL, and I did not want to install the latest one because it's controlled by the OS. In any case, the bug appears there too, in the same way. Version is: miniserv:~ jdmuys$ mysql --version mysql Ver 14.12 Distrib 5.0.67, for apple-darwin9.0 (i686) using EditLine wrapper I know this is not ideal. I think I can try on yet another Mac.
[9 Sep 2009 8:11]
Sveta Smirnova
Thank you for the feedback. Can you repeat this error if start MySQL command line client with option --default-character-set=utf8?
[9 Sep 2009 15:47]
Jean-Denis Muys
Yes the bug happens also when using the --default-character-set=utf8 option. However, when going to try it again on another Mac, I noticed version 5.1.38 was released since I had the problem. It turns out that the problem does NOT occur with this version using that other Mac. So I downloaded 5.1.38 on my main Mac too. And now the issue does not happen any more. I conclude that this issue was somehow fixed with the 5.1.38 release. This seems also confirmed with the bug page #46310 (http://bugs.mysql.com/bug.php?id=46310) which looks like it was the same bug. Best regards.
[9 Sep 2009 19:42]
Sveta Smirnova
Thank you for the feedback. This looks like bug #46310, but not exactly same as backspace is not arrow. So I close this as "Can't repeat" as you can not repeat it with 5.1.38 and we we current development sources.