mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
12
mysql-test/main/connect_debug.test
Normal file
12
mysql-test/main/connect_debug.test
Normal file
@ -0,0 +1,12 @@
|
||||
source include/have_debug.inc;
|
||||
set @old_dbug=@@global.debug_dbug;
|
||||
|
||||
#
|
||||
# use after free if need plugin change and auth aborted
|
||||
#
|
||||
set global debug_dbug='+d,auth_disconnect';
|
||||
create user 'bad' identified by 'worse';
|
||||
--error 1
|
||||
--exec $MYSQL --default-auth=mysql_old_password --user=bad --password=worse
|
||||
set global debug_dbug=@old_dbug;
|
||||
drop user bad;
|
Reference in New Issue
Block a user