~linuxjedi/drizzle/elliott-bug-654568

« back to all changes in this revision

Viewing changes to plugin/blitzdb/tests/r/blitzdb-range.result

  • Committer: lbieber
  • Date: 2010-09-22 22:06:36 UTC
  • mfrom: (1786.1.3 build)
  • Revision ID: lbieber@orisndriz08-20100922220636-agrmqaqv2u7ln6ff
Merge Shrews - Add transaction log bulk tests
Merge Brian - Remove 3 byte indexes
Merge Stewart - Move string functions into plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
390
390
insert into t1 values ('2004-08-13'), ('2004-08-14'), ('2004-08-15');
391
391
explain select * from t1 where a < '2002-01-01';
392
392
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
393
 
1       SIMPLE  t1      range   a       a       4       NULL    4       Using where; Using index
 
393
1       SIMPLE  t1      range   a       a       5       NULL    4       Using where; Using index
394
394
select * from t1 where a < '2002-01-01';
395
395
a
396
396
2000-07-10
407
407
2001-08-15
408
408
explain select * from t1 where a between '2002-01-01' and '2002-12-31';
409
409
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
410
 
1       SIMPLE  t1      range   a       a       4       NULL    4       Using where; Using index
 
410
1       SIMPLE  t1      range   a       a       5       NULL    4       Using where; Using index
411
411
select * from t1 where a between '2002-01-01' and '2002-12-31';
412
412
a
413
413
2002-07-10
418
418
2002-08-15
419
419
explain select * from t1 where a > '2000-01-01' and a < '2004-12-31';
420
420
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
421
 
1       SIMPLE  t1      range   a       a       4       NULL    4       Using where; Using index
 
421
1       SIMPLE  t1      range   a       a       5       NULL    4       Using where; Using index
422
422
select * from t1 where a > '2000-01-01' and a < '2004-12-31';
423
423
a
424
424
2000-07-10
456
456
30
457
457
explain select * from t1 where a < '2002-07-10' order by a;
458
458
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
459
 
1       SIMPLE  t1      range   a       a       4       NULL    4       Using where; Using index
 
459
1       SIMPLE  t1      range   a       a       5       NULL    4       Using where; Using index
460
460
select * from t1 where a < '2002-07-10' order by a;
461
461
a
462
462
2000-07-10
473
473
2001-08-15
474
474
explain select * from t1 where a < '2002-07-10' order by a desc;
475
475
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
476
 
1       SIMPLE  t1      range   a       a       4       NULL    4       Using where; Using index
 
476
1       SIMPLE  t1      range   a       a       5       NULL    4       Using where; Using index
477
477
select * from t1 where a < '2002-07-10' order by a desc;
478
478
a
479
479
2001-08-15