Commit 3fb0f420 authored by jimw@rama.(none)'s avatar jimw@rama.(none)

Merge bk-internal:/home/bk/mysql-5.0-kt

into  rama.(none):/home/jimw/my/mysql-5.0-17485
parents 7350cb8b 9a2a3c6e
...@@ -3642,12 +3642,14 @@ static const char* construct_prompt() ...@@ -3642,12 +3642,14 @@ static const char* construct_prompt()
case 'U': case 'U':
if (!full_username) if (!full_username)
init_username(); init_username();
processed_prompt.append(full_username); processed_prompt.append(full_username ? full_username :
(current_user ? current_user : "(unknown)"));
break; break;
case 'u': case 'u':
if (!full_username) if (!full_username)
init_username(); init_username();
processed_prompt.append(part_username); processed_prompt.append(part_username ? part_username :
(current_user ? current_user : "(unknown)"));
break; break;
case PROMPT_CHAR: case PROMPT_CHAR:
processed_prompt.append(PROMPT_CHAR); processed_prompt.append(PROMPT_CHAR);
......
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