mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix of Bug#37997. Polling until disconnect is not more in the processlist
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
** Setup **
|
||||
|
||||
SET @default_max_user_connections = @@max_user_connections;
|
||||
SET @default_max_user_connections = @@global.max_user_connections;
|
||||
Set Global max_user_connections=2;
|
||||
'#--------------------FN_DYNVARS_114_01-------------------------#'
|
||||
** Connecting conn1 using username 'root' **
|
||||
@ -9,10 +9,11 @@ Set Global max_user_connections=2;
|
||||
ERROR 42000: User root already has more than 'max_user_connections' active connections
|
||||
Expected error "too many connections"
|
||||
** Disconnecting conn1 **
|
||||
** Poll till disconnected conn1 disappears from processlist
|
||||
'#--------------------FN_DYNVARS_114_02-------------------------#'
|
||||
Set Global max_user_connections=3;
|
||||
** Connecting conn5 using username 'root' **
|
||||
** Connecting conn6 using username 'root' **
|
||||
** Connection default **
|
||||
** Disconnecting conn5, conn6 **
|
||||
SET GLOBAL max_user_connections = @default_max_user_connections;
|
||||
SET @@global.max_user_connections = @default_max_user_connections;
|
||||
|
Reference in New Issue
Block a user