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,4 @@
ALTER TABLE `sakila`.`film_text` DROP KEY `PRIMARY`; -- type:primary key
ALTER TABLE `sakila`.`film_text` DROP KEY `idx_title_description`; -- type:non-unique

View File

@@ -0,0 +1,2 @@
ALTER TABLE `sakila`.`film_text` DROP KEY `idx_title_description`; -- type:non-unique

View File

@@ -0,0 +1,4 @@
# Time: 071015 21:43:52
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
use sakila;
select * from film_text;

View File

@@ -0,0 +1,2 @@
ALTER TABLE `sakila`.`film_text` DROP KEY `idx_title_description`; -- type:non-unique

View File

@@ -0,0 +1,4 @@
# Time: 071015 21:43:52
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
use sakila;
select * from film_text where film_id=5;

View File

@@ -0,0 +1,4 @@
# Time: 071015 21:43:52
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
use sakila;
EXPLAIN select * from film_text where match(title, description) against ('DINOSAUR');

View File

@@ -0,0 +1,10 @@
# Time: 071015 21:43:52
# User@Host: root[root] @ localhost []
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
use sakila;
select * from nonexistent_table;
# Time: 071015 21:43:52
# User@Host: root[root] @ localhost []
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
use sakila;
select * from nonexistent_table;

View File

@@ -0,0 +1,2 @@
ALTER TABLE `sakila`.`inventory` DROP KEY `idx_fk_film_id`, DROP KEY `idx_store_id_film_id`; -- type:non-unique

View File

@@ -0,0 +1,5 @@
# Time: 071015 21:43:52
# User@Host: root[root] @ localhost []
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
use sakila;
select * from sakila.inventory where inventory_id=10;

View File

@@ -0,0 +1,2 @@
ALTER TABLE `sakila`.`film_text` DROP KEY `idx_title_description`; -- type:non-unique

View File

@@ -0,0 +1,3 @@
# Time: 071015 21:43:52
# Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0
select * from film_text;

View File

@@ -0,0 +1,17 @@
# Time: 101010 00:00:01
# User@Host: root[root] @ localhost []
# Query_time: 1 Lock_time: 0 Rows_sent: 100 Rows_examined: 0
use sakila;
select * from sakila.actor where actor_id>10;
# Time: 101010 00:0002
# User@Host: root[root] @ localhost []
# Query_time: 1 Lock_time: 0 Rows_sent: 100 Rows_examined: 0
select * from sakila.actor where actor_id>10;
# Time: 101010 00:0003
# User@Host: root[root] @ localhost []
# Query_time: 1 Lock_time: 0 Rows_sent: 100 Rows_examined: 0
select * from sakila.actor where last_name like 'A%';
# Time: 101010 00:0004
# User@Host: root[root] @ localhost []
# Query_time: 1 Lock_time: 0 Rows_sent: 100 Rows_examined: 0
select * from sakila.actor where last_name like 'A%' order by actor_id;