1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

regression introduced by MDEV-14448

This commit is contained in:
Sergei Golubchik
2024-01-30 16:39:28 +01:00
parent d1744ee7a2
commit e5147c8140
3 changed files with 53 additions and 3 deletions

View File

@@ -2136,10 +2136,7 @@ static int read_and_execute(bool interactive)
the readline/libedit library.
*/
if (line)
{
free(line);
glob_buffer.length(0);
}
line= readline(prompt);
#ifdef USE_LIBEDIT_INTERFACE
/*