~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/innodb.test

  • Committer: Brian Aker
  • Date: 2010-01-15 01:41:40 UTC
  • mfrom: (1259.8.3 i_s_work)
  • Revision ID: brian@gaz-20100115014140-0n6kh7fqhp1abqs4
Merge Joe Daly

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
explain select level,id,parent_id from t1 where level=1;
68
68
select level,id from t1 where level=1;
69
69
select level,id,parent_id from t1 where level=1;
70
 
optimize table t1;
 
70
alter table t1 ENGINE=innodb;
71
71
--replace_column 7 #
72
72
show keys from t1;
73
73
drop table t1;
94
94
 
95
95
create table t1 (a int) engine=innodb;
96
96
insert into t1 values (1), (2);
97
 
optimize table t1;
 
97
alter table t1 engine=innodb;
98
98
delete from t1 where a = 1;
99
99
select * from t1;
100
100
check table t1;
430
430
create table t1 (a varchar(100) not null, primary key(a), b int not null) engine=innodb;
431
431
insert into t1 values("hello",1),("world",2);
432
432
select * from t1 order by b desc;
433
 
optimize table t1;
 
433
alter table t1 engine=innodb;
434
434
--replace_column 7 #
435
435
show keys from t1;
436
436
drop table t1;
533
533
insert into mysqltest.t1 values(1);
534
534
create TEMPORARY table mysqltest.t2 (a int not null) engine= myisam;
535
535
insert into mysqltest.t2 values(1);
536
 
create temporary table mysqltest.t3 (a int not null) engine= heap;
 
536
create temporary table mysqltest.t3 (a int not null) engine= MEMORY;
537
537
insert into mysqltest.t3 values(1);
538
538
commit;
539
539
drop database mysqltest;
835
835
insert t1 values (1, "aaa", "bbb"), (NULL, "", "ccccc"), (0, NULL, "");
836
836
insert t2 select * from t1;
837
837
insert t3 select * from t1;
838
 
checksum table t1, t2, t3, t4 quick;
839
 
checksum table t1, t2, t3, t4;
840
 
checksum table t1, t2, t3, t4 extended;
 
838
checksum table t1, t2, t3, t4;
 
839
checksum table t1, t2, t3, t4;
 
840
checksum table t1, t2, t3, t4;
841
841
#show table status;
842
842
drop table t1,t2,t3;
843
843
 
1857
1857
CREATE TABLE t1 ( a int ) ENGINE=innodb;
1858
1858
BEGIN;
1859
1859
INSERT INTO t1 VALUES (1);
1860
 
OPTIMIZE TABLE t1;
 
1860
ALTER TABLE t1 ENGINE=innodb;
1861
1861
DROP TABLE t1;
1862
1862
 
1863
1863
#