mariadb/mysql-test/suite/roles/set_default_role_ps-6960.test
2018-06-24 15:18:36 +02:00

17 lines
401 B
Text

#
# MDEV-6960 Server crashes in check_alter_user on setting a default role via PS
#
--source include/not_embedded.inc
create role r1;
prepare stmt from "set password = '11111111111111111111111111111111111111111'";
execute stmt;
prepare stmt from "set default role r1";
execute stmt;
set password = '';
set default role NONE;
drop role r1;
#cleanup after MDEV-16238
update mysql.user set plugin='';