Skip to content

Commit cc051dc

Browse files
committed
Merge branch 'mysql-8.0' into mysql-trunk
2 parents 6440648 + 0e05f2d commit cc051dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/sql_parse.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4245,6 +4245,8 @@ int mysql_execute_command(THD *thd, bool first_level) {
42454245
user->alter_status.use_default_password_lifetime &&
42464246
(user->alter_status.update_password_require_current ==
42474247
Lex_acl_attrib_udyn::UNCHANGED) &&
4248+
!user->alter_status.update_password_history &&
4249+
!user->alter_status.update_password_reuse_interval &&
42484250
(thd->lex->ssl_type == SSL_TYPE_NOT_SPECIFIED))
42494251
update_password_only = true;
42504252

0 commit comments

Comments
 (0)