diff --git a/client/mysql.cc b/client/mysql.cc index 46bfc7d880f..39d970da629 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -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 == '`' ?