summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/include/commit.inc15
-rw-r--r--mysql-test/main/backup_lock.result37
-rw-r--r--mysql-test/main/backup_lock.test30
-rw-r--r--mysql-test/main/commit_1innodb.result19
-rw-r--r--mysql-test/main/warnings_debug.result6
-rw-r--r--mysql-test/main/warnings_debug.test2
-rw-r--r--mysql-test/main/xa_binlog.result54
-rw-r--r--mysql-test/main/xa_binlog.test35
-rw-r--r--mysql-test/suite/handler/aria.result159
-rw-r--r--mysql-test/suite/handler/handler.inc161
-rw-r--r--mysql-test/suite/handler/heap.result159
-rw-r--r--mysql-test/suite/handler/innodb.result338
-rw-r--r--mysql-test/suite/handler/innodb.test1
-rw-r--r--mysql-test/suite/handler/myisam.result159
-rw-r--r--mysql-test/suite/handler/savepoint.inc182
-rw-r--r--mysql-test/suite/maria/maria-connect.result5
-rw-r--r--mysql-test/suite/maria/maria-connect.test1
-rw-r--r--mysql-test/suite/maria/rollback.result186
-rw-r--r--mysql-test/suite/maria/rollback.test51
-rw-r--r--mysql-test/suite/maria/transaction.result19
-rw-r--r--mysql-test/suite/maria/transaction.test26
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate.result956
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_a.result652
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_a_no_h.result556
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u.result332
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u_no_h.result236
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_h.result860
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_u.result636
-rw-r--r--mysql-test/suite/perfschema/r/event_aggregate_no_u_no_h.result540
-rw-r--r--mysql-test/suite/perfschema/r/transaction_nested_events.result208
-rw-r--r--mysql-test/suite/perfschema/t/transaction_nested_events.test4
31 files changed, 3324 insertions, 3301 deletions
diff --git a/mysql-test/include/commit.inc b/mysql-test/include/commit.inc
index a28d3e5f3d1..865f3296b39 100644
--- a/mysql-test/include/commit.inc
+++ b/mysql-test/include/commit.inc
@@ -405,6 +405,11 @@ end|
delimiter ;|
--echo # Reset Handler_commit and Handler_prepare counters
flush status;
+
+--echo #
+--echo # Count of reading of p_verify_status_increment() from mysql.proc
+call p_verify_status_increment(2, 0, 2, 0);
+
--echo #
--echo # 1. Read-only statement: SELECT
--echo #
@@ -562,7 +567,7 @@ begin
return 2;
end|
delimiter ;|
-call p_verify_status_increment(0, 0, 0, 0);
+call p_verify_status_increment(4, 0, 4, 0);
--echo # 16. A function changes non-trans-table.
--echo #
@@ -571,7 +576,7 @@ call p_verify_status_increment(0, 0, 0, 0);
--echo # the binary log.
--echo #
select f1();
-call p_verify_status_increment(1, 0, 1, 0);
+call p_verify_status_increment(3, 0, 3, 0);
commit;
call p_verify_status_increment(1, 0, 1, 0);
@@ -650,7 +655,7 @@ call p_verify_status_increment(0, 0, 0, 0);
--echo # 24. DDL: TRUNCATE TEMPORARY TABLE
--echo
truncate table t2;
-call p_verify_status_increment(4, 0, 4, 0);
+call p_verify_status_increment(2, 0, 2, 0);
commit;
--echo # There is nothing left to commit
call p_verify_status_increment(0, 0, 0, 0);
@@ -763,7 +768,7 @@ call p_verify_status_increment(0, 0, 0, 0);
truncate table t3;
call p_verify_status_increment(2, 0, 2, 0);
create view v1 as select * from t2;
-call p_verify_status_increment(2, 0, 2, 0);
+call p_verify_status_increment(4, 0, 4, 0);
check table t1;
call p_verify_status_increment(2, 0, 2, 0);
--echo # Sic: after this bug is fixed, CHECK leaves no pending transaction
@@ -774,7 +779,7 @@ call p_verify_status_increment(6, 0, 6, 0);
commit;
call p_verify_status_increment(0, 0, 0, 0);
drop view v1;
-call p_verify_status_increment(0, 0, 0, 0);
+call p_verify_status_increment(2, 0, 2, 0);
--echo #
--echo # Cleanup
diff --git a/mysql-test/main/backup_lock.result b/mysql-test/main/backup_lock.result
index 8a179578e79..96503814d00 100644
--- a/mysql-test/main/backup_lock.result
+++ b/mysql-test/main/backup_lock.result
@@ -193,23 +193,51 @@ SET GLOBAL lock_wait_timeout=0;
CREATE TABLE t_permanent_innodb (col1 INT) ENGINE = InnoDB;
CREATE TABLE t_permanent_myisam (col1 INT) ENGINE = MyISAM;
CREATE TABLE t_permanent_aria (col1 INT) ENGINE = Aria transactional=1;
+CREATE TABLE t_permanent_aria2 (col1 INT) ENGINE = Aria transactional=0;
INSERT INTO t_permanent_innodb SET col1 = 1;
INSERT INTO t_permanent_myisam SET col1 = 1;
INSERT INTO t_permanent_aria SET col1 = 1;
+INSERT INTO t_permanent_aria2 SET col1 = 1;
CREATE TABLE t_con1_innodb (col1 INT) ENGINE = InnoDB;
CREATE TABLE t_con1_myisam (col1 INT) ENGINE = MyISAM;
connect con1,localhost,root,,;
-SET AUTOCOMMIT = 0;
connection default;
BACKUP STAGE START;
BACKUP STAGE FLUSH;
BACKUP STAGE BLOCK_DDL;
BACKUP STAGE BLOCK_COMMIT;
connection con1;
+SET AUTOCOMMIT = 1;
+UPDATE t_permanent_aria SET col1 = 1;
+UPDATE t_permanent_innodb SET col1 = 1;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
UPDATE t_permanent_innodb SET col1 = 8;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
UPDATE t_permanent_myisam SET col1 = 8;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
UPDATE t_permanent_aria SET col1 = 8;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
+UPDATE t_permanent_aria2 SET col1 = 8;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
+select * from t_permanent_innodb;
+col1
+1
+select * from t_permanent_myisam;
+col1
+1
+select * from t_permanent_aria;
+col1
+8
+select * from t_permanent_aria2;
+col1
+1
+SET AUTOCOMMIT = 0;
+UPDATE t_permanent_innodb SET col1 = 9;
+UPDATE t_permanent_aria SET col1 = 9;
+UPDATE t_permanent_myisam SET col1 = 9;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
+UPDATE t_permanent_aria2 SET col1 = 9;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
DROP TABLE t_con1_innodb;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
DROP TABLE t_con1_myisam;
@@ -224,8 +252,11 @@ col1
1
select * from t_permanent_aria;
col1
-8
-DROP TABLE t_permanent_myisam, t_permanent_innodb, t_permanent_aria;
+9
+select * from t_permanent_aria2;
+col1
+1
+DROP TABLE t_permanent_myisam, t_permanent_innodb, t_permanent_aria, t_permanent_aria2;
DROP TABLE t_con1_innodb, t_con1_myisam;
disconnect con1;
set global lock_wait_timeout=default;
diff --git a/mysql-test/main/backup_lock.test b/mysql-test/main/backup_lock.test
index 65c11432bb5..0d4da8cb892 100644
--- a/mysql-test/main/backup_lock.test
+++ b/mysql-test/main/backup_lock.test
@@ -252,15 +252,16 @@ SET GLOBAL lock_wait_timeout=0;
CREATE TABLE t_permanent_innodb (col1 INT) ENGINE = InnoDB;
CREATE TABLE t_permanent_myisam (col1 INT) ENGINE = MyISAM;
CREATE TABLE t_permanent_aria (col1 INT) ENGINE = Aria transactional=1;
+CREATE TABLE t_permanent_aria2 (col1 INT) ENGINE = Aria transactional=0;
INSERT INTO t_permanent_innodb SET col1 = 1;
INSERT INTO t_permanent_myisam SET col1 = 1;
INSERT INTO t_permanent_aria SET col1 = 1;
+INSERT INTO t_permanent_aria2 SET col1 = 1;
CREATE TABLE t_con1_innodb (col1 INT) ENGINE = InnoDB;
CREATE TABLE t_con1_myisam (col1 INT) ENGINE = MyISAM;
--connect(con1,localhost,root,,)
-SET AUTOCOMMIT = 0;
--connection default
BACKUP STAGE START;
@@ -269,10 +270,34 @@ BACKUP STAGE BLOCK_DDL;
BACKUP STAGE BLOCK_COMMIT;
--connection con1
+SET AUTOCOMMIT = 1;
+
+# These should work as values are not changed
+UPDATE t_permanent_aria SET col1 = 1;
+--error ER_LOCK_WAIT_TIMEOUT
+UPDATE t_permanent_innodb SET col1 = 1;
+
+--error ER_LOCK_WAIT_TIMEOUT
UPDATE t_permanent_innodb SET col1 = 8;
--error ER_LOCK_WAIT_TIMEOUT
UPDATE t_permanent_myisam SET col1 = 8;
+--error ER_LOCK_WAIT_TIMEOUT
UPDATE t_permanent_aria SET col1 = 8;
+--error ER_LOCK_WAIT_TIMEOUT
+UPDATE t_permanent_aria2 SET col1 = 8;
+
+select * from t_permanent_innodb;
+select * from t_permanent_myisam;
+select * from t_permanent_aria;
+select * from t_permanent_aria2;
+
+SET AUTOCOMMIT = 0;
+UPDATE t_permanent_innodb SET col1 = 9;
+UPDATE t_permanent_aria SET col1 = 9;
+--error ER_LOCK_WAIT_TIMEOUT
+UPDATE t_permanent_myisam SET col1 = 9;
+--error ER_LOCK_WAIT_TIMEOUT
+UPDATE t_permanent_aria2 SET col1 = 9;
--error ER_LOCK_WAIT_TIMEOUT
DROP TABLE t_con1_innodb;
@@ -286,8 +311,9 @@ BACKUP STAGE END;
select * from t_permanent_innodb;
select * from t_permanent_myisam;
select * from t_permanent_aria;
+select * from t_permanent_aria2;
-DROP TABLE t_permanent_myisam, t_permanent_innodb, t_permanent_aria;
+DROP TABLE t_permanent_myisam, t_permanent_innodb, t_permanent_aria, t_permanent_aria2;
DROP TABLE t_con1_innodb, t_con1_myisam;
--disconnect con1
set global lock_wait_timeout=default;
diff --git a/mysql-test/main/commit_1innodb.result b/mysql-test/main/commit_1innodb.result
index 7d21540b548..cf673f81d82 100644
--- a/mysql-test/main/commit_1innodb.result
+++ b/mysql-test/main/commit_1innodb.result
@@ -386,6 +386,11 @@ end|
# Reset Handler_commit and Handler_prepare counters
flush status;
#
+# Count of reading of p_verify_status_increment() from mysql.proc
+call p_verify_status_increment(2, 0, 2, 0);
+SUCCESS
+
+#
# 1. Read-only statement: SELECT
#
select * from t1;
@@ -568,7 +573,7 @@ begin
insert t2 set a=2;
return 2;
end|
-call p_verify_status_increment(0, 0, 0, 0);
+call p_verify_status_increment(4, 0, 4, 0);
SUCCESS
# 16. A function changes non-trans-table.
@@ -580,7 +585,7 @@ SUCCESS
select f1();
f1()
2
-call p_verify_status_increment(1, 0, 1, 0);
+call p_verify_status_increment(3, 0, 3, 0);
SUCCESS
commit;
@@ -688,9 +693,9 @@ SUCCESS
# 24. DDL: TRUNCATE TEMPORARY TABLE
truncate table t2;
-call p_verify_status_increment(4, 0, 4, 0);
-ERROR
-Expected commit increment: 4 actual: 2
+call p_verify_status_increment(2, 0, 2, 0);
+SUCCESS
+
commit;
# There is nothing left to commit
call p_verify_status_increment(0, 0, 0, 0);
@@ -855,7 +860,7 @@ call p_verify_status_increment(2, 0, 2, 0);
SUCCESS
create view v1 as select * from t2;
-call p_verify_status_increment(2, 0, 2, 0);
+call p_verify_status_increment(4, 0, 4, 0);
SUCCESS
check table t1;
@@ -882,7 +887,7 @@ call p_verify_status_increment(0, 0, 0, 0);
SUCCESS
drop view v1;
-call p_verify_status_increment(0, 0, 0, 0);
+call p_verify_status_increment(2, 0, 2, 0);
SUCCESS
#
diff --git a/mysql-test/main/warnings_debug.result b/mysql-test/main/warnings_debug.result
index 3a9d8225795..4d815767c14 100644
--- a/mysql-test/main/warnings_debug.result
+++ b/mysql-test/main/warnings_debug.result
@@ -5,8 +5,12 @@ SET SESSION debug_dbug="+d,warn_during_ha_commit_trans";
INSERT INTO t1 VALUES (1);
Warnings:
Warning 1196 Some non-transactional changed tables couldn't be rolled back
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
SHOW WARNINGS;
Level Code Message
Warning 1196 Some non-transactional changed tables couldn't be rolled back
-drop table t1;
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
SET debug_dbug= @saved_dbug;
+drop table t1;
diff --git a/mysql-test/main/warnings_debug.test b/mysql-test/main/warnings_debug.test
index 6605daf875d..4d084b1f52c 100644
--- a/mysql-test/main/warnings_debug.test
+++ b/mysql-test/main/warnings_debug.test
@@ -17,5 +17,5 @@ INSERT INTO t1 VALUES (1);
# packet. Show the warnings manually also.
SHOW WARNINGS;
-drop table t1;
SET debug_dbug= @saved_dbug;
+drop table t1;
diff --git a/mysql-test/main/xa_binlog.result b/mysql-test/main/xa_binlog.result
index c45749d500f..a272570aac1 100644
--- a/mysql-test/main/xa_binlog.result
+++ b/mysql-test/main/xa_binlog.result
@@ -18,7 +18,33 @@ a
1
2
3
-SHOW BINLOG EVENTS LIMIT 3,12;
+DROP TABLE t1;
+CREATE TABLE t1 (a INT) ENGINE=Aria;
+INSERT INTO t1 VALUES (1),(2);
+XA BEGIN 'x';
+DELETE FROM t1;
+XA END 'x';
+XA PREPARE 'x';
+Warnings:
+Warning 1030 Got error 131 "Command not supported by the engine" from storage engine Aria
+XA COMMIT 'x';
+SELECT * from t1;
+a
+XA BEGIN 'x';
+INSERT INTO t1 VALUES (3),(4);
+XA END 'x';
+XA PREPARE 'x';
+Warnings:
+Warning 1030 Got error 131 "Command not supported by the engine" from storage engine Aria
+XA ROLLBACK 'x';
+Warnings:
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
+SELECT * from t1;
+a
+3
+4
+DROP TABLE t1;
+SHOW BINLOG EVENTS LIMIT 3,100;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Gtid 1 # XA START X'786174657374',X'',1 GTID #-#-#
master-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES (1)
@@ -32,4 +58,28 @@ master-bin.000001 # Xid 1 # COMMIT /* xid=XX */
master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
master-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES (3)
master-bin.000001 # Xid 1 # COMMIT /* xid=XX */
-DROP TABLE t1;
+master-bin.000001 # Gtid 1 # GTID #-#-#
+master-bin.000001 # Query 1 # use `test`; DROP TABLE `t1` /* generated by server */
+master-bin.000001 # Gtid 1 # GTID #-#-#
+master-bin.000001 # Query 1 # use `test`; CREATE TABLE t1 (a INT) ENGINE=Aria
+master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
+master-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES (1),(2)
+master-bin.000001 # Query 1 # COMMIT
+master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
+master-bin.000001 # Query 1 # use `test`; DELETE FROM t1
+master-bin.000001 # Query 1 # COMMIT
+master-bin.000001 # Gtid 1 # XA START X'78',X'',1 GTID #-#-#
+master-bin.000001 # Query 1 # XA END X'78',X'',1
+master-bin.000001 # XA_prepare 1 # XA PREPARE X'78',X'',1
+master-bin.000001 # Gtid 1 # GTID #-#-#
+master-bin.000001 # Query 1 # XA COMMIT X'78',X'',1
+master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
+master-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES (3),(4)
+master-bin.000001 # Query 1 # COMMIT
+master-bin.000001 # Gtid 1 # XA START X'78',X'',1 GTID #-#-#
+master-bin.000001 # Query 1 # XA END X'78',X'',1
+master-bin.000001 # XA_prepare 1 # XA PREPARE X'78',X'',1
+master-bin.000001 # Gtid 1 # GTID #-#-#
+master-bin.000001 # Query 1 # XA ROLLBACK X'78',X'',1
+master-bin.000001 # Gtid 1 # GTID #-#-#
+master-bin.000001 # Query 1 # use `test`; DROP TABLE `t1` /* generated by server */
diff --git a/mysql-test/main/xa_binlog.test b/mysql-test/main/xa_binlog.test
index 91bca2ac8cb..1343fa2aaee 100644
--- a/mysql-test/main/xa_binlog.test
+++ b/mysql-test/main/xa_binlog.test
@@ -24,9 +24,38 @@ INSERT INTO t1 VALUES (3);
COMMIT;
SELECT * FROM t1 ORDER BY a;
+DROP TABLE t1;
---replace_column 2 # 5 #
---replace_regex /xid=[0-9]+/xid=XX/ /GTID [0-9]+-[0-9]+-[0-9]+/GTID #-#-#/
-SHOW BINLOG EVENTS LIMIT 3,12;
+#
+# MDEV-22607 Assertion `ha_info->ht() != binlog_hton' failed in
+# MYSQL_BIN_LOG::unlog_xa_prepare
+#
+
+CREATE TABLE t1 (a INT) ENGINE=Aria;
+INSERT INTO t1 VALUES (1),(2);
+XA BEGIN 'x';
+DELETE FROM t1;
+XA END 'x';
+XA PREPARE 'x';
+
+# Cleanup
+XA COMMIT 'x';
+
+SELECT * from t1;
+XA BEGIN 'x';
+INSERT INTO t1 VALUES (3),(4);
+XA END 'x';
+XA PREPARE 'x';
+XA ROLLBACK 'x';
+
+SELECT * from t1;
DROP TABLE t1;
+
+#
+# Time to check the log
+#
+
+--replace_column 2 # 5 #
+--replace_regex /xid=[0-9]+/xid=XX/ /GTID [0-9]+-[0-9]+-[0-9]+/GTID #-#-#/
+SHOW BINLOG EVENTS LIMIT 3,100;
diff --git a/mysql-test/suite/handler/aria.result b/mysql-test/suite/handler/aria.result
index 51283022588..e34164957a3 100644
--- a/mysql-test/suite/handler/aria.result
+++ b/mysql-test/suite/handler/aria.result
@@ -1132,166 +1132,7 @@ connection default;
# Reaping 'select * from t2'
ERROR 42S02: Table 'test.t2' doesn't exist
handler t1 close;
-#
-# ROLLBACK TO SAVEPOINT releases transactional locks,
-# but has no effect on open HANDLERs
-#
-create table t2 like t1;
-create table t3 like t1;
-begin;
-# Have something before the savepoint
-select * from t3;
-a
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-drop table t3;
-#
-# A few special cases when using SAVEPOINT/ROLLBACK TO
-# SAVEPOINT and HANDLER.
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction doesn't release mdl lock on
-# the HANDLER that was opened later.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-begin;
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
-drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction works properly (no valgrind warnins, etc),
-# even though it's done after the HANDLER mdl lock that was there
-# at the beginning is released and added again.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-create table t3 like t1;
-insert into t3 (a) select a from t1;
-begin;
-handler t1 open;
-savepoint sv;
-handler t1 read a first;
-a
-1
-select * from t2;
-a
-handler t1 close;
-handler t3 open;
-handler t3 read a first;
-a
-1
-rollback to savepoint sv;
-connection con1;
-drop table t1, t2;
-# Sending:
-drop table t3;
-# Let DROP TABLE statement sync in.
-connection con2;
-# Waiting for 'drop table t3' to get blocked...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t3 read a next;
-a
-2
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t3 close;
-connection con1;
-# Reaping 'drop table t3'...
-connection default;
-commit;
#
# If we have to wait on an exclusive locks while having
# an open HANDLER, ER_LOCK_DEADLOCK is reported.
diff --git a/mysql-test/suite/handler/handler.inc b/mysql-test/suite/handler/handler.inc
index c29ee0c693d..f4c677adc90 100644
--- a/mysql-test/suite/handler/handler.inc
+++ b/mysql-test/suite/handler/handler.inc
@@ -890,166 +890,7 @@ connection default;
--error ER_NO_SUCH_TABLE
reap;
handler t1 close;
-
---echo #
---echo # ROLLBACK TO SAVEPOINT releases transactional locks,
---echo # but has no effect on open HANDLERs
---echo #
-create table t2 like t1;
-create table t3 like t1;
-begin;
---echo # Have something before the savepoint
-select * from t3;
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-handler t1 read a next;
-select * from t2;
-connection con1;
---echo # Sending:
---send drop table t1
-connection con2;
---echo # Sending:
---send drop table t2
-connection default;
---echo # Let DROP TABLE statements sync in. We must use
---echo # a separate connection for that, because otherwise SELECT
---echo # will auto-close the HANDLERs, becaues there are pending
---echo # exclusive locks against them.
-connection con3;
---echo # Waiting for 'drop table t1' to get blocked...
-let $wait_condition=select count(*)=1 from information_schema.processlist
- where state='Waiting for table metadata lock' and
- info='drop table t1';
---source include/wait_condition.inc
---echo # Waiting for 'drop table t2' to get blocked...
-let $wait_condition=select count(*)=1 from information_schema.processlist
- where state='Waiting for table metadata lock' and
- info='drop table t2';
---source include/wait_condition.inc
---echo # Demonstrate that t2 lock was released and t2 was dropped
---echo # after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
---echo # Reaping 'drop table t2'...
---reap
---echo # Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
---echo # lock.
-connection default;
-handler t1 read a next;
-handler t1 read a next;
---echo # Demonstrate that the drop will go through as soon as we close the
---echo # HANDLER
-handler t1 close;
-connection con1;
---echo # Reaping 'drop table t1'...
---reap
-connection default;
-commit;
-drop table t3;
---echo #
---echo # A few special cases when using SAVEPOINT/ROLLBACK TO
---echo # SAVEPOINT and HANDLER.
---echo #
---echo # Show that rollback to the savepoint taken in the beginning
---echo # of the transaction doesn't release mdl lock on
---echo # the HANDLER that was opened later.
---echo #
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-begin;
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-handler t1 read a next;
-select * from t2;
-connection con1;
---echo # Sending:
---send drop table t1
-connection con2;
---echo # Sending:
---send drop table t2
-connection default;
---echo # Let DROP TABLE statements sync in. We must use
---echo # a separate connection for that, because otherwise SELECT
---echo # will auto-close the HANDLERs, becaues there are pending
---echo # exclusive locks against them.
-connection con3;
---echo # Waiting for 'drop table t1' to get blocked...
-let $wait_condition=select count(*)=1 from information_schema.processlist
- where state='Waiting for table metadata lock' and
- info='drop table t1';
---source include/wait_condition.inc
---echo # Waiting for 'drop table t2' to get blocked...
-let $wait_condition=select count(*)=1 from information_schema.processlist
- where state='Waiting for table metadata lock' and
- info='drop table t2';
---source include/wait_condition.inc
---echo # Demonstrate that t2 lock was released and t2 was dropped
---echo # after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
---echo # Reaping 'drop table t2'...
---reap
---echo # Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
---echo # lock.
-connection default;
-handler t1 read a next;
-handler t1 read a next;
---echo # Demonstrate that the drop will go through as soon as we close the
---echo # HANDLER
-handler t1 close;
-connection con1;
---echo # Reaping 'drop table t1'...
---reap
-connection default;
-commit;
---echo #
---echo # Show that rollback to the savepoint taken in the beginning
---echo # of the transaction works properly (no valgrind warnins, etc),
---echo # even though it's done after the HANDLER mdl lock that was there
---echo # at the beginning is released and added again.
---echo #
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-create table t3 like t1;
-insert into t3 (a) select a from t1;
-begin;
-handler t1 open;
-savepoint sv;
-handler t1 read a first;
-select * from t2;
-handler t1 close;
-handler t3 open;
-handler t3 read a first;
-rollback to savepoint sv;
-connection con1;
-drop table t1, t2;
---echo # Sending:
---send drop table t3
---echo # Let DROP TABLE statement sync in.
-connection con2;
---echo # Waiting for 'drop table t3' to get blocked...
-let $wait_condition=select count(*)=1 from information_schema.processlist
- where state='Waiting for table metadata lock' and
- info='drop table t3';
---source include/wait_condition.inc
---echo # Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
---echo # lock.
-connection default;
-handler t3 read a next;
---echo # Demonstrate that the drop will go through as soon as we close the
---echo # HANDLER
-handler t3 close;
-connection con1;
---echo # Reaping 'drop table t3'...
---reap
-connection default;
-commit;
+drop table t1;
--echo #
--echo # If we have to wait on an exclusive locks while having
diff --git a/mysql-test/suite/handler/heap.result b/mysql-test/suite/handler/heap.result
index bd8aff906fd..e66bccb1341 100644
--- a/mysql-test/suite/handler/heap.result
+++ b/mysql-test/suite/handler/heap.result
@@ -1131,166 +1131,7 @@ connection default;
# Reaping 'select * from t2'
ERROR 42S02: Table 'test.t2' doesn't exist
handler t1 close;
-#
-# ROLLBACK TO SAVEPOINT releases transactional locks,
-# but has no effect on open HANDLERs
-#
-create table t2 like t1;
-create table t3 like t1;
-begin;
-# Have something before the savepoint
-select * from t3;
-a
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-drop table t3;
-#
-# A few special cases when using SAVEPOINT/ROLLBACK TO
-# SAVEPOINT and HANDLER.
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction doesn't release mdl lock on
-# the HANDLER that was opened later.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-begin;
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
-drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction works properly (no valgrind warnins, etc),
-# even though it's done after the HANDLER mdl lock that was there
-# at the beginning is released and added again.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-create table t3 like t1;
-insert into t3 (a) select a from t1;
-begin;
-handler t1 open;
-savepoint sv;
-handler t1 read a first;
-a
-1
-select * from t2;
-a
-handler t1 close;
-handler t3 open;
-handler t3 read a first;
-a
-1
-rollback to savepoint sv;
-connection con1;
-drop table t1, t2;
-# Sending:
-drop table t3;
-# Let DROP TABLE statement sync in.
-connection con2;
-# Waiting for 'drop table t3' to get blocked...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t3 read a next;
-a
-2
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t3 close;
-connection con1;
-# Reaping 'drop table t3'...
-connection default;
-commit;
#
# If we have to wait on an exclusive locks while having
# an open HANDLER, ER_LOCK_DEADLOCK is reported.
diff --git a/mysql-test/suite/handler/innodb.result b/mysql-test/suite/handler/innodb.result
index 9026f917245..dac6b2e997b 100644
--- a/mysql-test/suite/handler/innodb.result
+++ b/mysql-test/suite/handler/innodb.result
@@ -1136,166 +1136,7 @@ connection default;
# Reaping 'select * from t2'
ERROR 42S02: Table 'test.t2' doesn't exist
handler t1 close;
-#
-# ROLLBACK TO SAVEPOINT releases transactional locks,
-# but has no effect on open HANDLERs
-#
-create table t2 like t1;
-create table t3 like t1;
-begin;
-# Have something before the savepoint
-select * from t3;
-a
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
-drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-drop table t3;
-#
-# A few special cases when using SAVEPOINT/ROLLBACK TO
-# SAVEPOINT and HANDLER.
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction doesn't release mdl lock on
-# the HANDLER that was opened later.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-begin;
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction works properly (no valgrind warnins, etc),
-# even though it's done after the HANDLER mdl lock that was there
-# at the beginning is released and added again.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-create table t3 like t1;
-insert into t3 (a) select a from t1;
-begin;
-handler t1 open;
-savepoint sv;
-handler t1 read a first;
-a
-1
-select * from t2;
-a
-handler t1 close;
-handler t3 open;
-handler t3 read a first;
-a
-1
-rollback to savepoint sv;
-connection con1;
-drop table t1, t2;
-# Sending:
-drop table t3;
-# Let DROP TABLE statement sync in.
-connection con2;
-# Waiting for 'drop table t3' to get blocked...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t3 read a next;
-a
-2
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t3 close;
-connection con1;
-# Reaping 'drop table t3'...
-connection default;
-commit;
#
# If we have to wait on an exclusive locks while having
# an open HANDLER, ER_LOCK_DEADLOCK is reported.
@@ -1742,6 +1583,185 @@ HANDLER t1 READ a NEXT;
a
HANDLER t1 CLOSE;
DROP TABLE t1;
+#
+# Testing savepoints with handlers that supports it
+#
+connect con1, localhost, root,,;
+connect con2, localhost, root,,;
+connect con3, localhost, root,,;
+connection default;
+#
+# ROLLBACK TO SAVEPOINT releases transactional locks,
+# but has no effect on open HANDLERs
+#
+create table t1 (a int, key a (a));
+insert into t1 (a) values (1), (2), (3), (4), (5);
+create table t2 like t1;
+create table t3 like t1;
+begin;
+# Have something before the savepoint
+select * from t3;
+a
+savepoint sv;
+handler t1 open;
+handler t1 read a first;
+a
+1
+handler t1 read a next;
+a
+2
+select * from t2;
+a
+connection con1;
+# Sending:
+drop table t1;
+connection con2;
+# Sending:
+drop table t2;
+connection default;
+# Let DROP TABLE statements sync in. We must use
+# a separate connection for that, because otherwise SELECT
+# will auto-close the HANDLERs, becaues there are pending
+# exclusive locks against them.
+connection con3;
+# Waiting for 'drop table t1' to get blocked...
+# Waiting for 'drop table t2' to get blocked...
+# Demonstrate that t2 lock was released and t2 was dropped
+# after ROLLBACK TO SAVEPOINT
+connection default;
+rollback to savepoint sv;
+connection con2;
+# Reaping 'drop table t2'...
+# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
+# lock.
+connection default;
+handler t1 read a next;
+a
+3
+handler t1 read a next;
+a
+4
+# Demonstrate that the drop will go through as soon as we close the
+# HANDLER
+handler t1 close;
+connection con1;
+# Reaping 'drop table t1'...
+connection default;
+commit;
+drop table t3;
+#
+# A few special cases when using SAVEPOINT/ROLLBACK TO
+# SAVEPOINT and HANDLER.
+#
+# Show that rollback to the savepoint taken in the beginning
+# of the transaction doesn't release mdl lock on
+# the HANDLER that was opened later.
+#
+create table t1 (a int, key using btree (a));
+insert into t1 (a) values (1), (2), (3), (4), (5);
+create table t2 like t1;
+begin;
+savepoint sv;
+handler t1 open;
+handler t1 read a first;
+a
+1
+handler t1 read a next;
+a
+2
+select * from t2;
+a
+connection con1;
+# Sending:
+drop table t1;
+connection con2;
+# Sending:
+drop table t2;
+connection default;
+# Let DROP TABLE statements sync in. We must use
+# a separate connection for that, because otherwise SELECT
+# will auto-close the HANDLERs, becaues there are pending
+# exclusive locks against them.
+connection con3;
+# Waiting for 'drop table t1' to get blocked...
+# Waiting for 'drop table t2' to get blocked...
+# Demonstrate that t2 lock was released and t2 was dropped
+# after ROLLBACK TO SAVEPOINT
+connection default;
+rollback to savepoint sv;
+connection con2;
+# Reaping 'drop table t2'...
+# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
+# lock.
+connection default;
+handler t1 read a next;
+a
+3
+handler t1 read a next;
+a
+4
+# Demonstrate that the drop will go through as soon as we close the
+# HANDLER
+handler t1 close;
+connection con1;
+# Reaping 'drop table t1'...
+connection default;
+commit;
+#
+# Show that rollback to the savepoint taken in the beginning
+# of the transaction works properly (no valgrind warnins, etc),
+# even though it's done after the HANDLER mdl lock that was there
+# at the beginning is released and added again.
+#
+create table t1 (a int, key using btree (a));
+insert into t1 (a) values (1), (2), (3), (4), (5);
+create table t2 like t1;
+create table t3 like t1;
+insert into t3 (a) select a from t1;
+begin;
+handler t1 open;
+savepoint sv;
+handler t1 read a first;
+a
+1
+select * from t2;
+a
+handler t1 close;
+handler t3 open;
+handler t3 read a first;
+a
+1
+rollback to savepoint sv;
+connection con1;
+drop table t1, t2;
+# Sending:
+drop table t3;
+# Let DROP TABLE statement sync in.
+connection con2;
+# Waiting for 'drop table t3' to get blocked...
+# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
+# lock.
+connection default;
+handler t3 read a next;
+a
+2
+# Demonstrate that the drop will go through as soon as we close the
+# HANDLER
+handler t3 close;
+connection con1;
+# Reaping 'drop table t3'...
+connection default;
+commit;
+#
+# Cleanup for savepoint.inc
+#
+connection con1;
+disconnect con1;
+connection con2;
+disconnect con2;
+connection con3;
+disconnect con3;
+connection default;
CREATE TABLE t1 (f1 integer, f2 integer, primary key (f1), key (f2)) engine=innodb;
INSERT INTO t1 VALUES (1,1),(2,2),(3,3);
HANDLER t1 OPEN;
diff --git a/mysql-test/suite/handler/innodb.test b/mysql-test/suite/handler/innodb.test
index 6527c4bb8bb..5c2dae8a146 100644
--- a/mysql-test/suite/handler/innodb.test
+++ b/mysql-test/suite/handler/innodb.test
@@ -15,6 +15,7 @@ let $engine_type= InnoDB;
--source init.inc
--source handler.inc
+--source savepoint.inc
#
# LP#697610 ha_index_prev(uchar*): Assertion `inited==INDEX'
diff --git a/mysql-test/suite/handler/myisam.result b/mysql-test/suite/handler/myisam.result
index 4fb600050ee..896908e1602 100644
--- a/mysql-test/suite/handler/myisam.result
+++ b/mysql-test/suite/handler/myisam.result
@@ -1132,166 +1132,7 @@ connection default;
# Reaping 'select * from t2'
ERROR 42S02: Table 'test.t2' doesn't exist
handler t1 close;
-#
-# ROLLBACK TO SAVEPOINT releases transactional locks,
-# but has no effect on open HANDLERs
-#
-create table t2 like t1;
-create table t3 like t1;
-begin;
-# Have something before the savepoint
-select * from t3;
-a
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-drop table t3;
-#
-# A few special cases when using SAVEPOINT/ROLLBACK TO
-# SAVEPOINT and HANDLER.
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction doesn't release mdl lock on
-# the HANDLER that was opened later.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-begin;
-savepoint sv;
-handler t1 open;
-handler t1 read a first;
-a
-1
-handler t1 read a next;
-a
-2
-select * from t2;
-a
-connection con1;
-# Sending:
-drop table t1;
-connection con2;
-# Sending:
-drop table t2;
-connection default;
-# Let DROP TABLE statements sync in. We must use
-# a separate connection for that, because otherwise SELECT
-# will auto-close the HANDLERs, becaues there are pending
-# exclusive locks against them.
-connection con3;
-# Waiting for 'drop table t1' to get blocked...
-# Waiting for 'drop table t2' to get blocked...
-# Demonstrate that t2 lock was released and t2 was dropped
-# after ROLLBACK TO SAVEPOINT
-connection default;
-rollback to savepoint sv;
-connection con2;
-# Reaping 'drop table t2'...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t1 read a next;
-a
-3
-handler t1 read a next;
-a
-4
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t1 close;
-connection con1;
-# Reaping 'drop table t1'...
-connection default;
-commit;
-#
-# Show that rollback to the savepoint taken in the beginning
-# of the transaction works properly (no valgrind warnins, etc),
-# even though it's done after the HANDLER mdl lock that was there
-# at the beginning is released and added again.
-#
-create table t1 (a int, key using btree (a));
-insert into t1 (a) values (1), (2), (3), (4), (5);
-create table t2 like t1;
-create table t3 like t1;
-insert into t3 (a) select a from t1;
-begin;
-handler t1 open;
-savepoint sv;
-handler t1 read a first;
-a
-1
-select * from t2;
-a
-handler t1 close;
-handler t3 open;
-handler t3 read a first;
-a
-1
-rollback to savepoint sv;
-connection con1;
-drop table t1, t2;
-# Sending:
-drop table t3;
-# Let DROP TABLE statement sync in.
-connection con2;
-# Waiting for 'drop table t3' to get blocked...
-# Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
-# lock.
-connection default;
-handler t3 read a next;
-a
-2
-# Demonstrate that the drop will go through as soon as we close the
-# HANDLER
-handler t3 close;
-connection con1;
-# Reaping 'drop table t3'...
-connection default;
-commit;
#
# If we have to wait on an exclusive locks while having
# an open HANDLER, ER_LOCK_DEADLOCK is reported.
diff --git a/mysql-test/suite/handler/savepoint.inc b/mysql-test/suite/handler/savepoint.inc
new file mode 100644
index 00000000000..a237183ef11
--- /dev/null
+++ b/mysql-test/suite/handler/savepoint.inc
@@ -0,0 +1,182 @@
+--echo #
+--echo # Testing savepoints with handlers that supports it
+--echo #
+connect(con1, localhost, root,,);
+connect(con2, localhost, root,,);
+connect(con3, localhost, root,,);
+connection default;
+--echo #
+--echo # ROLLBACK TO SAVEPOINT releases transactional locks,
+--echo # but has no effect on open HANDLERs
+--echo #
+create table t1 (a int, key a (a));
+insert into t1 (a) values (1), (2), (3), (4), (5);
+create table t2 like t1;
+create table t3 like t1;
+begin;
+--echo # Have something before the savepoint
+select * from t3;
+savepoint sv;
+handler t1 open;
+handler t1 read a first;
+handler t1 read a next;
+select * from t2;
+connection con1;
+--echo # Sending:
+--send drop table t1
+connection con2;
+--echo # Sending:
+--send drop table t2
+connection default;
+--echo # Let DROP TABLE statements sync in. We must use
+--echo # a separate connection for that, because otherwise SELECT
+--echo # will auto-close the HANDLERs, becaues there are pending
+--echo # exclusive locks against them.
+connection con3;
+--echo # Waiting for 'drop table t1' to get blocked...
+let $wait_condition=select count(*)=1 from information_schema.processlist
+ where state='Waiting for table metadata lock' and
+ info='drop table t1';
+--source include/wait_condition.inc
+--echo # Waiting for 'drop table t2' to get blocked...
+let $wait_condition=select count(*)=1 from information_schema.processlist
+ where state='Waiting for table metadata lock' and
+ info='drop table t2';
+--source include/wait_condition.inc
+--echo # Demonstrate that t2 lock was released and t2 was dropped
+--echo # after ROLLBACK TO SAVEPOINT
+connection default;
+rollback to savepoint sv;
+connection con2;
+--echo # Reaping 'drop table t2'...
+--reap
+--echo # Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
+--echo # lock.
+connection default;
+handler t1 read a next;
+handler t1 read a next;
+--echo # Demonstrate that the drop will go through as soon as we close the
+--echo # HANDLER
+handler t1 close;
+connection con1;
+--echo # Reaping 'drop table t1'...
+--reap
+connection default;
+commit;
+drop table t3;
+--echo #
+--echo # A few special cases when using SAVEPOINT/ROLLBACK TO
+--echo # SAVEPOINT and HANDLER.
+--echo #
+--echo # Show that rollback to the savepoint taken in the beginning
+--echo # of the transaction doesn't release mdl lock on
+--echo # the HANDLER that was opened later.
+--echo #
+create table t1 (a int, key using btree (a));
+insert into t1 (a) values (1), (2), (3), (4), (5);
+create table t2 like t1;
+begin;
+savepoint sv;
+handler t1 open;
+handler t1 read a first;
+handler t1 read a next;
+select * from t2;
+connection con1;
+--echo # Sending:
+--send drop table t1
+connection con2;
+--echo # Sending:
+--send drop table t2
+connection default;
+--echo # Let DROP TABLE statements sync in. We must use
+--echo # a separate connection for that, because otherwise SELECT
+--echo # will auto-close the HANDLERs, becaues there are pending
+--echo # exclusive locks against them.
+connection con3;
+--echo # Waiting for 'drop table t1' to get blocked...
+let $wait_condition=select count(*)=1 from information_schema.processlist
+ where state='Waiting for table metadata lock' and
+ info='drop table t1';
+--source include/wait_condition.inc
+--echo # Waiting for 'drop table t2' to get blocked...
+let $wait_condition=select count(*)=1 from information_schema.processlist
+ where state='Waiting for table metadata lock' and
+ info='drop table t2';
+--source include/wait_condition.inc
+--echo # Demonstrate that t2 lock was released and t2 was dropped
+--echo # after ROLLBACK TO SAVEPOINT
+connection default;
+rollback to savepoint sv;
+connection con2;
+--echo # Reaping 'drop table t2'...
+--reap
+--echo # Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
+--echo # lock.
+connection default;
+handler t1 read a next;
+handler t1 read a next;
+--echo # Demonstrate that the drop will go through as soon as we close the
+--echo # HANDLER
+handler t1 close;
+connection con1;
+--echo # Reaping 'drop table t1'...
+--reap
+connection default;
+commit;
+--echo #
+--echo # Show that rollback to the savepoint taken in the beginning
+--echo # of the transaction works properly (no valgrind warnins, etc),
+--echo # even though it's done after the HANDLER mdl lock that was there
+--echo # at the beginning is released and added again.
+--echo #
+create table t1 (a int, key using btree (a));
+insert into t1 (a) values (1), (2), (3), (4), (5);
+create table t2 like t1;
+create table t3 like t1;
+insert into t3 (a) select a from t1;
+begin;
+handler t1 open;
+savepoint sv;
+handler t1 read a first;
+select * from t2;
+handler t1 close;
+handler t3 open;
+handler t3 read a first;
+rollback to savepoint sv;
+connection con1;
+drop table t1, t2;
+--echo # Sending:
+--send drop table t3
+--echo # Let DROP TABLE statement sync in.
+connection con2;
+--echo # Waiting for 'drop table t3' to get blocked...
+let $wait_condition=select count(*)=1 from information_schema.processlist
+ where state='Waiting for table metadata lock' and
+ info='drop table t3';
+--source include/wait_condition.inc
+--echo # Demonstrate that ROLLBACK TO SAVEPOINT didn't release the handler
+--echo # lock.
+connection default;
+handler t3 read a next;
+--echo # Demonstrate that the drop will go through as soon as we close the
+--echo # HANDLER
+handler t3 close;
+connection con1;
+--echo # Reaping 'drop table t3'...
+--reap
+connection default;
+commit;
+
+--echo #
+--echo # Cleanup for savepoint.inc
+--echo #
+connection con1;
+disconnect con1;
+--source include/wait_until_disconnected.inc
+connection con2;
+disconnect con2;
+--source include/wait_until_disconnected.inc
+connection con3;
+disconnect con3;
+--source include/wait_until_disconnected.inc
+connection default;
diff --git a/mysql-test/suite/maria/maria-connect.result b/mysql-test/suite/maria/maria-connect.result
index 1d9cf2ab97b..76e30d7d136 100644
--- a/mysql-test/suite/maria/maria-connect.result
+++ b/mysql-test/suite/maria/maria-connect.result
@@ -8,6 +8,11 @@ CREATE TABLE t1 (a int primary key);
insert t1 values (1),(2),(3);
insert t1 values (4),(2),(5);
ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
+show warnings;
+Level Code Message
+Error 1062 Duplicate entry '2' for key 'PRIMARY'
+Note 4173 Engine Aria does not support rollback. Changes where commited during rollback call
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
select * from t1;
a
1
diff --git a/mysql-test/suite/maria/maria-connect.test b/mysql-test/suite/maria/maria-connect.test
index 8df305d47eb..ac7e9589285 100644
--- a/mysql-test/suite/maria/maria-connect.test
+++ b/mysql-test/suite/maria/maria-connect.test
@@ -29,6 +29,7 @@ CREATE TABLE t1 (a int primary key);
insert t1 values (1),(2),(3);
--error ER_DUP_ENTRY
insert t1 values (4),(2),(5);
+show warnings;
select * from t1;
--replace_result $start_pos <start_pos>
--replace_column 2 # 5 #
diff --git a/mysql-test/suite/maria/rollback.result b/mysql-test/suite/maria/rollback.result
new file mode 100644
index 00000000000..fd2e012805a
--- /dev/null
+++ b/mysql-test/suite/maria/rollback.result
@@ -0,0 +1,186 @@
+call mtr.add_suppression("Table '.*' is marked as crashed and should be repaired");
+call mtr.add_suppression("Checking table: .*");
+create table t1 (a int primary key auto_increment, b int) engine=aria transactional= 1;
+create table t2 (a int primary key auto_increment, b int) engine=aria transactional= 0;
+create sequence s1 cache=2 engine=aria;
+insert into t1 (b) values (1),(2),(3),(4);
+insert into t2 (b) values (1),(2),(3),(4);
+select NEXT VALUE for s1,seq from seq_1_to_4;
+NEXT VALUE for s1 seq
+1 1
+2 2
+3 3
+4 4
+begin;
+insert into t1 (b) values (5),(6);
+insert into t1 (b) values (7),(8);
+insert into t2 (b) values (5),(6);
+insert into t2 (b) values (7),(8);
+commit;
+begin;
+insert into t1 (b) values (10),(11),(12);
+update t1 set b=100 where a=2;
+delete from t1 where a between 3 and 4;
+insert into t2 (b) values (10),(11),(12);
+update t2 set b=100 where a=2;
+delete from t2 where a between 3 and 4;
+select NEXT VALUE for s1,seq from seq_1_to_4;
+NEXT VALUE for s1 seq
+5 1
+6 2
+7 3
+8 4
+# Kill and restart
+select * from t1 order by a;
+a b
+1 1
+2 100
+5 5
+6 6
+7 7
+8 8
+9 10
+10 11
+11 12
+select * from t2 order by a;
+a b
+1 1
+2 100
+5 5
+6 6
+7 7
+8 8
+9 10
+10 11
+11 12
+Warnings:
+Error 145 Table './test/t2' is marked as crashed and should be repaired
+Warning 1034 1 client is using or hasn't closed the table properly
+Note 1034 Table is fixed
+insert into t1 (b) values (100),(200);
+insert into t2 (b) values (100),(200);
+select * from t1 order by a;
+a b
+1 1
+2 100
+5 5
+6 6
+7 7
+8 8
+9 10
+10 11
+11 12
+12 100
+13 200
+select * from t2 order by a;
+a b
+1 1
+2 100
+5 5
+6 6
+7 7
+8 8
+9 10
+10 11
+11 12
+12 100
+13 200
+select NEXT VALUE for s1,seq from seq_1_to_4;
+NEXT VALUE for s1 seq
+9 1
+10 2
+11 3
+12 4
+Warnings:
+Error 145 Table './test/s1' is marked as crashed and should be repaired
+Warning 1034 1 client is using or hasn't closed the table properly
+Note 1034 Table is fixed
+drop table t1,t2;
+drop sequence s1;
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `mtr`; INSERT INTO test_suppressions (pattern) VALUES ( NAME_CONST('pattern',_latin1'Table \'.*\' is marked as crashed and should be repaired' COLLATE 'latin1_swedish_ci'))
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `mtr`; INSERT INTO test_suppressions (pattern) VALUES ( NAME_CONST('pattern',_latin1'Checking table: .*' COLLATE 'latin1_swedish_ci'))
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t1 (a int primary key auto_increment, b int) engine=aria transactional= 1
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create table t2 (a int primary key auto_increment, b int) engine=aria transactional= 0
+master-bin.000001 # Gtid # # GTID #-#-#
+master-bin.000001 # Query # # use `test`; create sequence s1 cache=2 engine=aria
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=1
+master-bin.000001 # Query # # use `test`; insert into t1 (b) values (1),(2),(3),(4)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=1
+master-bin.000001 # Query # # use `test`; insert into t2 (b) values (1),(2),(3),(4)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Annotate_rows # # select NEXT VALUE for s1,seq from seq_1_to_4
+master-bin.000001 # Table_map # # table_id: # (test.s1)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=5
+master-bin.000001 # Query # # use `test`; insert into t1 (b) values (5),(6)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=7
+master-bin.000001 # Query # # use `test`; insert into t1 (b) values (7),(8)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=5
+master-bin.000001 # Query # # use `test`; insert into t2 (b) values (5),(6)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=7
+master-bin.000001 # Query # # use `test`; insert into t2 (b) values (7),(8)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=9
+master-bin.000001 # Query # # use `test`; insert into t1 (b) values (10),(11),(12)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; update t1 set b=100 where a=2
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; delete from t1 where a between 3 and 4
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Intvar # # INSERT_ID=9
+master-bin.000001 # Query # # use `test`; insert into t2 (b) values (10),(11),(12)
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; update t2 set b=100 where a=2
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Query # # use `test`; delete from t2 where a between 3 and 4
+master-bin.000001 # Query # # COMMIT
+master-bin.000001 # Gtid # # BEGIN GTID #-#-#
+master-bin.000001 # Annotate_rows # # select NEXT VALUE for s1,seq from seq_1_to_4
+master-bin.000001 # Table_map # # table_id: # (test.s1)
+master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # COMMIT
+include/show_binlog_events.inc
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000002 # Gtid # # BEGIN GTID #-#-#
+master-bin.000002 # Intvar # # INSERT_ID=12
+master-bin.000002 # Query # # use `test`; insert into t1 (b) values (100),(200)
+master-bin.000002 # Query # # COMMIT
+master-bin.000002 # Gtid # # BEGIN GTID #-#-#
+master-bin.000002 # Intvar # # INSERT_ID=12
+master-bin.000002 # Query # # use `test`; insert into t2 (b) values (100),(200)
+master-bin.000002 # Query # # COMMIT
+master-bin.000002 # Gtid # # BEGIN GTID #-#-#
+master-bin.000002 # Annotate_rows # # select NEXT VALUE for s1,seq from seq_1_to_4
+master-bin.000002 # Table_map # # table_id: # (test.s1)
+master-bin.000002 # Write_rows_v1 # # table_id: # flags: STMT_END_F
+master-bin.000002 # Query # # COMMIT
+master-bin.000002 # Gtid # # GTID #-#-#
+master-bin.000002 # Query # # use `test`; DROP TABLE `t1`,`t2` /* generated by server */
+master-bin.000002 # Gtid # # GTID #-#-#
+master-bin.000002 # Query # # use `test`; DROP SEQUENCE `s1` /* generated by server */
diff --git a/mysql-test/suite/maria/rollback.test b/mysql-test/suite/maria/rollback.test
new file mode 100644
index 00000000000..40a96b9b05b
--- /dev/null
+++ b/mysql-test/suite/maria/rollback.test
@@ -0,0 +1,51 @@
+--source include/have_binlog_format_mixed_or_statement.inc
+--source include/have_sequence.inc
+# no-protocol doesn't print warnings about repaired tables
+--source include/no_protocol.inc
+
+call mtr.add_suppression("Table '.*' is marked as crashed and should be repaired");
+call mtr.add_suppression("Checking table: .*");
+
+#
+# Testing rollback after crash
+#
+
+create table t1 (a int primary key auto_increment, b int) engine=aria transactional= 1;
+create table t2 (a int primary key auto_increment, b int) engine=aria transactional= 0;
+create sequence s1 cache=2 engine=aria;
+
+insert into t1 (b) values (1),(2),(3),(4);
+insert into t2 (b) values (1),(2),(3),(4);
+select NEXT VALUE for s1,seq from seq_1_to_4;
+
+begin;
+insert into t1 (b) values (5),(6);
+insert into t1 (b) values (7),(8);
+insert into t2 (b) values (5),(6);
+insert into t2 (b) values (7),(8);
+commit;
+begin;
+insert into t1 (b) values (10),(11),(12);
+update t1 set b=100 where a=2;
+delete from t1 where a between 3 and 4;
+
+insert into t2 (b) values (10),(11),(12);
+update t2 set b=100 where a=2;
+delete from t2 where a between 3 and 4;
+select NEXT VALUE for s1,seq from seq_1_to_4;
+
+--source include/kill_and_restart_mysqld.inc
+
+select * from t1 order by a;
+select * from t2 order by a;
+insert into t1 (b) values (100),(200);
+insert into t2 (b) values (100),(200);
+select * from t1 order by a;
+select * from t2 order by a;
+select NEXT VALUE for s1,seq from seq_1_to_4;
+drop table t1,t2;
+drop sequence s1;
+
+source include/show_binlog_events.inc;
+--let $binlog_file=master-bin.000002
+source include/show_binlog_events.inc;
diff --git a/mysql-test/suite/maria/transaction.result b/mysql-test/suite/maria/transaction.result
new file mode 100644
index 00000000000..369d3728839
--- /dev/null
+++ b/mysql-test/suite/maria/transaction.result
@@ -0,0 +1,19 @@
+connect con1, localhost, root,,;
+connection default;
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = aria;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+connection con1;
+START TRANSACTION;
+select * from t1;
+c1
+2
+4
+select * from t1 where c1=2;
+c1
+2
+disconnect con1;
+connection default;
+drop table t1;
diff --git a/mysql-test/suite/maria/transaction.test b/mysql-test/suite/maria/transaction.test
new file mode 100644
index 00000000000..6cf4590cdbd
--- /dev/null
+++ b/mysql-test/suite/maria/transaction.test
@@ -0,0 +1,26 @@
+#
+# Test that checks transactions and MVCC
+#
+
+#
+# This is a taken from parts.partition_auto_increment_maria. It originally
+# crashde because con1 could read the first record from t1, which confused
+# the optimizer.
+#
+
+connect(con1, localhost, root,,);
+connection default;
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ ENGINE = aria;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+connection con1;
+START TRANSACTION;
+# When Aria proparly supports MVCC, the following two queries will not see
+# any rows
+select * from t1;
+select * from t1 where c1=2;
+disconnect con1;
+connection default;
+drop table t1;
diff --git a/mysql-test/suite/perfschema/r/event_aggregate.result b/mysql-test/suite/perfschema/r/event_aggregate.result
index 2582262c8c4..4ad4c773941 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate.result
@@ -248,35 +248,35 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -315,19 +315,19 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -380,7 +380,7 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
@@ -392,7 +392,7 @@ user2 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
@@ -404,21 +404,21 @@ user2 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -467,21 +467,21 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
user2 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
user2 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -548,45 +548,45 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -635,21 +635,21 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -709,12 +709,12 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
@@ -726,12 +726,12 @@ user3 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
@@ -743,21 +743,21 @@ user3 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -816,23 +816,23 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
user3 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
user3 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -906,55 +906,55 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -1013,23 +1013,23 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1096,17 +1096,17 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
@@ -1118,17 +1118,17 @@ user4 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
@@ -1140,21 +1140,21 @@ user4 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -1223,25 +1223,25 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
user4 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
user4 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1322,65 +1322,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 24
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -1449,25 +1449,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1535,65 +1535,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 25
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -1663,25 +1663,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1748,65 +1748,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 26
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1876,25 +1876,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1960,65 +1960,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 27
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -2088,25 +2088,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2171,65 +2171,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2299,25 +2299,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2383,65 +2383,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2511,25 +2511,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2594,65 +2594,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2722,25 +2722,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2805,65 +2805,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2933,25 +2933,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3016,65 +3016,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3144,25 +3144,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3227,65 +3227,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3355,25 +3355,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3438,65 +3438,65 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3566,25 +3566,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3671,43 +3671,43 @@ user4 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3777,25 +3777,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3904,21 +3904,21 @@ user4 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3988,25 +3988,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4122,14 +4122,14 @@ localhost stage/sql/starting 0
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4199,25 +4199,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4340,7 +4340,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4410,25 +4410,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4551,7 +4551,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4621,25 +4621,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4762,7 +4762,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4832,25 +4832,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4973,7 +4973,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5043,25 +5043,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5184,7 +5184,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5254,25 +5254,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5395,7 +5395,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5465,25 +5465,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5606,7 +5606,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5676,25 +5676,25 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5817,7 +5817,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5893,19 +5893,19 @@ user3 localhost transaction 0
user4 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6028,7 +6028,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6110,13 +6110,13 @@ user3 transaction 0
user4 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6239,7 +6239,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6324,10 +6324,10 @@ host event_name count_star
localhost transaction 0
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6450,7 +6450,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6538,7 +6538,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6633,7 +6633,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6697,7 +6697,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6760,7 +6760,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6800,7 +6800,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6859,7 +6859,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6899,7 +6899,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_a.result b/mysql-test/suite/perfschema/r/event_aggregate_no_a.result
index b67cd3ee31c..9ce3bb7efe8 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_a.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_a.result
@@ -232,28 +232,28 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -289,16 +289,16 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -347,7 +347,7 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
@@ -359,21 +359,21 @@ user2 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -414,17 +414,17 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
user2 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -486,33 +486,33 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -553,17 +553,17 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -616,12 +616,12 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
@@ -633,21 +633,21 @@ user3 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -693,18 +693,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
user3 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -770,38 +770,38 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -847,18 +847,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -915,17 +915,17 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
@@ -937,21 +937,21 @@ user4 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -1002,19 +1002,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
user4 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1084,43 +1084,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 24
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -1171,19 +1171,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1240,43 +1240,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 25
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -1328,19 +1328,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1396,43 +1396,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 26
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1484,19 +1484,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1551,43 +1551,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 27
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1639,19 +1639,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1705,43 +1705,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1793,19 +1793,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1860,43 +1860,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1948,19 +1948,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2014,43 +2014,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2102,19 +2102,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2168,43 +2168,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2256,19 +2256,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2322,43 +2322,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2410,19 +2410,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2476,43 +2476,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2564,19 +2564,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2630,43 +2630,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2718,19 +2718,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2784,43 +2784,43 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2872,19 +2872,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2960,21 +2960,21 @@ user4 stage/sql/starting 0
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3026,19 +3026,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3121,14 +3121,14 @@ localhost stage/sql/starting 0
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3180,19 +3180,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3282,7 +3282,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3334,19 +3334,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3436,7 +3436,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3488,19 +3488,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3590,7 +3590,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3642,19 +3642,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3744,7 +3744,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3796,19 +3796,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3898,7 +3898,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3950,19 +3950,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4052,7 +4052,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4104,19 +4104,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4206,7 +4206,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4258,19 +4258,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4360,7 +4360,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4412,19 +4412,19 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4514,7 +4514,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4572,13 +4572,13 @@ user3 transaction 0
user4 transaction 0
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4668,7 +4668,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4729,10 +4729,10 @@ host event_name count_star
localhost transaction 0
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4822,7 +4822,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4886,7 +4886,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4976,7 +4976,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5040,7 +5040,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -5102,7 +5102,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5142,7 +5142,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -5200,7 +5200,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5240,7 +5240,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_h.result b/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_h.result
index 76f183fa43d..6590c162dda 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_h.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_h.result
@@ -202,7 +202,7 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
@@ -211,14 +211,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -249,15 +249,15 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -303,7 +303,7 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
@@ -317,14 +317,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -360,16 +360,16 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
user2 transaction 0
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -428,12 +428,12 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
@@ -442,14 +442,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -485,16 +485,16 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -544,12 +544,12 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
@@ -563,14 +563,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -611,17 +611,17 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
user3 transaction 0
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -684,17 +684,17 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
@@ -703,14 +703,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -751,17 +751,17 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -815,17 +815,17 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
@@ -839,14 +839,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -892,18 +892,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
user4 transaction 0
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -970,22 +970,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -994,14 +994,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -1047,18 +1047,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1112,22 +1112,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1136,14 +1136,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -1190,18 +1190,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1254,22 +1254,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1278,14 +1278,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1332,18 +1332,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1395,22 +1395,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1419,14 +1419,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1473,18 +1473,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1535,22 +1535,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -1559,14 +1559,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1613,18 +1613,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1676,22 +1676,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -1700,14 +1700,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1754,18 +1754,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1816,22 +1816,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -1840,14 +1840,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1894,18 +1894,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1956,22 +1956,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -1980,14 +1980,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2034,18 +2034,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2096,22 +2096,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2120,14 +2120,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2174,18 +2174,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2236,22 +2236,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2260,14 +2260,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2314,18 +2314,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2376,22 +2376,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2400,14 +2400,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2454,18 +2454,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2516,22 +2516,22 @@ user host event_name count_star
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2540,14 +2540,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2594,18 +2594,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2680,14 +2680,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2734,18 +2734,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2820,14 +2820,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2874,18 +2874,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2967,7 +2967,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3014,18 +3014,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3107,7 +3107,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3154,18 +3154,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3247,7 +3247,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3294,18 +3294,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3387,7 +3387,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3434,18 +3434,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3527,7 +3527,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3574,18 +3574,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3667,7 +3667,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3714,18 +3714,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3807,7 +3807,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3854,18 +3854,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3947,7 +3947,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3994,18 +3994,18 @@ execute dump_transactions_account;
user host event_name count_star
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4087,7 +4087,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4142,10 +4142,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4227,7 +4227,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4282,10 +4282,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4367,7 +4367,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4425,7 +4425,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4507,7 +4507,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4565,7 +4565,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4619,7 +4619,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4653,7 +4653,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -4703,7 +4703,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4737,7 +4737,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u.result b/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u.result
index d5d8e96dd64..b7cf3b8a5ce 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u.result
@@ -216,21 +216,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -263,13 +263,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -314,21 +314,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -361,13 +361,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -424,21 +424,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -471,13 +471,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -523,21 +523,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -570,13 +570,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -634,21 +634,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -681,13 +681,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -734,21 +734,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -781,13 +781,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -846,21 +846,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 24
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -893,13 +893,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -945,21 +945,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 25
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -993,13 +993,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1044,21 +1044,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 26
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1092,13 +1092,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1142,21 +1142,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 27
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1190,13 +1190,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1239,21 +1239,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1287,13 +1287,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1337,21 +1337,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1385,13 +1385,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1434,21 +1434,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1482,13 +1482,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1531,21 +1531,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1579,13 +1579,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1628,21 +1628,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1676,13 +1676,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1725,21 +1725,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1773,13 +1773,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1822,21 +1822,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1870,13 +1870,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1919,21 +1919,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1967,13 +1967,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2016,21 +2016,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2064,13 +2064,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2120,14 +2120,14 @@ localhost stage/sql/starting 0
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2161,13 +2161,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2224,7 +2224,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2258,13 +2258,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2321,7 +2321,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2355,13 +2355,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2418,7 +2418,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2452,13 +2452,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2515,7 +2515,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2549,13 +2549,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2612,7 +2612,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2646,13 +2646,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2709,7 +2709,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2743,13 +2743,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2806,7 +2806,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2840,13 +2840,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2903,7 +2903,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2937,13 +2937,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3000,7 +3000,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3034,13 +3034,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3097,7 +3097,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3134,10 +3134,10 @@ host event_name count_star
localhost transaction 0
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3194,7 +3194,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3234,7 +3234,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3291,7 +3291,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3331,7 +3331,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3388,7 +3388,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3428,7 +3428,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -3485,7 +3485,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3525,7 +3525,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u_no_h.result b/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u_no_h.result
index ce23077d4bd..24de36da22b 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u_no_h.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_a_no_u_no_h.result
@@ -188,14 +188,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -225,10 +225,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -272,14 +272,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -309,10 +309,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -368,14 +368,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -405,10 +405,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -453,14 +453,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -490,10 +490,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -550,14 +550,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -587,10 +587,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -636,14 +636,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -673,10 +673,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -734,14 +734,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -771,10 +771,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -819,14 +819,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -857,10 +857,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -904,14 +904,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -942,10 +942,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -988,14 +988,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1026,10 +1026,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1071,14 +1071,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1109,10 +1109,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1155,14 +1155,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1193,10 +1193,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1238,14 +1238,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1276,10 +1276,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1321,14 +1321,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1359,10 +1359,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1404,14 +1404,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1442,10 +1442,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1487,14 +1487,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1525,10 +1525,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1570,14 +1570,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1608,10 +1608,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1653,14 +1653,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1691,10 +1691,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1736,14 +1736,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1774,10 +1774,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1819,14 +1819,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1857,10 +1857,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1909,7 +1909,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1940,10 +1940,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -1992,7 +1992,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2023,10 +2023,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2075,7 +2075,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2106,10 +2106,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2158,7 +2158,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2189,10 +2189,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2241,7 +2241,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2272,10 +2272,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2324,7 +2324,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2355,10 +2355,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2407,7 +2407,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2438,10 +2438,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2490,7 +2490,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2521,10 +2521,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2573,7 +2573,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2604,10 +2604,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2656,7 +2656,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2687,10 +2687,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2739,7 +2739,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2773,7 +2773,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2822,7 +2822,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2856,7 +2856,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2905,7 +2905,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2939,7 +2939,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
@@ -2988,7 +2988,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3022,7 +3022,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
execute dump_users;
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_h.result b/mysql-test/suite/perfschema/r/event_aggregate_no_h.result
index a74b0288cd7..2f0c96d7234 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_h.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_h.result
@@ -218,14 +218,14 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
@@ -234,14 +234,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -275,18 +275,18 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -336,7 +336,7 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
@@ -348,7 +348,7 @@ user2 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
@@ -362,14 +362,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -413,20 +413,20 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
user2 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
+user1 transaction 2
user2 transaction 0
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -490,24 +490,24 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
@@ -516,14 +516,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -567,20 +567,20 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -637,12 +637,12 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
@@ -654,12 +654,12 @@ user3 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
@@ -673,14 +673,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -734,22 +734,22 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
user3 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
+user1 transaction 2
+user2 transaction 2
user3 transaction 0
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -820,34 +820,34 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
@@ -856,14 +856,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -917,22 +917,22 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -996,17 +996,17 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
@@ -1018,17 +1018,17 @@ user4 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
@@ -1042,14 +1042,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -1113,24 +1113,24 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
user4 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
user4 transaction 0
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1208,44 +1208,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 6
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1254,14 +1254,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -1325,24 +1325,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1407,44 +1407,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 6
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1453,14 +1453,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -1525,24 +1525,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1606,44 +1606,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 6
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1652,14 +1652,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1724,24 +1724,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1804,44 +1804,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 6
@@ -1850,14 +1850,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1922,24 +1922,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2001,44 +2001,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2047,14 +2047,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2119,24 +2119,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2199,44 +2199,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2245,14 +2245,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2317,24 +2317,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2396,44 +2396,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2442,14 +2442,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2514,24 +2514,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2593,44 +2593,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2639,14 +2639,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2711,24 +2711,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2790,44 +2790,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -2836,14 +2836,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2908,24 +2908,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2987,44 +2987,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -3033,14 +3033,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3105,24 +3105,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3184,44 +3184,44 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -3230,14 +3230,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3302,24 +3302,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3403,22 +3403,22 @@ user4 localhost stage/sql/starting 0
execute dump_stages_user;
user event_name count_star
user1 stage/sql/checking permissions 4
-user1 stage/sql/closing tables 13
+user1 stage/sql/closing tables 11
user1 stage/sql/init 3
user1 stage/sql/Opening tables 7
user1 stage/sql/starting 7
user2 stage/sql/checking permissions 4
-user2 stage/sql/closing tables 11
+user2 stage/sql/closing tables 10
user2 stage/sql/init 3
user2 stage/sql/Opening tables 6
user2 stage/sql/starting 7
user3 stage/sql/checking permissions 4
-user3 stage/sql/closing tables 11
+user3 stage/sql/closing tables 10
user3 stage/sql/init 3
user3 stage/sql/Opening tables 6
user3 stage/sql/starting 7
user4 stage/sql/checking permissions 4
-user4 stage/sql/closing tables 11
+user4 stage/sql/closing tables 10
user4 stage/sql/init 3
user4 stage/sql/Opening tables 6
user4 stage/sql/starting 7
@@ -3427,14 +3427,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3499,24 +3499,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3624,14 +3624,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3696,24 +3696,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3821,14 +3821,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3893,24 +3893,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4025,7 +4025,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4090,24 +4090,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4222,7 +4222,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4287,24 +4287,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4419,7 +4419,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4484,24 +4484,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4616,7 +4616,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4681,24 +4681,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4813,7 +4813,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4878,24 +4878,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5010,7 +5010,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5075,24 +5075,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5207,7 +5207,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5272,24 +5272,24 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5404,7 +5404,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5475,18 +5475,18 @@ user3 localhost transaction 0
user4 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
-user1 transaction 1
-user2 transaction 1
-user3 transaction 1
-user4 transaction 1
+user1 transaction 2
+user2 transaction 2
+user3 transaction 2
+user4 transaction 2
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5601,7 +5601,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5680,10 +5680,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5798,7 +5798,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5877,10 +5877,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5995,7 +5995,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6077,7 +6077,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6164,7 +6164,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6222,7 +6222,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6277,7 +6277,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6311,7 +6311,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -6362,7 +6362,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -6396,7 +6396,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_u.result b/mysql-test/suite/perfschema/r/event_aggregate_no_u.result
index c9c5ed2aebd..618201d9b85 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_u.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_u.result
@@ -230,7 +230,7 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
@@ -239,21 +239,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -287,18 +287,18 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -345,7 +345,7 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
@@ -359,21 +359,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 4
-localhost stage/sql/closing tables 13
+localhost stage/sql/closing tables 11
localhost stage/sql/init 3
localhost stage/sql/Opening tables 7
localhost stage/sql/starting 6
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -412,19 +412,19 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
user2 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 1
+localhost transaction 2
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -484,12 +484,12 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
@@ -498,21 +498,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -551,19 +551,19 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -614,12 +614,12 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
@@ -633,21 +633,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 8
-localhost stage/sql/closing tables 24
+localhost stage/sql/closing tables 21
localhost stage/sql/init 6
localhost stage/sql/Opening tables 13
localhost stage/sql/starting 12
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -691,20 +691,20 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
user3 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 2
+localhost transaction 4
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -768,17 +768,17 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
@@ -787,21 +787,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -845,20 +845,20 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -913,17 +913,17 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
@@ -937,21 +937,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 12
-localhost stage/sql/closing tables 35
+localhost stage/sql/closing tables 31
localhost stage/sql/init 9
localhost stage/sql/Opening tables 19
localhost stage/sql/starting 18
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -1000,21 +1000,21 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
user4 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 3
+localhost transaction 6
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1082,22 +1082,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1106,21 +1106,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 24
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -1169,21 +1169,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1238,22 +1238,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1262,21 +1262,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 25
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -1326,21 +1326,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1394,22 +1394,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1418,21 +1418,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 26
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1482,21 +1482,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1549,22 +1549,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1573,21 +1573,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 27
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1637,21 +1637,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1703,22 +1703,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -1727,21 +1727,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1791,21 +1791,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1858,22 +1858,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -1882,21 +1882,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1946,21 +1946,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2012,22 +2012,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2036,21 +2036,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2100,21 +2100,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2166,22 +2166,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2190,21 +2190,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2254,21 +2254,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2320,22 +2320,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2344,21 +2344,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2408,21 +2408,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2474,22 +2474,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2498,21 +2498,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2562,21 +2562,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2628,22 +2628,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2652,21 +2652,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2716,21 +2716,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2806,21 +2806,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2870,21 +2870,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2960,21 +2960,21 @@ user event_name count_star
execute dump_stages_host;
host event_name count_star
localhost stage/sql/checking permissions 16
-localhost stage/sql/closing tables 46
+localhost stage/sql/closing tables 41
localhost stage/sql/init 12
localhost stage/sql/Opening tables 25
localhost stage/sql/starting 28
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3024,21 +3024,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3121,14 +3121,14 @@ localhost stage/sql/starting 0
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3178,21 +3178,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3282,7 +3282,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3332,21 +3332,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3436,7 +3436,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3486,21 +3486,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3590,7 +3590,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3640,21 +3640,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3744,7 +3744,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3794,21 +3794,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3898,7 +3898,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3948,21 +3948,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4052,7 +4052,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4102,21 +4102,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4206,7 +4206,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4256,21 +4256,21 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4360,7 +4360,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4418,13 +4418,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4514,7 +4514,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4572,13 +4572,13 @@ execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
-localhost transaction 4
+localhost transaction 8
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4668,7 +4668,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4729,10 +4729,10 @@ host event_name count_star
localhost transaction 0
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4822,7 +4822,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4886,7 +4886,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4948,7 +4948,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4988,7 +4988,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5046,7 +5046,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5086,7 +5086,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -5144,7 +5144,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -5184,7 +5184,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
diff --git a/mysql-test/suite/perfschema/r/event_aggregate_no_u_no_h.result b/mysql-test/suite/perfschema/r/event_aggregate_no_u_no_h.result
index 671125191f8..d6dd322a70c 100644
--- a/mysql-test/suite/perfschema/r/event_aggregate_no_u_no_h.result
+++ b/mysql-test/suite/perfschema/r/event_aggregate_no_u_no_h.result
@@ -200,7 +200,7 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
@@ -211,14 +211,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -247,17 +247,17 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -301,7 +301,7 @@ wait/synch/rwlock/sql/LOCK_grant 1
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
@@ -317,14 +317,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 4
-stage/sql/closing tables 13
+stage/sql/closing tables 11
stage/sql/init 3
stage/sql/Opening tables 7
stage/sql/starting 6
@@ -358,7 +358,7 @@ statement/sql/insert 1
statement/sql/select 3
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
+user1 localhost transaction 2
user2 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
@@ -366,10 +366,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 1
+transaction 2
execute dump_transactions_history;
event_name count(event_name)
-transaction 1
+transaction 2
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -426,12 +426,12 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
@@ -442,14 +442,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -483,18 +483,18 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -542,12 +542,12 @@ wait/synch/rwlock/sql/LOCK_grant 2
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
@@ -563,14 +563,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 8
-stage/sql/closing tables 24
+stage/sql/closing tables 21
stage/sql/init 6
stage/sql/Opening tables 13
stage/sql/starting 12
@@ -609,8 +609,8 @@ statement/sql/insert 2
statement/sql/select 6
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
user3 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
@@ -618,10 +618,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 2
+transaction 4
execute dump_transactions_history;
event_name count(event_name)
-transaction 2
+transaction 4
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -682,17 +682,17 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
@@ -703,14 +703,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -749,19 +749,19 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -813,17 +813,17 @@ wait/synch/rwlock/sql/LOCK_grant 3
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
@@ -839,14 +839,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 12
-stage/sql/closing tables 35
+stage/sql/closing tables 31
stage/sql/init 9
stage/sql/Opening tables 19
stage/sql/starting 18
@@ -890,9 +890,9 @@ statement/sql/insert 3
statement/sql/select 9
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
user4 localhost transaction 0
execute dump_transactions_user;
user event_name count_star
@@ -900,10 +900,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 3
+transaction 6
execute dump_transactions_history;
event_name count(event_name)
-transaction 3
+transaction 6
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -968,22 +968,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 6
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -994,14 +994,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 24
@@ -1045,20 +1045,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1110,22 +1110,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 6
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1136,14 +1136,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 25
@@ -1188,20 +1188,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1252,22 +1252,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 6
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1278,14 +1278,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 26
@@ -1330,20 +1330,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1393,22 +1393,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 6
@@ -1419,14 +1419,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 27
@@ -1471,20 +1471,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1533,22 +1533,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -1559,14 +1559,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1611,20 +1611,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1674,22 +1674,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -1700,14 +1700,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1752,20 +1752,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1814,22 +1814,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -1840,14 +1840,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -1892,20 +1892,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -1954,22 +1954,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -1980,14 +1980,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2032,20 +2032,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2094,22 +2094,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2120,14 +2120,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2172,20 +2172,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2234,22 +2234,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2260,14 +2260,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2312,20 +2312,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2374,22 +2374,22 @@ wait/synch/rwlock/sql/LOCK_grant 4
execute dump_stages_account;
user host event_name count_star
user1 localhost stage/sql/checking permissions 4
-user1 localhost stage/sql/closing tables 13
+user1 localhost stage/sql/closing tables 11
user1 localhost stage/sql/init 3
user1 localhost stage/sql/Opening tables 7
user1 localhost stage/sql/starting 7
user2 localhost stage/sql/checking permissions 4
-user2 localhost stage/sql/closing tables 11
+user2 localhost stage/sql/closing tables 10
user2 localhost stage/sql/init 3
user2 localhost stage/sql/Opening tables 6
user2 localhost stage/sql/starting 7
user3 localhost stage/sql/checking permissions 4
-user3 localhost stage/sql/closing tables 11
+user3 localhost stage/sql/closing tables 10
user3 localhost stage/sql/init 3
user3 localhost stage/sql/Opening tables 6
user3 localhost stage/sql/starting 7
user4 localhost stage/sql/checking permissions 4
-user4 localhost stage/sql/closing tables 11
+user4 localhost stage/sql/closing tables 10
user4 localhost stage/sql/init 3
user4 localhost stage/sql/Opening tables 6
user4 localhost stage/sql/starting 7
@@ -2400,14 +2400,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2452,20 +2452,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2540,14 +2540,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2592,20 +2592,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2680,14 +2680,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2732,20 +2732,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2820,14 +2820,14 @@ host event_name count_star
execute dump_stages_global;
event_name count_star
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -2872,20 +2872,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -2967,7 +2967,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3012,20 +3012,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3107,7 +3107,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3152,20 +3152,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3247,7 +3247,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3292,20 +3292,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3387,7 +3387,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3432,20 +3432,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3527,7 +3527,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3572,20 +3572,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3667,7 +3667,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3712,20 +3712,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3807,7 +3807,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -3852,20 +3852,20 @@ statement/sql/insert 4
statement/sql/select 12
execute dump_transactions_account;
user host event_name count_star
-user1 localhost transaction 1
-user2 localhost transaction 1
-user3 localhost transaction 1
-user4 localhost transaction 1
+user1 localhost transaction 2
+user2 localhost transaction 2
+user3 localhost transaction 2
+user4 localhost transaction 2
execute dump_transactions_user;
user event_name count_star
execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -3947,7 +3947,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4002,10 +4002,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4087,7 +4087,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4142,10 +4142,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4227,7 +4227,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4282,10 +4282,10 @@ execute dump_transactions_host;
host event_name count_star
execute dump_transactions_global;
event_name count_star
-transaction 4
+transaction 8
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4367,7 +4367,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4425,7 +4425,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4479,7 +4479,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4513,7 +4513,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4563,7 +4563,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4597,7 +4597,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
@@ -4647,7 +4647,7 @@ stage/sql/starting 0
execute dump_stages_history;
event_name count(event_name)
stage/sql/checking permissions 16
-stage/sql/closing tables 46
+stage/sql/closing tables 41
stage/sql/init 12
stage/sql/Opening tables 25
stage/sql/starting 28
@@ -4681,7 +4681,7 @@ event_name count_star
transaction 0
execute dump_transactions_history;
event_name count(event_name)
-transaction 4
+transaction 8
execute dump_accounts;
USER HOST CURRENT_CONNECTIONS TOTAL_CONNECTIONS
root localhost 1 1
diff --git a/mysql-test/suite/perfschema/r/transaction_nested_events.result b/mysql-test/suite/perfschema/r/transaction_nested_events.result
index 6fa3822f090..52fa3783a8b 100644
--- a/mysql-test/suite/perfschema/r/transaction_nested_events.result
+++ b/mysql-test/suite/perfschema/r/transaction_nested_events.result
@@ -327,7 +327,7 @@ FROM performance_schema.events_transactions_current
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 3 10 transaction COMMITTED READ WRITE REPEATABLE READ NO 2 STATEMENT
+thread_id 10 12 transaction COMMITTED READ WRITE REPEATABLE READ NO 9 STATEMENT
#
# EVENTS_TRANSACTIONS_HISTORY_LONG
#
@@ -345,7 +345,9 @@ FROM performance_schema.events_transactions_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 3 10 transaction COMMITTED READ WRITE REPEATABLE READ NO 2 STATEMENT
+thread_id 2 2 transaction COMMITTED READ WRITE REPEATABLE READ YES 1 STATEMENT
+thread_id 10 10 transaction COMMITTED READ WRITE REPEATABLE READ NO 9 STATEMENT
+thread_id 10 12 transaction COMMITTED READ WRITE REPEATABLE READ NO 9 STATEMENT
#
# EVENTS_STATEMENTS_HISTORY_LONG
#
@@ -362,15 +364,15 @@ FROM performance_schema.events_statements_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME OBJECT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE LEVEL SQL_TEXT
-thread_id 1 1 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_update() UPDATE t1 SET s1 = s1 + 1
-thread_id 2 3 statement/sql/begin NULL NULL NULL 0 START TRANSACTION
-thread_id 4 4 statement/sql/insert NULL 3 TRANSACTION 0 INSERT INTO t1 VALUES (310, "INSERT 310")
-thread_id 5 5 statement/sql/insert NULL 3 TRANSACTION 0 INSERT INTO t1 VALUES (311, "INSERT 311")
-thread_id 6 6 statement/sql/insert NULL 3 TRANSACTION 0 INSERT INTO t1 VALUES (312, "INSERT 312")
-thread_id 7 7 statement/sql/insert NULL 3 TRANSACTION 0 INSERT INTO t1 VALUES (313, "INSERT 313")
-thread_id 8 9 statement/sql/call_procedure NULL 3 TRANSACTION 0 CALL tp_update()
-thread_id 9 9 statement/sp/stmt tp_update 8 STATEMENT 1 UPDATE t1 SET s1 = s1 + 1
-thread_id 10 10 statement/sql/commit NULL 3 TRANSACTION 0 COMMIT
+thread_id 1 2 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_update() UPDATE t1 SET s1 = s1 + 1
+thread_id 3 4 statement/sql/begin NULL NULL NULL 0 START TRANSACTION
+thread_id 5 5 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (310, "INSERT 310")
+thread_id 6 6 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (311, "INSERT 311")
+thread_id 7 7 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (312, "INSERT 312")
+thread_id 8 8 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (313, "INSERT 313")
+thread_id 9 11 statement/sql/call_procedure NULL 4 TRANSACTION 0 CALL tp_update()
+thread_id 11 11 statement/sp/stmt tp_update 9 STATEMENT 1 UPDATE t1 SET s1 = s1 + 1
+thread_id 12 12 statement/sql/commit NULL NULL NULL 0 COMMIT
#
### Combined statement and transaction event history ordered by event id
#
@@ -397,16 +399,18 @@ FROM performance_schema.events_statements_history_long s
WHERE ((s.thread_id = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, r_event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE SQL_TXT
-thread_id 1 1 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_update() UPDATE t1 SET s1 = s1 + 1
-thread_id 2 3 statement/sql/begin NULL NULL START TRANSACTION
-thread_id 3 10 transaction 2 STATEMENT <transaction started>
-thread_id 4 4 statement/sql/insert 3 TRANSACTION INSERT INTO t1 VALUES (310, "INSERT 310")
-thread_id 5 5 statement/sql/insert 3 TRANSACTION INSERT INTO t1 VALUES (311, "INSERT 311")
-thread_id 6 6 statement/sql/insert 3 TRANSACTION INSERT INTO t1 VALUES (312, "INSERT 312")
-thread_id 7 7 statement/sql/insert 3 TRANSACTION INSERT INTO t1 VALUES (313, "INSERT 313")
-thread_id 8 9 statement/sql/call_proced 3 TRANSACTION CALL tp_update()
-thread_id 9 9 statement/sp/stmt 8 STATEMENT UPDATE t1 SET s1 = s1 + 1
-thread_id 10 10 statement/sql/commit 3 TRANSACTION COMMIT
+thread_id 1 2 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_update() UPDATE t1 SET s1 = s1 + 1
+thread_id 2 2 transaction 1 STATEMENT <transaction started>
+thread_id 3 4 statement/sql/begin NULL NULL START TRANSACTION
+thread_id 5 5 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (310, "INSERT 310")
+thread_id 6 6 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (311, "INSERT 311")
+thread_id 7 7 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (312, "INSERT 312")
+thread_id 8 8 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (313, "INSERT 313")
+thread_id 9 11 statement/sql/call_proced 4 TRANSACTION CALL tp_update()
+thread_id 10 10 transaction 9 STATEMENT <transaction started>
+thread_id 10 12 transaction 9 STATEMENT <transaction started>
+thread_id 11 11 statement/sp/stmt 9 STATEMENT UPDATE t1 SET s1 = s1 + 1
+thread_id 12 12 statement/sql/commit NULL NULL COMMIT
#
### Clear statement and transaction history
# CALL test.clear_history();
@@ -464,7 +468,7 @@ FROM performance_schema.events_transactions_current
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 4 9 transaction COMMITTED READ WRITE REPEATABLE READ NO 3 STATEMENT
+thread_id 6 11 transaction COMMITTED READ WRITE REPEATABLE READ NO 5 STATEMENT
#
# EVENTS_TRANSACTIONS_HISTORY_LONG
#
@@ -482,7 +486,9 @@ FROM performance_schema.events_transactions_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 4 9 transaction COMMITTED READ WRITE REPEATABLE READ NO 3 STATEMENT
+thread_id 2 2 transaction COMMITTED READ WRITE REPEATABLE READ YES 1 STATEMENT
+thread_id 4 4 transaction COMMITTED READ WRITE REPEATABLE READ YES 3 STATEMENT
+thread_id 6 11 transaction COMMITTED READ WRITE REPEATABLE READ NO 5 STATEMENT
#
# EVENTS_STATEMENTS_HISTORY_LONG
#
@@ -499,14 +505,14 @@ FROM performance_schema.events_statements_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME OBJECT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE LEVEL SQL_TEXT
-thread_id 1 1 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_start() START TRANSACTION
-thread_id 2 4 statement/sql/call_procedure NULL NULL NULL 0 CALL tp_start()
-thread_id 3 4 statement/sp/stmt tp_start 2 STATEMENT 1 START TRANSACTION
-thread_id 5 5 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (320, "INSERT 320"),(321, "INSERT 321")
-thread_id 6 6 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (322, "INSERT 322"),(323, "INSERT 323")
-thread_id 7 7 statement/sql/update NULL 4 TRANSACTION 0 UPDATE t1 SET s1 = s1 + 1 WHERE s1 > 320
-thread_id 8 8 statement/sql/select NULL 4 TRANSACTION 0 SELECT * FROM t1 ORDER BY s1
-thread_id 9 9 statement/sql/commit NULL 4 TRANSACTION 0 COMMIT
+thread_id 1 2 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_start() START TRANSACTION
+thread_id 3 6 statement/sql/call_procedure NULL NULL NULL 0 CALL tp_start()
+thread_id 5 6 statement/sp/stmt tp_start 3 STATEMENT 1 START TRANSACTION
+thread_id 7 7 statement/sql/insert NULL 6 TRANSACTION 0 INSERT INTO t1 VALUES (320, "INSERT 320"),(321, "INSERT 321")
+thread_id 8 8 statement/sql/insert NULL 6 TRANSACTION 0 INSERT INTO t1 VALUES (322, "INSERT 322"),(323, "INSERT 323")
+thread_id 9 9 statement/sql/update NULL 6 TRANSACTION 0 UPDATE t1 SET s1 = s1 + 1 WHERE s1 > 320
+thread_id 10 10 statement/sql/select NULL 6 TRANSACTION 0 SELECT * FROM t1 ORDER BY s1
+thread_id 11 11 statement/sql/commit NULL 6 TRANSACTION 0 COMMIT
#
### Combined statement and transaction event history ordered by event id
#
@@ -533,15 +539,17 @@ FROM performance_schema.events_statements_history_long s
WHERE ((s.thread_id = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, r_event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE SQL_TXT
-thread_id 1 1 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_start() START TRANSACTION
-thread_id 2 4 statement/sql/call_proced NULL NULL CALL tp_start()
-thread_id 3 4 statement/sp/stmt 2 STATEMENT START TRANSACTION
-thread_id 4 9 transaction 3 STATEMENT <transaction started>
-thread_id 5 5 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (320, "INSERT 320"),(321, "INSERT 321")
-thread_id 6 6 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (322, "INSERT 322"),(323, "INSERT 323")
-thread_id 7 7 statement/sql/update 4 TRANSACTION UPDATE t1 SET s1 = s1 + 1 WHERE s1 > 320
-thread_id 8 8 statement/sql/select 4 TRANSACTION SELECT * FROM t1 ORDER BY s1
-thread_id 9 9 statement/sql/commit 4 TRANSACTION COMMIT
+thread_id 1 2 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_start() START TRANSACTION
+thread_id 2 2 transaction 1 STATEMENT <transaction started>
+thread_id 3 6 statement/sql/call_proced NULL NULL CALL tp_start()
+thread_id 4 4 transaction 3 STATEMENT <transaction started>
+thread_id 5 6 statement/sp/stmt 3 STATEMENT START TRANSACTION
+thread_id 6 11 transaction 5 STATEMENT <transaction started>
+thread_id 7 7 statement/sql/insert 6 TRANSACTION INSERT INTO t1 VALUES (320, "INSERT 320"),(321, "INSERT 321")
+thread_id 8 8 statement/sql/insert 6 TRANSACTION INSERT INTO t1 VALUES (322, "INSERT 322"),(323, "INSERT 323")
+thread_id 9 9 statement/sql/update 6 TRANSACTION UPDATE t1 SET s1 = s1 + 1 WHERE s1 > 320
+thread_id 10 10 statement/sql/select 6 TRANSACTION SELECT * FROM t1 ORDER BY s1
+thread_id 11 11 statement/sql/commit 6 TRANSACTION COMMIT
#
### Clear statement and transaction history
# CALL test.clear_history();
@@ -609,7 +617,7 @@ FROM performance_schema.events_transactions_current
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 18 18 transaction COMMITTED READ WRITE REPEATABLE READ YES 17 STATEMENT
+thread_id 22 22 transaction COMMITTED READ WRITE REPEATABLE READ YES 21 STATEMENT
#
# EVENTS_TRANSACTIONS_HISTORY_LONG
#
@@ -627,10 +635,14 @@ FROM performance_schema.events_transactions_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 4 9 transaction COMMITTED READ WRITE REPEATABLE READ NO 3 STATEMENT
-thread_id 11 11 transaction COMMITTED READ WRITE REPEATABLE READ YES 10 STATEMENT
-thread_id 13 16 transaction ROLLED BACK READ WRITE REPEATABLE READ NO 12 STATEMENT
-thread_id 18 18 transaction COMMITTED READ WRITE REPEATABLE READ YES 17 STATEMENT
+thread_id 2 2 transaction COMMITTED READ WRITE REPEATABLE READ YES 1 STATEMENT
+thread_id 4 4 transaction COMMITTED READ WRITE REPEATABLE READ YES 3 STATEMENT
+thread_id 11 11 transaction COMMITTED READ WRITE REPEATABLE READ NO 10 STATEMENT
+thread_id 11 12 transaction COMMITTED READ WRITE REPEATABLE READ NO 10 STATEMENT
+thread_id 14 14 transaction COMMITTED READ WRITE REPEATABLE READ YES 13 STATEMENT
+thread_id 19 19 transaction COMMITTED READ WRITE REPEATABLE READ NO 18 STATEMENT
+thread_id 19 20 transaction ROLLED BACK READ WRITE REPEATABLE READ NO 18 STATEMENT
+thread_id 22 22 transaction COMMITTED READ WRITE REPEATABLE READ YES 21 STATEMENT
#
# EVENTS_STATEMENTS_HISTORY_LONG
#
@@ -647,20 +659,20 @@ FROM performance_schema.events_statements_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME OBJECT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE LEVEL SQL_TEXT
-thread_id 1 1 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_rollback() ROLLBACK
-thread_id 2 2 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_commit() COMMIT
-thread_id 3 4 statement/sql/begin NULL NULL NULL 0 START TRANSACTION
-thread_id 5 5 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (330, "INSERT 330"),(331, "INSERT 331")
-thread_id 6 6 statement/sql/insert NULL 4 TRANSACTION 0 INSERT INTO t1 VALUES (332, "INSERT 332"),(333, "INSERT 333")
-thread_id 7 7 statement/sql/delete NULL 4 TRANSACTION 0 DELETE FROM t1 WHERE s1 > 331
-thread_id 8 9 statement/sql/call_procedure NULL 4 TRANSACTION 0 CALL tp_commit()
-thread_id 9 9 statement/sp/stmt tp_commit 8 STATEMENT 1 COMMIT
-thread_id 10 11 statement/sql/select NULL NULL NULL 0 SELECT * FROM t1 ORDER BY s1
-thread_id 12 13 statement/sql/begin NULL NULL NULL 0 START TRANSACTION
-thread_id 14 14 statement/sql/update NULL 13 TRANSACTION 0 UPDATE t1 SET s1 = s1*2 WHERE s1 > 331
-thread_id 15 16 statement/sql/call_procedure NULL 13 TRANSACTION 0 CALL tp_rollback()
-thread_id 16 16 statement/sp/stmt tp_rollback 15 STATEMENT 1 ROLLBACK
-thread_id 17 18 statement/sql/select NULL NULL NULL 0 SELECT * FROM t1 ORDER BY s1
+thread_id 1 2 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_rollback() ROLLBACK
+thread_id 3 4 statement/sql/create_procedure NULL NULL NULL 0 CREATE PROCEDURE tp_commit() COMMIT
+thread_id 5 6 statement/sql/begin NULL NULL NULL 0 START TRANSACTION
+thread_id 7 7 statement/sql/insert NULL 6 TRANSACTION 0 INSERT INTO t1 VALUES (330, "INSERT 330"),(331, "INSERT 331")
+thread_id 8 8 statement/sql/insert NULL 6 TRANSACTION 0 INSERT INTO t1 VALUES (332, "INSERT 332"),(333, "INSERT 333")
+thread_id 9 9 statement/sql/delete NULL 6 TRANSACTION 0 DELETE FROM t1 WHERE s1 > 331
+thread_id 10 12 statement/sql/call_procedure NULL 6 TRANSACTION 0 CALL tp_commit()
+thread_id 12 12 statement/sp/stmt tp_commit 10 STATEMENT 1 COMMIT
+thread_id 13 14 statement/sql/select NULL NULL NULL 0 SELECT * FROM t1 ORDER BY s1
+thread_id 15 16 statement/sql/begin NULL NULL NULL 0 START TRANSACTION
+thread_id 17 17 statement/sql/update NULL 16 TRANSACTION 0 UPDATE t1 SET s1 = s1*2 WHERE s1 > 331
+thread_id 18 20 statement/sql/call_procedure NULL 16 TRANSACTION 0 CALL tp_rollback()
+thread_id 20 20 statement/sp/stmt tp_rollback 18 STATEMENT 1 ROLLBACK
+thread_id 21 22 statement/sql/select NULL NULL NULL 0 SELECT * FROM t1 ORDER BY s1
#
### Combined statement and transaction event history ordered by event id
#
@@ -687,24 +699,28 @@ FROM performance_schema.events_statements_history_long s
WHERE ((s.thread_id = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, r_event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE SQL_TXT
-thread_id 1 1 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_rollback() ROLLBACK
-thread_id 2 2 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_commit() COMMIT
-thread_id 3 4 statement/sql/begin NULL NULL START TRANSACTION
-thread_id 4 9 transaction 3 STATEMENT <transaction started>
-thread_id 5 5 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (330, "INSERT 330"),(331, "INSERT 331")
-thread_id 6 6 statement/sql/insert 4 TRANSACTION INSERT INTO t1 VALUES (332, "INSERT 332"),(333, "INSERT 333")
-thread_id 7 7 statement/sql/delete 4 TRANSACTION DELETE FROM t1 WHERE s1 > 331
-thread_id 8 9 statement/sql/call_proced 4 TRANSACTION CALL tp_commit()
-thread_id 9 9 statement/sp/stmt 8 STATEMENT COMMIT
-thread_id 10 11 statement/sql/select NULL NULL SELECT * FROM t1 ORDER BY s1
+thread_id 1 2 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_rollback() ROLLBACK
+thread_id 2 2 transaction 1 STATEMENT <transaction started>
+thread_id 3 4 statement/sql/create_proc NULL NULL CREATE PROCEDURE tp_commit() COMMIT
+thread_id 4 4 transaction 3 STATEMENT <transaction started>
+thread_id 5 6 statement/sql/begin NULL NULL START TRANSACTION
+thread_id 7 7 statement/sql/insert 6 TRANSACTION INSERT INTO t1 VALUES (330, "INSERT 330"),(331, "INSERT 331")
+thread_id 8 8 statement/sql/insert 6 TRANSACTION INSERT INTO t1 VALUES (332, "INSERT 332"),(333, "INSERT 333")
+thread_id 9 9 statement/sql/delete 6 TRANSACTION DELETE FROM t1 WHERE s1 > 331
+thread_id 10 12 statement/sql/call_proced 6 TRANSACTION CALL tp_commit()
thread_id 11 11 transaction 10 STATEMENT <transaction started>
-thread_id 12 13 statement/sql/begin NULL NULL START TRANSACTION
-thread_id 13 16 transaction 12 STATEMENT <transaction started>
-thread_id 14 14 statement/sql/update 13 TRANSACTION UPDATE t1 SET s1 = s1*2 WHERE s1 > 331
-thread_id 15 16 statement/sql/call_proced 13 TRANSACTION CALL tp_rollback()
-thread_id 16 16 statement/sp/stmt 15 STATEMENT ROLLBACK
-thread_id 17 18 statement/sql/select NULL NULL SELECT * FROM t1 ORDER BY s1
-thread_id 18 18 transaction 17 STATEMENT <transaction started>
+thread_id 11 12 transaction 10 STATEMENT <transaction started>
+thread_id 12 12 statement/sp/stmt 10 STATEMENT COMMIT
+thread_id 13 14 statement/sql/select NULL NULL SELECT * FROM t1 ORDER BY s1
+thread_id 14 14 transaction 13 STATEMENT <transaction started>
+thread_id 15 16 statement/sql/begin NULL NULL START TRANSACTION
+thread_id 17 17 statement/sql/update 16 TRANSACTION UPDATE t1 SET s1 = s1*2 WHERE s1 > 331
+thread_id 18 20 statement/sql/call_proced 16 TRANSACTION CALL tp_rollback()
+thread_id 19 19 transaction 18 STATEMENT <transaction started>
+thread_id 19 20 transaction 18 STATEMENT <transaction started>
+thread_id 20 20 statement/sp/stmt 18 STATEMENT ROLLBACK
+thread_id 21 22 statement/sql/select NULL NULL SELECT * FROM t1 ORDER BY s1
+thread_id 22 22 transaction 21 STATEMENT <transaction started>
#
### Clear statement and transaction history
# CALL test.clear_history();
@@ -783,7 +799,7 @@ FROM performance_schema.events_transactions_current
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 13 13 transaction COMMITTED READ WRITE REPEATABLE READ YES 12 STATEMENT
+thread_id 14 14 transaction COMMITTED READ WRITE REPEATABLE READ YES 13 STATEMENT
#
# EVENTS_TRANSACTIONS_HISTORY_LONG
#
@@ -801,8 +817,9 @@ FROM performance_schema.events_transactions_history_long
WHERE ((THREAD_ID = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME STATE ACCESS_MODE ISOLATION_LEVEL AUTO R_NESTING_EVENT_ID NESTING_EVENT_TYPE
-thread_id 2 11 transaction COMMITTED READ WRITE REPEATABLE READ NO 1 STATEMENT
-thread_id 13 13 transaction COMMITTED READ WRITE REPEATABLE READ YES 12 STATEMENT
+thread_id 9 9 transaction COMMITTED READ WRITE REPEATABLE READ NO 8 STATEMENT
+thread_id 9 12 transaction COMMITTED READ WRITE REPEATABLE READ NO 8 STATEMENT
+thread_id 14 14 transaction COMMITTED READ WRITE REPEATABLE READ YES 13 STATEMENT
#
# EVENTS_STATEMENTS_HISTORY_LONG
#
@@ -825,11 +842,11 @@ thread_id 4 4 statement/sql/insert NULL
thread_id 5 5 statement/sql/insert NULL 2 TRANSACTION 0 INSERT INTO t1 VALUES (412, "INSERT 412")
thread_id 6 6 statement/sql/delete NULL 2 TRANSACTION 0 DELETE FROM t1 WHERE s1 > 410
thread_id 7 7 statement/sql/select NULL 2 TRANSACTION 0 SELECT * FROM t1 ORDER BY s1
-thread_id 8 10 statement/sql/select NULL 2 TRANSACTION 0 SELECT fn_add(413, 414)
-thread_id 9 9 statement/sp/stmt fn_add 8 STATEMENT 1 INSERT INTO t1 VALUES (x, "INSERT x"),(y, "INSERT y")
-thread_id 10 10 statement/sp/freturn fn_add 8 STATEMENT 1 NULL
-thread_id 11 11 statement/sql/commit NULL 2 TRANSACTION 0 COMMIT
-thread_id 12 13 statement/sql/select NULL NULL NULL 0 SELECT * FROM t1 ORDER BY s1
+thread_id 8 11 statement/sql/select NULL 2 TRANSACTION 0 SELECT fn_add(413, 414)
+thread_id 10 10 statement/sp/stmt fn_add 8 STATEMENT 1 INSERT INTO t1 VALUES (x, "INSERT x"),(y, "INSERT y")
+thread_id 11 11 statement/sp/freturn fn_add 8 STATEMENT 1 NULL
+thread_id 12 12 statement/sql/commit NULL NULL NULL 0 COMMIT
+thread_id 13 14 statement/sql/select NULL NULL NULL 0 SELECT * FROM t1 ORDER BY s1
#
### Combined statement and transaction event history ordered by event id
#
@@ -857,18 +874,19 @@ WHERE ((s.thread_id = @con1_thread_id) OR (@all_threads = 1))
ORDER BY thread_id, r_event_id;
THREAD_ID R_EVENT_ID R_END_EVENT_ID EVENT_NAME R_NESTING_EVENT_ID NESTING_EVENT_TYPE SQL_TXT
thread_id 1 2 statement/sql/begin NULL NULL START TRANSACTION
-thread_id 2 11 transaction 1 STATEMENT <transaction started>
thread_id 3 3 statement/sql/insert 2 TRANSACTION INSERT INTO t1 VALUES (410, "INSERT 410")
thread_id 4 4 statement/sql/insert 2 TRANSACTION INSERT INTO t1 VALUES (411, "INSERT 411")
thread_id 5 5 statement/sql/insert 2 TRANSACTION INSERT INTO t1 VALUES (412, "INSERT 412")
thread_id 6 6 statement/sql/delete 2 TRANSACTION DELETE FROM t1 WHERE s1 > 410
thread_id 7 7 statement/sql/select 2 TRANSACTION SELECT * FROM t1 ORDER BY s1
-thread_id 8 10 statement/sql/select 2 TRANSACTION SELECT fn_add(413, 414)
-thread_id 9 9 statement/sp/stmt 8 STATEMENT INSERT INTO t1 VALUES (x, "INSERT x"),(y, "INSERT y")
-thread_id 10 10 statement/sp/freturn 8 STATEMENT NULL
-thread_id 11 11 statement/sql/commit 2 TRANSACTION COMMIT
-thread_id 12 13 statement/sql/select NULL NULL SELECT * FROM t1 ORDER BY s1
-thread_id 13 13 transaction 12 STATEMENT <transaction started>
+thread_id 8 11 statement/sql/select 2 TRANSACTION SELECT fn_add(413, 414)
+thread_id 9 9 transaction 8 STATEMENT <transaction started>
+thread_id 9 12 transaction 8 STATEMENT <transaction started>
+thread_id 10 10 statement/sp/stmt 8 STATEMENT INSERT INTO t1 VALUES (x, "INSERT x"),(y, "INSERT y")
+thread_id 11 11 statement/sp/freturn 8 STATEMENT NULL
+thread_id 12 12 statement/sql/commit NULL NULL COMMIT
+thread_id 13 14 statement/sql/select NULL NULL SELECT * FROM t1 ORDER BY s1
+thread_id 14 14 transaction 13 STATEMENT <transaction started>
#
### Clear statement and transaction history
# CALL test.clear_history();
@@ -1023,11 +1041,11 @@ connection con1;
SELECT fn_err1();
ERROR 42000: FUNCTION db.fn_err1 does not exist
#
-## Expect 0 transactions
+## Expect 1 transactions
connection default;
SELECT COUNT(*) FROM performance_schema.events_transactions_history;
COUNT(*)
-0
+1
connection con1;
#
CREATE FUNCTION fn_err2() RETURNS VARCHAR(10) BEGIN COMMIT; RETURN 'invalid' ; END|
@@ -1040,11 +1058,11 @@ DELETE FROM t1 WHERE s1 > 320;
SELECT fn_err2();
ERROR 42000: FUNCTION db.fn_err2 does not exist
#
-## Expect 0 transactions
+## Expect 2 transactions
connection default;
SELECT COUNT(*) FROM performance_schema.events_transactions_history;
COUNT(*)
-0
+2
#
## Clear transaction and statement tables
CALL test.clear_history();
diff --git a/mysql-test/suite/perfschema/t/transaction_nested_events.test b/mysql-test/suite/perfschema/t/transaction_nested_events.test
index c6cab52525b..1be7dc0f937 100644
--- a/mysql-test/suite/perfschema/t/transaction_nested_events.test
+++ b/mysql-test/suite/perfschema/t/transaction_nested_events.test
@@ -235,7 +235,7 @@ SELECT COUNT(*) FROM performance_schema.events_transactions_history;
SELECT fn_err1();
--echo #
---echo ## Expect 0 transactions
+--echo ## Expect 1 transactions
--connection default
SELECT COUNT(*) FROM performance_schema.events_transactions_history;
--connection con1
@@ -255,7 +255,7 @@ DELETE FROM t1 WHERE s1 > 320;
SELECT fn_err2();
--echo #
---echo ## Expect 0 transactions
+--echo ## Expect 2 transactions
--connection default
SELECT COUNT(*) FROM performance_schema.events_transactions_history;