diff --git a/client/mysql.cc b/client/mysql.cc index 87b347d5b3e..336c6bfe938 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -5198,6 +5198,9 @@ static const char *construct_prompt() { case 'O': processed_prompt.append(month_names[t->tm_mon]); break; + case 'M': + add_int_to_prompt(t->tm_mday); + break; case '\'': processed_prompt.append("'"); break;