mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-21 19:34:52 +00:00
PT-2340 - Support MySQL 8.4
- Added tests for legacy style heartbeat and checksum tables
This commit is contained in:
22
t/pt-table-checksum/samples/privs-bug-916168-legacy.sql
Normal file
22
t/pt-table-checksum/samples/privs-bug-916168-legacy.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
CREATE USER 'test_user'@'%' identified by 'foo';
|
||||
grant select, replication slave, replication client, super, process on *.* to 'test_user'@'%';
|
||||
grant all on percona.* to 'test_user'@'%';
|
||||
create database if not exists percona;
|
||||
use percona;
|
||||
drop table if exists checksums;
|
||||
CREATE TABLE `checksums` (
|
||||
`db` char(64) NOT NULL,
|
||||
`tbl` char(64) NOT NULL,
|
||||
`chunk` int(11) NOT NULL,
|
||||
`chunk_time` float DEFAULT NULL,
|
||||
`chunk_index` varchar(200) DEFAULT NULL,
|
||||
`lower_boundary` text,
|
||||
`upper_boundary` text,
|
||||
`this_crc` char(40) NOT NULL,
|
||||
`this_cnt` int(11) NOT NULL,
|
||||
`master_crc` char(40) DEFAULT NULL,
|
||||
`master_cnt` int(11) DEFAULT NULL,
|
||||
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`db`,`tbl`,`chunk`),
|
||||
KEY `ts_db_tbl` (`ts`,`db`,`tbl`)
|
||||
) ENGINE=InnoDB;
|
Reference in New Issue
Block a user