mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-16 08:17:20 +00:00
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
This commit is contained in:
39
t/lib/samples/before-TableSyncGroupBy.sql
Normal file
39
t/lib/samples/before-TableSyncGroupBy.sql
Normal file
@@ -0,0 +1,39 @@
|
||||
use test;
|
||||
|
||||
drop table if exists test1,test2;
|
||||
|
||||
create table test1(
|
||||
a int not null,
|
||||
b int not null,
|
||||
c int not null
|
||||
) ENGINE=INNODB;
|
||||
|
||||
create table test2(
|
||||
a int not null,
|
||||
b int not null,
|
||||
c int not null
|
||||
) ENGINE=INNODB;
|
||||
|
||||
insert into test1 values
|
||||
(1, 2, 3),
|
||||
(1, 2, 3),
|
||||
(1, 2, 3),
|
||||
(1, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(3, 2, 3),
|
||||
(3, 2, 3);
|
||||
|
||||
insert into test2 values
|
||||
(1, 2, 3),
|
||||
(1, 2, 3),
|
||||
(1, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(2, 2, 3),
|
||||
(4, 2, 3);
|
Reference in New Issue
Block a user