~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/myisam.result

  • Committer: Jay Pipes
  • Date: 2009-08-19 21:45:49 UTC
  • mfrom: (1118 staging)
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: jpipes@serialcoder-20090819214549-707ixisg44uwhu5r
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
494
494
c1
495
495
a
496
496
drop table t1;
497
 
create table t1 (a int, b varchar(200), c text not null) checksum=1;
498
 
create table t2 (a int, b varchar(200), c text not null) checksum=0;
 
497
create table t1 (a int, b varchar(200), c text not null);
 
498
create table t2 (a int, b varchar(200), c text not null);
499
499
insert t1 values (1, "aaa", "bbb"), (NULL, "", "ccccc"), (0, NULL, "");
500
500
insert t2 select * from t1;
501
501
checksum table t1, t2, t3 quick;
663
663
SHOW VARIABLES LIKE 'myisam_repair%';
664
664
Variable_name   Value
665
665
myisam_repair_threads   1
666
 
CREATE TEMPORARY TABLE t1 (c1 TEXT) ENGINE=MyISAM AVG_ROW_LENGTH=70100 MAX_ROWS=4100100100;
 
666
CREATE TEMPORARY TABLE t1 (c1 TEXT) ENGINE=MyISAM;
667
667
SHOW TABLE STATUS LIKE 't1';
668
668
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
669
669
DROP TABLE t1;
1414
1414
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
1415
1415
t1      1       a       1       a       A       8       NULL    NULL    YES     BTREE           
1416
1416
drop table t1;
1417
 
create temporary table t1 (c1 int) engine=myisam pack_keys=0;
1418
 
create temporary table t2 (c1 int) engine=myisam pack_keys=1;
1419
 
create temporary table t3 (c1 int) engine=myisam pack_keys=default;
1420
 
create temporary table t4 (c1 int) engine=myisam pack_keys=2;
1421
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '2' at line 1
1422
 
drop table t1, t2, t3;
1423
1417
CREATE TEMPORARY TABLE t1(a INT, b INT, KEY inx (a), UNIQUE KEY uinx (b)) ENGINE=MyISAM;
1424
1418
INSERT INTO t1(a,b) VALUES (1,1),(2,2),(3,3),(4,4),(5,5);
1425
1419
SELECT a FROM t1 FORCE INDEX (inx) WHERE a=1;