mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-14 15:33:49 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
18
t/pt-table-sync/samples/lag-slave.sql
Normal file
18
t/pt-table-sync/samples/lag-slave.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
drop database if exists test;
|
||||
create database test;
|
||||
use test;
|
||||
|
||||
create table t1 (
|
||||
i int not null,
|
||||
unique index (i)
|
||||
) engine=innodb;
|
||||
|
||||
insert into t1 values (1);
|
||||
|
||||
create table t2 (
|
||||
id int not null,
|
||||
i int,
|
||||
unique index (id)
|
||||
) engine=innodb;
|
||||
|
||||
insert into t2 values (1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8);
|
Reference in New Issue
Block a user