Bug #84501 Backport support for newer libedit to MySQL 5.6

Submitted: 13 Jan 2017 11:47 Modified: 20 Jan 2017 3:14
Reporter: Terje Røsten Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.6.35 OS:Any
Assigned to: Jon Olav Hauglid CPU Architecture:Any

[13 Jan 2017 11:47] Terje Røsten
Description:
Please backport

Bug#23708332: -DWITH_EDITLINE=SYSTEM BREAKS WITH LIBEDIT-20160618-3.1

Add CMake check for the new editline completion API
and based on the result, use already existing code
for it in the mysql client.

https://github.com/mysql/mysql-server/commit/76296545b11db55613e57237c09fe6cc117933f9#diff...

to MySQL 5.6. 

It's needed in Debian:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851156

How to repeat:
Build MySQL 5.6 with option -DWITH_EDITLINE=system on system with newer libedit.

Suggested fix:
Apply fix from MySQL 5.7.
[20 Jan 2017 3:14] Paul DuBois
Posted by developer:
 
Noted in 5.6.36 changelog.

The -DWITH_EDITLINE=system CMake option failed with recent versions
of the editline library.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.