mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Bug #14448: delimiter in 'prompt'
"I want to have the current delimiter in the prompt so that I can know at a glance which is set." Add a 'l' format specifier that represents the current statement delimiter.
This commit is contained in:
parent
0bdb8fcd0b
commit
34256fb8f5
1 changed files with 3 additions and 0 deletions
|
@ -3724,6 +3724,9 @@ static const char* construct_prompt()
|
|||
case 't':
|
||||
processed_prompt.append('\t');
|
||||
break;
|
||||
case 'l':
|
||||
processed_prompt.append(delimiter_str);
|
||||
break;
|
||||
default:
|
||||
processed_prompt.append(c);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue