mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@@ -561,8 +561,15 @@ disconnect con4a;
|
||||
disconnect con4b;
|
||||
disconnect con4c;
|
||||
set global max_user_connections = 0;
|
||||
set global max_connections = 3;
|
||||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
connect tmp_con1,localhost,root,,;
|
||||
connect tmp_con2,localhost,root,,;
|
||||
connect tmp_con3,localhost,root,,;
|
||||
connect tmp_con4,localhost,root,,;
|
||||
connect tmp_con5,localhost,root,,;
|
||||
connect tmp_con6,localhost,root,,;
|
||||
connect tmp_con7,localhost,root,,;
|
||||
connect con5a,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con4a is alive";
|
||||
Con4a is alive
|
||||
@@ -697,6 +704,13 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
disconnect tmp_con1;
|
||||
disconnect tmp_con2;
|
||||
disconnect tmp_con3;
|
||||
disconnect tmp_con4;
|
||||
disconnect tmp_con5;
|
||||
disconnect tmp_con6;
|
||||
disconnect tmp_con7;
|
||||
set global max_connections = @saved_max_connections;
|
||||
set global max_user_connections = @saved_max_user_connections;
|
||||
drop user 'quota'@'santa.claus.ipv4.example.com';
|
||||
|
||||
@@ -561,8 +561,15 @@ disconnect con4a;
|
||||
disconnect con4b;
|
||||
disconnect con4c;
|
||||
set global max_user_connections = 0;
|
||||
set global max_connections = 3;
|
||||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
connect tmp_con1,localhost,root,,;
|
||||
connect tmp_con2,localhost,root,,;
|
||||
connect tmp_con3,localhost,root,,;
|
||||
connect tmp_con4,localhost,root,,;
|
||||
connect tmp_con5,localhost,root,,;
|
||||
connect tmp_con6,localhost,root,,;
|
||||
connect tmp_con7,localhost,root,,;
|
||||
connect con5a,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con4a is alive";
|
||||
Con4a is alive
|
||||
@@ -697,6 +704,13 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
disconnect tmp_con1;
|
||||
disconnect tmp_con2;
|
||||
disconnect tmp_con3;
|
||||
disconnect tmp_con4;
|
||||
disconnect tmp_con5;
|
||||
disconnect tmp_con6;
|
||||
disconnect tmp_con7;
|
||||
set global max_connections = @saved_max_connections;
|
||||
set global max_user_connections = @saved_max_user_connections;
|
||||
drop user 'quota'@'santa.claus.ipv6.example.com';
|
||||
|
||||
@@ -176,9 +176,17 @@ disconnect con4c;
|
||||
--source ../include/wait_for_pfs_thread_count.inc
|
||||
|
||||
set global max_user_connections = 0;
|
||||
set global max_connections = 3;
|
||||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
|
||||
connect (tmp_con1,localhost,root,,);
|
||||
connect (tmp_con2,localhost,root,,);
|
||||
connect (tmp_con3,localhost,root,,);
|
||||
connect (tmp_con4,localhost,root,,);
|
||||
connect (tmp_con5,localhost,root,,);
|
||||
connect (tmp_con6,localhost,root,,);
|
||||
connect (tmp_con7,localhost,root,,);
|
||||
|
||||
connect (con5a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
select "Con4a is alive";
|
||||
select current_user();
|
||||
@@ -233,6 +241,13 @@ connect (con5d,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
|
||||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
--disconnect tmp_con1
|
||||
--disconnect tmp_con2
|
||||
--disconnect tmp_con3
|
||||
--disconnect tmp_con4
|
||||
--disconnect tmp_con5
|
||||
--disconnect tmp_con6
|
||||
--disconnect tmp_con7
|
||||
|
||||
# Wait for all disconnects
|
||||
--source ../include/wait_for_pfs_thread_count.inc
|
||||
|
||||
@@ -177,9 +177,17 @@ disconnect con4c;
|
||||
--source ../include/wait_for_pfs_thread_count.inc
|
||||
|
||||
set global max_user_connections = 0;
|
||||
set global max_connections = 3;
|
||||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
|
||||
connect (tmp_con1,localhost,root,,);
|
||||
connect (tmp_con2,localhost,root,,);
|
||||
connect (tmp_con3,localhost,root,,);
|
||||
connect (tmp_con4,localhost,root,,);
|
||||
connect (tmp_con5,localhost,root,,);
|
||||
connect (tmp_con6,localhost,root,,);
|
||||
connect (tmp_con7,localhost,root,,);
|
||||
|
||||
connect (con5a,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
select "Con4a is alive";
|
||||
select current_user();
|
||||
@@ -215,6 +223,13 @@ connect (con5d,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
|
||||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
--disconnect tmp_con1
|
||||
--disconnect tmp_con2
|
||||
--disconnect tmp_con3
|
||||
--disconnect tmp_con4
|
||||
--disconnect tmp_con5
|
||||
--disconnect tmp_con6
|
||||
--disconnect tmp_con7
|
||||
|
||||
# Wait for all disconnects
|
||||
--source ../include/wait_for_pfs_thread_count.inc
|
||||
|
||||
Reference in New Issue
Block a user