mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 00:21:56 +00:00
PT-2340 - Support MySQL 8.4
- Added tests for legacy style heartbeat and checksum tables
This commit is contained in:
11
t/pt-heartbeat/samples/heartbeat-table.sql
Normal file
11
t/pt-heartbeat/samples/heartbeat-table.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
CREATE DATABASE test;
|
||||
USE test;
|
||||
CREATE TABLE heartbeat (
|
||||
ts varchar(26) NOT NULL,
|
||||
server_id int unsigned NOT NULL PRIMARY KEY,
|
||||
file varchar(255) DEFAULT NULL, -- SHOW MASTER STATUS
|
||||
position bigint unsigned DEFAULT NULL, -- SHOW MASTER STATUS
|
||||
relay_source_log_file varchar(255) DEFAULT NULL, -- SHOW SLAVE STATUS
|
||||
exec_source_log_pos bigint unsigned DEFAULT NULL -- SHOW SLAVE STATUS
|
||||
) ENGINE=MEMORY;
|
Reference in New Issue
Block a user