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

MDEV-6720 - enable connection log in mysqltest by default

This commit is contained in:
Sergey Vojtovich
2016-03-25 20:51:22 +04:00
parent 5052e2479e
commit 282497dd6d
1559 changed files with 38534 additions and 9891 deletions

View File

@ -71,7 +71,8 @@ root 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 1 1
"================== con1 connected =================="
connect con1, localhost, user1, , ;
connection default;
"================== Step 2 =================="
call dump_thread();
username event_name count_star
@ -175,6 +176,7 @@ user1 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 2 2
connection con1;
select get_lock("marker", 10);
get_lock("marker", 10)
1
@ -182,7 +184,7 @@ select release_lock("marker");
release_lock("marker")
1
insert into test.t1 values ("marker");
"================== con1 marker =================="
connection default;
"================== Step 3 =================="
call dump_thread();
username event_name count_star
@ -293,7 +295,8 @@ user1 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 2 2
"================== con2 connected =================="
connect con2, localhost, user2, , ;
connection default;
"================== Step 4 =================="
call dump_thread();
username event_name count_star
@ -433,6 +436,7 @@ user2 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 3 3
connection con2;
select get_lock("marker", 10);
get_lock("marker", 10)
1
@ -440,7 +444,7 @@ select release_lock("marker");
release_lock("marker")
1
insert into test.t1 values ("marker");
"================== con2 marker =================="
connection default;
"================== Step 5 =================="
call dump_thread();
username event_name count_star
@ -580,7 +584,8 @@ user2 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 3 3
"================== con3 connected =================="
connect con3, localhost, user3, , ;
connection default;
"================== Step 6 =================="
call dump_thread();
username event_name count_star
@ -749,6 +754,7 @@ user3 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 4 4
connection con3;
select get_lock("marker", 10);
get_lock("marker", 10)
1
@ -756,7 +762,7 @@ select release_lock("marker");
release_lock("marker")
1
insert into test.t1 values ("marker");
"================== con3 marker =================="
connection default;
"================== Step 7 =================="
call dump_thread();
username event_name count_star
@ -925,7 +931,8 @@ user3 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 4 4
"================== con4 connected =================="
connect con4, localhost, user4, , ;
connection default;
"================== Step 8 =================="
call dump_thread();
username event_name count_star
@ -1123,6 +1130,7 @@ user4 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 5 5
connection con4;
select get_lock("marker", 10);
get_lock("marker", 10)
1
@ -1130,7 +1138,7 @@ select release_lock("marker");
release_lock("marker")
1
insert into test.t1 values ("marker");
"================== con4 marker =================="
connection default;
"================== Step 9 =================="
call dump_thread();
username event_name count_star
@ -1328,7 +1336,8 @@ user4 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 5 5
"================== con1 disconnected =================="
disconnect con1;
connection default;
"================== Step 10 =================="
call dump_thread();
username status
@ -1525,7 +1534,8 @@ user4 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 4 5
"================== con2 disconnected =================="
disconnect con2;
connection default;
"================== Step 11 =================="
call dump_thread();
username status
@ -1719,7 +1729,8 @@ user4 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 3 5
"================== con3 disconnected =================="
disconnect con3;
connection default;
"================== Step 12 =================="
call dump_thread();
username status
@ -1910,7 +1921,8 @@ user4 1 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 2 5
"================== con4 disconnected =================="
disconnect con4;
connection default;
"================== Step 13 =================="
call dump_thread();
username status
@ -2098,6 +2110,7 @@ user4 0 1
execute dump_hosts;
HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
localhost 1 5
connection default;
truncate performance_schema.events_waits_summary_by_thread_by_event_name;
"================== WAITS_BY_THREAD truncated =================="
"================== Step 14 =================="