mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-23 12:47:56 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
30
t/pt-archiver/samples/gt_n.sql
Normal file
30
t/pt-archiver/samples/gt_n.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
DROP DATABASE IF EXISTS gt_n;
|
||||
CREATE DATABASE gt_n;
|
||||
USE gt_n;
|
||||
CREATE TABLE t1 (
|
||||
id int not null auto_increment primary key,
|
||||
status varchar(32) not null,
|
||||
index (status)
|
||||
);
|
||||
|
||||
-- 12 ok, 7 bad
|
||||
INSERT INTO t1 VALUES
|
||||
(null, 'ok'),
|
||||
(null, 'bad'),
|
||||
(null, 'ok'),
|
||||
(null, 'bad'),
|
||||
(null, 'ok'),
|
||||
(null, 'bad'),
|
||||
(null, 'bad'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'bad'),
|
||||
(null, 'bad'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'ok'),
|
||||
(null, 'bad');
|
Reference in New Issue
Block a user