~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/innodb.result

  • Committer: Brian Aker
  • Date: 2009-11-26 18:48:20 UTC
  • mfrom: (1226.1.3 push)
  • Revision ID: brian@gaz-20091126184820-hltr0upee0ahopsj
Bundle Brian + Monty  (been through staging, just collecting it as want
overall patch as seen by staging).

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
1       1005    101
165
165
1       1006    101
166
166
1       1007    101
167
 
optimize table t1;
168
 
Table   Op      Msg_type        Msg_text
169
 
test.t1 optimize        status  OK
 
167
alter table t1 ENGINE=innodb;
170
168
show keys from t1;
171
169
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
172
170
t1      0       PRIMARY 1       id      A       #       NULL    NULL            BTREE           
188
186
drop table t1;
189
187
create table t1 (a int) engine=innodb;
190
188
insert into t1 values (1), (2);
191
 
optimize table t1;
192
 
Table   Op      Msg_type        Msg_text
193
 
test.t1 optimize        status  OK
 
189
alter table t1 engine=innodb;
194
190
delete from t1 where a = 1;
195
191
select * from t1;
196
192
a
735
731
a       b
736
732
world   2
737
733
hello   1
738
 
optimize table t1;
739
 
Table   Op      Msg_type        Msg_text
740
 
test.t1 optimize        status  OK
 
734
alter table t1 engine=innodb;
741
735
show keys from t1;
742
736
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
743
737
t1      0       PRIMARY 1       a       A       #       NULL    NULL            BTREE           
2698
2692
CREATE TABLE t1 ( a int ) ENGINE=innodb;
2699
2693
BEGIN;
2700
2694
INSERT INTO t1 VALUES (1);
2701
 
OPTIMIZE TABLE t1;
2702
 
Table   Op      Msg_type        Msg_text
2703
 
test.t1 optimize        status  OK
 
2695
ALTER TABLE t1 ENGINE=innodb;
2704
2696
DROP TABLE t1;
2705
2697
CREATE TABLE t1 (id int PRIMARY KEY, f int NOT NULL, INDEX(f)) ENGINE=InnoDB;
2706
2698
CREATE TABLE t2 (id int PRIMARY KEY, f INT NOT NULL,