mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
System variable tests delivered by Folio3 (see WL4288).
BitKeeper/etc/ignore: Added mysql-test/linux_sys_vars.inc mysql-test/load_sysvars.inc mysql-test/windows_sys_vars.inc to the ignore list
This commit is contained in:
18
mysql-test/r/max_user_connections_func.result
Normal file
18
mysql-test/r/max_user_connections_func.result
Normal file
@ -0,0 +1,18 @@
|
||||
** Setup **
|
||||
|
||||
SET @default_max_user_connections = @@max_user_connections;
|
||||
Set Global max_user_connections=2;
|
||||
'#--------------------FN_DYNVARS_114_01-------------------------#'
|
||||
** Connecting conn1 using username 'root' **
|
||||
** Connecting conn2 using username 'root' **
|
||||
** Connecting conn3 using username 'root' **
|
||||
ERROR 42000: User root already has more than 'max_user_connections' active connections
|
||||
Expected error "too many connections"
|
||||
** Disconnecting conn1 **
|
||||
'#--------------------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;
|
Reference in New Issue
Block a user