mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 20:19:00 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
11
t/pt-heartbeat/samples/precision-time-table.sql
Normal file
11
t/pt-heartbeat/samples/precision-time-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_master_log_file varchar(255) DEFAULT NULL, -- SHOW SLAVE STATUS
|
||||
exec_master_log_pos bigint unsigned DEFAULT NULL -- SHOW SLAVE STATUS
|
||||
) ENGINE=MEMORY;
|
Reference in New Issue
Block a user