Debian Codegraph @

mysql-test/suite/perfschema/t/innodb_events_transactions_history_long.test

raw
1 --source include/not_embedded.inc
2 --source include/have_perfschema.inc
3 --source include/have_innodb.inc
4
5 --echo #
6 --echo # MDEV-24600 performance_schema.events_transactions_history_long.trx_id
7 --echo # reports garbage
8 --echo #
9
10 TRUNCATE performance_schema.events_transactions_history_long;
11
12 START TRANSACTION WITH CONSISTENT SNAPSHOT;
13 COMMIT;
14 BEGIN;
15 SELECT table_name FROM mysql.innodb_table_stats LIMIT 0 LOCK IN SHARE MODE;
16 COMMIT;
17
18 SELECT state,trx_id,gtid
19 FROM performance_schema.events_transactions_history_long;