~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/myisam.result

Phase 1 - temporal changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
573
573
drop table t1, t2;
574
574
create table t1(
575
575
cip INT NOT NULL,
576
 
time TIME NOT NULL,
577
576
score INT NOT NULL DEFAULT 0,
578
577
bob TINYBLOB
579
578
);
580
 
insert into t1 (cip, time) VALUES (1, '00:01'), (2, '00:02'), (3,'00:03');
581
 
insert into t1 (cip, bob, time) VALUES (4, 'a', '00:04'), (5, 'b', '00:05'), 
582
 
(6, 'c', '00:06');
583
 
select * from t1 where bob is null and cip=1;
584
 
cip     time    score   bob
585
 
1       00:01:00        0       NULL
586
 
create index bug on t1 (bob(22), cip, time);
587
 
select * from t1 where bob is null and cip=1;
588
 
cip     time    score   bob
589
 
1       00:01:00        0       NULL
 
579
insert into t1 (cip) VALUES (1), (2), (3);
 
580
insert into t1 (cip, bob) VALUES (4, 'a' ), (5, 'b'), 
 
581
(6, 'c');
 
582
select * from t1 where bob is null and cip=1;
 
583
cip     score   bob
 
584
1       0       NULL
 
585
create index bug on t1 (bob(22), cip);
 
586
select * from t1 where bob is null and cip=1;
 
587
cip     score   bob
 
588
1       0       NULL
590
589
drop table t1;
591
590
create table t1 (
592
591
id1 int not null auto_increment,