~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/myisam.test

Phase 1 - temporal changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
697
697
 
698
698
create table t1(
699
699
  cip INT NOT NULL,
700
 
  time TIME NOT NULL,
701
700
  score INT NOT NULL DEFAULT 0,
702
701
  bob TINYBLOB
703
702
);
704
703
 
705
 
insert into t1 (cip, time) VALUES (1, '00:01'), (2, '00:02'), (3,'00:03');
706
 
insert into t1 (cip, bob, time) VALUES (4, 'a', '00:04'), (5, 'b', '00:05'), 
707
 
                                       (6, 'c', '00:06');
 
704
insert into t1 (cip) VALUES (1), (2), (3);
 
705
insert into t1 (cip, bob) VALUES (4, 'a' ), (5, 'b'), 
 
706
                                       (6, 'c');
708
707
select * from t1 where bob is null and cip=1;
709
 
create index bug on t1 (bob(22), cip, time);
 
708
create index bug on t1 (bob(22), cip);
710
709
select * from t1 where bob is null and cip=1;
711
710
drop table t1;
712
711