~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mix2_myisam.result

  • Committer: Monty Taylor
  • Date: 2010-03-11 18:27:20 UTC
  • mfrom: (1333 staging)
  • mto: This revision was merged to the branch mainline in revision 1348.
  • Revision ID: mordred@inaugust.com-20100311182720-hd1h87y6cb1b1mp0
Merged trunk.

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;
920
898
Table   Checksum
921
899
test.t1 2948697075
922
900
test.t2 2948697075
923
 
test.t3 2948697075
924
 
test.t4 2948697075
925
 
test.t5 2948697075
926
 
test.t6 2948697075
927
 
test.t7 NULL
928
 
Warnings:
929
 
Error   1146    Table 'test.t7' doesn't exist
930
 
checksum table t1, t2, t3, t4, t5, t6, t7;
931
 
Table   Checksum
932
 
test.t1 2948697075
933
 
test.t2 2948697075
934
 
test.t3 2948697075
935
 
test.t4 2948697075
936
 
test.t5 2948697075
937
 
test.t6 2948697075
938
 
test.t7 NULL
939
 
Warnings:
940
 
Error   1146    Table 'test.t7' doesn't exist
941
 
checksum table t1, t2, t3, t4, t5, t6, t7;
942
 
Table   Checksum
943
 
test.t1 2948697075
944
 
test.t2 2948697075
945
 
test.t3 2948697075
946
 
test.t4 2948697075
 
901
test.t3 3505595080
 
902
test.t4 3505595080
 
903
test.t5 2948697075
 
904
test.t6 2948697075
 
905
test.t7 NULL
 
906
Warnings:
 
907
Error   1146    Table 'test.t7' doesn't exist
 
908
checksum table t1, t2, t3, t4, t5, t6, t7;
 
909
Table   Checksum
 
910
test.t1 2948697075
 
911
test.t2 2948697075
 
912
test.t3 3505595080
 
913
test.t4 3505595080
 
914
test.t5 2948697075
 
915
test.t6 2948697075
 
916
test.t7 NULL
 
917
Warnings:
 
918
Error   1146    Table 'test.t7' doesn't exist
 
919
checksum table t1, t2, t3, t4, t5, t6, t7;
 
920
Table   Checksum
 
921
test.t1 2948697075
 
922
test.t2 2948697075
 
923
test.t3 3505595080
 
924
test.t4 3505595080
947
925
test.t5 2948697075
948
926
test.t6 2948697075
949
927
test.t7 NULL