xref: /OK3568_Linux_fs/buildroot/package/oracle-mysql/0002-use-new-readline-iface.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Tell MySQL to use the new readline interface even when an external
2readline is being used.
3
4Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5
6---
7 configure.in |    1 +
8 1 file changed, 1 insertion(+)
9
10Index: mysql-5.1.53/configure.in
11===================================================================
12--- mysql-5.1.53.orig/configure.in
13+++ mysql-5.1.53/configure.in
14@@ -2689,6 +2689,7 @@
15 	    # this way we avoid linking commercial source with GPL readline
16 	    readline_link="-lreadline"
17 	    want_to_use_readline="yes"
18+	    AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE, 1)
19 	elif [test "$mysql_cv_libedit_interface" = "yes"]
20 	then
21 	    # Use libedit
22