PT-2340 - Support MySQL 8.4

- Added tests for legacy style heartbeat and checksum tables
This commit is contained in:
Sveta Smirnova
2024-09-20 15:27:23 +03:00
parent e481396d8d
commit 1de149116a
6 changed files with 218 additions and 1 deletions

View 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;