~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/innodb.test

  • Committer: Brian Aker
  • Date: 2009-07-12 00:49:18 UTC
  • mfrom: (1063.9.51 brian-tmp-fix)
  • Revision ID: brian@gaz-20090712004918-chprmyj387ex6l8a
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
#
315
315
 
316
316
create table t1 (a int not null , b int, primary key (a)) engine = innodb;
317
 
create table t2 (a int not null , b int, primary key (a)) engine = myisam;
 
317
create TEMPORARY table t2 (a int not null , b int, primary key (a)) engine = myisam;
318
318
insert into t1 VALUES (1,3) , (2,3), (3,3);
319
319
select * from t1;
320
320
insert into t2 select * from t1;
531
531
create database mysqltest;
532
532
create table mysqltest.t1 (a int not null) engine= innodb;
533
533
insert into mysqltest.t1 values(1);
534
 
create table mysqltest.t2 (a int not null) engine= myisam;
 
534
create TEMPORARY table mysqltest.t2 (a int not null) engine= myisam;
535
535
insert into mysqltest.t2 values(1);
536
536
create table mysqltest.t3 (a int not null) engine= heap;
537
537
insert into mysqltest.t3 values(1);
709
709
# Test of read_through not existing const_table
710
710
#
711
711
 
712
 
create table t1 (a varchar(10) not null) engine=myisam;
 
712
create TEMPORARY table t1 (a varchar(10) not null) engine=myisam;
713
713
create table t2 (b varchar(10) not null unique) engine=innodb;
714
714
select t1.a from t1,t2 where t1.a=t2.b;
715
715
drop table t1,t2;
813
813
select * from t2;
814
814
 
815
815
drop table t1,t2;
816
 
CREATE TABLE t2 (   NEXT_T         BIGINT NOT NULL PRIMARY KEY) ENGINE=MyISAM;
 
816
CREATE TEMPORARY TABLE t2 (   NEXT_T         BIGINT NOT NULL PRIMARY KEY) ENGINE=MyISAM;
817
817
CREATE TABLE t1 (  B_ID           INTEGER NOT NULL PRIMARY KEY) ENGINE=InnoDB;
818
818
SET AUTOCOMMIT=0;
819
819
INSERT INTO t1 ( B_ID ) VALUES ( 1 );
990
990
ON (t2.id = lbl.id_object) INNER JOIN t1 ON (t2.id = t1.id_object);
991
991
drop table t1,t2;
992
992
 
993
 
create table t1 (a int, b varchar(200), c text not null) checksum=1 engine=myisam;
 
993
create TEMPORARY table t1 (a int, b varchar(200), c text not null) checksum=1 engine=myisam;
994
994
create table t2 (a int, b varchar(200), c text not null) checksum=0 engine=innodb;
995
995
create table t3 (a int, b varchar(200), c text not null) checksum=1 engine=innodb;
996
996
insert t1 values (1, "aaa", "bbb"), (NULL, "", "ccccc"), (0, NULL, "");