~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/information_schema.result

  • Committer: Brian Aker
  • Date: 2008-07-20 09:02:20 UTC
  • Revision ID: brian@tangent.org-20080720090220-bhrg1wemfnzutbgi
Convert default engine to Innodb

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
t4
36
36
select * from information_schema.STATISTICS where TABLE_SCHEMA = "mysqltest";
37
37
TABLE_CATALOG   TABLE_SCHEMA    TABLE_NAME      NON_UNIQUE      INDEX_SCHEMA    INDEX_NAME      SEQ_IN_INDEX    COLUMN_NAME     COLLATION       CARDINALITY     SUB_PART        PACKED  NULLABLE        INDEX_TYPE      COMMENT INDEX_COMMENT
38
 
NULL    mysqltest       t1      1       mysqltest       string_data     1       b       A       NULL    NULL    NULL    YES     BTREE           
 
38
NULL    mysqltest       t1      1       mysqltest       string_data     1       b       A       0       NULL    NULL    YES     BTREE           
39
39
show keys from t3 where Key_name = "a_data";
40
40
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
41
 
t3      1       a_data  1       a       A       NULL    NULL    NULL    YES     BTREE           
 
41
t3      1       a_data  1       a       A       0       NULL    NULL    YES     BTREE           
42
42
show tables like 't%';
43
43
Tables_in_test (t%)
44
44
t2
46
46
t5
47
47
show table status;
48
48
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment
49
 
t2      MyISAM  10      Fixed   0       0       0       #       1024    0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
50
 
t3      MyISAM  10      Fixed   0       0       0       #       1024    0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
51
 
t5      MyISAM  10      Fixed   1       7       7       #       2048    0       11      #       #       NULL    latin1_swedish_ci       NULL            
 
49
t2      InnoDB  10      Compact 0       0       16384   #       0       0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
 
50
t3      InnoDB  10      Compact 0       0       16384   #       16384   0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
 
51
t5      InnoDB  10      Compact 1       16384   16384   #       0       0       11      #       #       NULL    latin1_swedish_ci       NULL            
52
52
show full columns from t3 like "a%";
53
53
Field   Type    Collation       Null    Key     Default Extra   Privileges      Comment
54
54
a       int(11) NULL    YES     MUL     NULL                    
239
239
WHERE name IN ( SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES
240
240
WHERE TABLE_SCHEMA='test' AND TABLE_TYPE='BASE TABLE');
241
241
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment
242
 
t1      MyISAM  10      Fixed   0       0       0       #       1024    0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
243
 
t2      MyISAM  10      Fixed   0       0       0       #       1024    0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
 
242
t1      InnoDB  10      Compact 0       0       16384   #       0       0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
 
243
t2      InnoDB  10      Compact 0       0       16384   #       0       0       NULL    #       #       NULL    latin1_swedish_ci       NULL            
244
244
DROP TABLE t1,t2;
245
245
alter database information_schema;
246
246
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
274
274
f1      int(11) YES     MUL     NULL    
275
275
show indexes from t1;
276
276
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
277
 
t1      1       f1      1       f1      A       NULL    NULL    NULL    YES     BTREE           
 
277
t1      1       f1      1       f1      A       0       NULL    NULL    YES     BTREE           
278
278
drop table t1;
279
279
create table t1(f1 binary(32), f2 varbinary(64));
280
280
select character_maximum_length, character_octet_length