1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03: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.


client/mysql.cc:
  Add a 'l' prompt format specifier, which becomes the current delimiter
  string in the prompt.
This commit is contained in:
unknown
2006-07-19 14:33:56 -04:00
parent d13a39b583
commit 63a098f364

View File

@@ -3724,6 +3724,9 @@ static const char* construct_prompt()
case 't': case 't':
processed_prompt.append('\t'); processed_prompt.append('\t');
break; break;
case 'l':
processed_prompt.append(delimiter_str);
break;
default: default:
processed_prompt.append(c); processed_prompt.append(c);
} }