Change mysql prompt while inside a multiline comment. (Bug #9186)
This commit is contained in:
parent
cedaeb4b7c
commit
3a6af0b28f
@ -936,7 +936,8 @@ static int read_lines(bool execute_commands)
|
||||
}
|
||||
else
|
||||
{
|
||||
char *prompt= (char*) (glob_buffer.is_empty() ? construct_prompt() :
|
||||
char *prompt= (char*) (ml_comment ? " /*> " :
|
||||
glob_buffer.is_empty() ? construct_prompt() :
|
||||
!in_string ? " -> " :
|
||||
in_string == '\'' ?
|
||||
" '> " : (in_string == '`' ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user