mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-17 08:57:24 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
17
t/pt-archiver/samples/table6.sql
Normal file
17
t/pt-archiver/samples/table6.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
use test;
|
||||
|
||||
drop table if exists table_6;
|
||||
create table table_6(
|
||||
a int not null,
|
||||
b int not null,
|
||||
c int,
|
||||
primary key(a, b)
|
||||
);
|
||||
|
||||
-- This test data specifically designed to be ambiguous unless the
|
||||
-- ascending-index WHERE clause is carefully wrapped in parens. If the archiver
|
||||
-- goes to 2 rows and doesn't wrap right, it will archive the 3rd row which it
|
||||
-- should not because it archives c=1.
|
||||
insert into table_6(a, b, c)
|
||||
values(1, 1, 1), (1, 2, 1), (1, 3, 0);
|
||||
|
Reference in New Issue
Block a user