~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mix2_myisam.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:
165
165
1       1006    101
166
166
1       1007    101
167
167
1       1005    101
168
 
optimize table t1;
169
 
Table   Op      Msg_type        Msg_text
170
 
test.t1 optimize        note    The storage engine for the table doesn't support optimize
 
168
alter table t1 engine=MyISAM;
171
169
show keys from t1;
172
170
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
173
171
t1      0       PRIMARY 1       id      A       #       NULL    NULL            BTREE           
189
187
drop table t1;
190
188
create TEMPORARY table t1 (a int) engine=MyISAM;
191
189
insert into t1 values (1), (2);
192
 
optimize table t1;
193
 
Table   Op      Msg_type        Msg_text
194
 
test.t1 optimize        note    The storage engine for the table doesn't support optimize
 
190
alter table t1 ENGINE=MyISAM;
195
191
delete from t1 where a = 1;
196
192
select * from t1;
197
193
a
611
607
a       b
612
608
world   2
613
609
hello   1
614
 
optimize table t1;
615
 
Table   Op      Msg_type        Msg_text
616
 
test.t1 optimize        note    The storage engine for the table doesn't support optimize
 
610
alter table t1 ENGINE=MyISAM;
617
611
show keys from t1;
618
612
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
619
613
t1      0       PRIMARY 1       a       A       #       NULL    NULL            BTREE           
1718
1712
create TEMPORARY table t1 ( a int ) ENGINE=MyISAM;
1719
1713
BEGIN;
1720
1714
INSERT INTO t1 VALUES (1);
1721
 
OPTIMIZE TABLE t1;
1722
 
Table   Op      Msg_type        Msg_text
1723
 
test.t1 optimize        note    The storage engine for the table doesn't support optimize
 
1715
ALTER TABLE t1 ENGINE=MyISAM;
1724
1716
DROP TABLE t1;