Add forked Maatkit tools in bin/ and their tests in t/.

This commit is contained in:
Daniel Nichter
2011-06-24 16:02:05 -06:00
parent 6c501128e6
commit b4b6376be1
679 changed files with 177876 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
drop database if exists dm;
create database dm;
use dm;
CREATE TABLE `main_table-123` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`pub_date` date NOT NULL DEFAULT '0000-00-00',
`c` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `pub_date` (`pub_date`)
) ENGINE=InnoDB;
CREATE TABLE `other_table-123` (
`id` int(10) unsigned NOT NULL DEFAULT '0',
`bar` varchar(255) NOT NULL DEFAULT '',
KEY `id` (`id`)
) ENGINE=InnoDB;
insert into `main_table-123` values
(1, '2010-02-16', 'a'),
(2, '2010-02-15', 'b'),
(3, '2010-02-15', 'c'),
(4, '2010-02-16', 'd'),
(5, '2010-02-14', 'e');
insert into `other_table-123` values
(1, 'a'),
(2, 'b'),
(2, 'b2'),
(2, 'b3'),
(3, 'c'),
(4, 'd'),
(5, 'e'),
(6, 'ot1');