~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mix2_myisam.result

  • Committer: Brian Aker
  • Date: 2010-02-25 07:54:52 UTC
  • mfrom: (1273.13.101 build)
  • Revision ID: brian@gaz-20100225075452-19eozreshbrerypu
Merge of all patches in build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
1       1007    101
167
167
1       1005    101
168
168
alter table t1 engine=MyISAM;
169
 
show keys from t1;
170
 
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
171
 
t1      0       PRIMARY 1       id      A       #       NULL    NULL            BTREE           
172
 
t1      1       parent_id       1       parent_id       A       #       NULL    NULL            BTREE           
173
 
t1      1       level   1       level   A       #       NULL    NULL            BTREE           
174
169
drop table t1;
175
170
create TEMPORARY table t1 (
176
171
gesuchnr int DEFAULT '0' NOT NULL,
207
202
analyze table t1;
208
203
Table   Op      Msg_type        Msg_text
209
204
test.t1 analyze note    The storage engine for the table doesn't support analyze
210
 
show keys from t1;
211
 
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
212
 
t1      1       skr     1       a       A       #       NULL    NULL    YES     BTREE           
213
205
drop table t1;
214
206
create TEMPORARY table t1 (a int,b varchar(20),key(a)) engine=MyISAM;
215
207
insert into t1 values (1,""), (2,"testing");
252
244
drop table t1;
253
245
create TEMPORARY table t1 (a int not null, b int not null,c int not null,
254
246
key(a),primary key(a,b), unique(c),key(a),unique(b)) ENGINE = MyISAM;
255
 
show index from t1;
256
 
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
257
 
t1      0       PRIMARY 1       a       A       #       NULL    NULL            BTREE           
258
 
t1      0       PRIMARY 2       b       A       #       NULL    NULL            BTREE           
259
 
t1      0       c       1       c       A       #       NULL    NULL            BTREE           
260
 
t1      0       b       1       b       A       #       NULL    NULL            BTREE           
261
 
t1      1       a       1       a       A       #       NULL    NULL            BTREE           
262
 
t1      1       a_2     1       a       A       #       NULL    NULL            BTREE           
263
247
drop table t1;
264
248
create TEMPORARY table t1 (col1 int not null, col2 char(4) not null, primary key(col1)) ENGINE = MEMORY;
265
249
alter table t1 engine=MyISAM;
608
592
world   2
609
593
hello   1
610
594
alter table t1 ENGINE=MyISAM;
611
 
show keys from t1;
612
 
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
613
 
t1      0       PRIMARY 1       a       A       #       NULL    NULL            BTREE           
614
595
drop table t1;
615
596
create TEMPORARY table t1 (i int, j int ) ENGINE=MyISAM;
616
597
insert into t1 values (1,2);
759
740
1       SIMPLE  t1      ALL     NULL    NULL    NULL    NULL    #       
760
741
drop table t1;
761
742
create TEMPORARY table t1 (t int not null default 1, key (t)) engine=MyISAM;
762
 
desc t1;
763
 
Field   Type    Null    Key     Default Extra
764
 
t       int     NO      MUL     1       
765
743
drop table t1;
766
744
create TEMPORARY table t1 (id int not null auto_increment, code int not null, name char(20) not null, primary key (id), key (code), unique (name)) engine=MyISAM;
767
745
BEGIN;