Re: [Maria-developers] Fwd: some question on bundled libedit in mysql
Sergei Golubchik <[email protected]> Mon, 25 Feb 2013 11:26:55 +0100
| Newsgroups | gmane.comp.db.mysql.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, xiaobing! On Feb 25, xiaobing jiang wrote: > > and why mysql5.6 remove the bundled readline? I think readline is used > more than libedit. > and when using system readline, why perfer libedit to readline ? look > at cmake/readline.cmake. FIND_SYSTEM_LIBEDIT(edit) -> > FIND_SYSTEM_LIBEDIT(readline) For legal reasons. readline is GPL. libedit is BSD. MySQL can be built as non-GPL binary, so it cannot be linked with GPL library in these builds. Apparently, MySQL developers didn't want to maintain different linking preferences for GPL and non-GPL builds. In MariaDB we prefer to link with readline. We never link with bundled libedit at all. Either with system readline, if it's usable, or with system libedit, or with bundled readline. Regards, Sergei -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals