mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Merge bk-internal:/home/bk/mysql-5.0-kt
into rama.(none):/home/jimw/my/mysql-5.0-17485 client/mysql.cc: Auto merged
This commit is contained in:
commit
ee513ab5a5
1 changed files with 4 additions and 2 deletions
|
@ -3642,12 +3642,14 @@ static const char* construct_prompt()
|
|||
case 'U':
|
||||
if (!full_username)
|
||||
init_username();
|
||||
processed_prompt.append(full_username);
|
||||
processed_prompt.append(full_username ? full_username :
|
||||
(current_user ? current_user : "(unknown)"));
|
||||
break;
|
||||
case 'u':
|
||||
if (!full_username)
|
||||
init_username();
|
||||
processed_prompt.append(part_username);
|
||||
processed_prompt.append(part_username ? part_username :
|
||||
(current_user ? current_user : "(unknown)"));
|
||||
break;
|
||||
case PROMPT_CHAR:
|
||||
processed_prompt.append(PROMPT_CHAR);
|
||||
|
|
Loading…
Reference in a new issue