1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-5215 prerequisite of prerequisite: if DB is not mentioned in connect ignore errors of switching to it

This commit is contained in:
Oleksandr Byelkin
2022-06-13 09:44:40 +02:00
committed by Sergei Golubchik
parent 2bd41fc5bf
commit 749c127822
17 changed files with 98 additions and 81 deletions

View File

@ -82,7 +82,7 @@ USER CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 1 1
connect con1, localhost, user1, , ;
connect con1, localhost, user1, ,test;
connection default;
"================== Step 2 =================="
call dump_thread();
@ -308,7 +308,7 @@ USER CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 2 2
connect con2, localhost, user2, , ;
connect con2, localhost, user2, ,test;
connection default;
"================== Step 4 =================="
call dump_thread();
@ -574,7 +574,7 @@ USER CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 3 3
connect con3, localhost, user3, , ;
connect con3, localhost, user3, ,test;
connection default;
"================== Step 6 =================="
call dump_thread();
@ -870,7 +870,7 @@ USER CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 4 4
connect con4, localhost, user4, , ;
connect con4, localhost, user4, ,test;
connection default;
"================== Step 8 =================="
call dump_thread();