Improve READLINE_V5 detection

More in depth check to cover all used readline functions.
This commit is contained in:
Vicențiu Ciorbaru 2024-01-23 18:38:22 +02:00
parent 27459b413d
commit 7c2f082222
No known key found for this signature in database
GPG key ID: B9B545584AAAF095

View file

@ -114,6 +114,9 @@ MACRO (MYSQL_FIND_SYSTEM_READLINE)
{ {
rl_completion_func_t *func1= (rl_completion_func_t*)0; rl_completion_func_t *func1= (rl_completion_func_t*)0;
rl_compentry_func_t *func2= (rl_compentry_func_t*)0; rl_compentry_func_t *func2= (rl_compentry_func_t*)0;
rl_on_new_line();
rl_replace_line(\"\", 0);
rl_redisplay();
}" }"
NEW_READLINE_INTERFACE) NEW_READLINE_INTERFACE)