~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/innodb.result

  • Committer: Brian Aker
  • Date: 2009-11-13 00:56:59 UTC
  • Revision ID: brian@gir.local-20091113005659-c8e29r7wt6x4irqw
Removed bits of charset support from the parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2367
2367
key (a,b,c,d,e)) engine=innodb;
2368
2368
ERROR 42000: Specified key was too long; max key length is 3500 bytes
2369
2369
create table t1 (s1 varbinary(2),primary key (s1)) engine=innodb;
2370
 
create table t3 (s1 varchar(2) binary,primary key (s1)) engine=innodb;
2371
 
create table t4 (s1 char(2) binary,primary key (s1)) engine=innodb;
 
2370
create table t3 (s1 varchar(2) ,primary key (s1)) engine=innodb;
 
2371
create table t4 (s1 char(2) ,primary key (s1)) engine=innodb;
2372
2372
insert into t1 values (0x41),(0x4120),(0x4100);
2373
2373
insert into t3 values (0x41),(0x4120),(0x4100);
2374
2374
ERROR 23000: Duplicate entry 'A ' for key 'PRIMARY'
2437
2437
4120
2438
2438
4120
2439
2439
drop table t2,t1;
2440
 
create table t1 (a int primary key,s1 varchar(2) binary not null unique) engine=innodb;
2441
 
create table t2 (s1 char(2) binary not null, constraint c foreign key(s1) references t1(s1) on update cascade) engine=innodb;
 
2440
create table t1 (a int primary key,s1 varchar(2) not null unique) engine=innodb;
 
2441
create table t2 (s1 char(2) not null, constraint c foreign key(s1) references t1(s1) on update cascade) engine=innodb;
2442
2442
insert into t1 values(1,0x4100),(2,0x41);
2443
2443
insert into t2 values(0x41);
2444
2444
select hex(s1) from t2;