mirror of
https://github.com/MariaDB/server.git
synced 2025-08-24 03:12:20 +02:00

DROP USER looks for sessions by the do-be-dropped user and if found: * fails with ER_CANNOT_USER in Oracle mode * continues with ER_ACTIVE_CONNECTIONS_FOR_USER_TO_DROP warning otherwise Every user being dropped is marked with flag that disallow establishing a new connections on behalf this user.
14 lines
458 B
Text
14 lines
458 B
Text
--source include/not_embedded.inc
|
||
--source include/check_utf8_cli.inc
|
||
|
||
#
|
||
# Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
|
||
#
|
||
set names utf8;
|
||
create user юзер_юзер@localhost;
|
||
grant select on test.* to юзер_юзер@localhost;
|
||
--exec $MYSQL --default-character-set=utf8 --user=юзер_юзер -e "select user()"
|
||
--disable_warnings
|
||
drop user юзер_юзер@localhost;
|
||
--enable_warnings
|
||
set names default;
|