Skip to content

Commit

Permalink
Improve READLINE_V5 detection
Browse files Browse the repository at this point in the history
More in depth check to cover all used readline functions.
  • Loading branch information
cvicentiu committed Jan 23, 2024
1 parent 27459b4 commit 7c2f082
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/readline.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ MACRO (MYSQL_FIND_SYSTEM_READLINE)
{
rl_completion_func_t *func1= (rl_completion_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)

Expand Down

0 comments on commit 7c2f082

Please sign in to comment.