mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Cast string literal to char* MDEV-20767
This commit is contained in:
committed by
Vicențiu-Marian Ciorbaru
parent
1e0f09cacb
commit
b1ac174279
@@ -2671,7 +2671,7 @@ static int fake_magic_space(const char *, int)
|
|||||||
static void initialize_readline ()
|
static void initialize_readline ()
|
||||||
{
|
{
|
||||||
/* Allow conditional parsing of the ~/.inputrc file. */
|
/* Allow conditional parsing of the ~/.inputrc file. */
|
||||||
rl_readline_name= "mysql";
|
rl_readline_name= (char *) "mysql";
|
||||||
rl_terminal_name= getenv("TERM");
|
rl_terminal_name= getenv("TERM");
|
||||||
|
|
||||||
/* Tell the completer that we want a crack first. */
|
/* Tell the completer that we want a crack first. */
|
||||||
|
Reference in New Issue
Block a user