Commit 32740229 authored by Dmitry Shulga's avatar Dmitry Shulga Committed by Sergei Golubchik

MDEV-16708: Unsupported commands for prepared statements

Extended a set of commands that can be executed via binary protocol
by a user with expired password
parent d5836a62
......@@ -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;
......
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