Skip to content

Commit

Permalink
MDEV-16708: Unsupported commands for prepared statements
Browse files Browse the repository at this point in the history
Extended a set of commands that can be executed via binary protocol
by a user with expired password
  • Loading branch information
dmitryshulga authored and vuvova committed Jun 17, 2021
1 parent d5836a6 commit 3274022
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/sql_parse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,8 @@ dispatch_command_return dispatch_command(enum enum_server_command command, THD *
command != COM_PING &&
command != COM_QUIT &&
command != COM_STMT_PREPARE &&
command != COM_STMT_EXECUTE))
command != COM_STMT_EXECUTE &&
command != COM_STMT_CLOSE))
{
my_error(ER_MUST_CHANGE_PASSWORD, MYF(0));
goto dispatch_end;
Expand Down

0 comments on commit 3274022

Please sign in to comment.