~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/innobase/mysql-test/innodb-index.inc

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--eval create table t1(a int not null, b int, c char(10), d varchar(20), primary key (a)) engine = innodb default charset=$charset
2
 
insert into t1 values (1,1,'ab','ab'),(2,2,'ac','ac'),(3,2,'ad','ad'),(4,4,'afe','afe');
3
 
commit;
4
 
--error ER_DUP_ENTRY
5
 
alter table t1 add unique index (b);
6
 
insert into t1 values(8,9,'fff','fff');
7
 
select * from t1;
8
 
show create table t1;
9
 
alter table t1 add index (b);
10
 
insert into t1 values(10,10,'kkk','iii');
11
 
select * from t1;
12
 
select * from t1 force index(b) order by b;
13
 
explain select * from t1 force index(b) order by b;
14
 
show create table t1;
15
 
alter table t1 add unique index (c), add index (d);
16
 
insert into t1 values(11,11,'aaa','mmm');
17
 
select * from t1;
18
 
select * from t1 force index(b) order by b;
19
 
select * from t1 force index(c) order by c;
20
 
select * from t1 force index(d) order by d;
21
 
explain select * from t1 force index(b) order by b;
22
 
explain select * from t1 force index(c) order by c;
23
 
explain select * from t1 force index(d) order by d;
24
 
show create table t1;
25
 
check table t1;
26
 
drop table t1;