Commit 3a6af0b2 authored by jimw@mysql.com's avatar jimw@mysql.com

Change mysql prompt while inside a multiline comment. (Bug #9186)

parent cedaeb4b
...@@ -936,7 +936,8 @@ static int read_lines(bool execute_commands) ...@@ -936,7 +936,8 @@ static int read_lines(bool execute_commands)
} }
else 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 == '\'' ? in_string == '\'' ?
" '> " : (in_string == '`' ? " '> " : (in_string == '`' ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment