Commit 7dc31480 authored by unknown's avatar unknown

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


client/mysql.cc:
  Change prompt to "/*> " when inside a multiline comment.
parent e656fba7
......@@ -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 == '`' ?
......
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