~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blitzdb/tests/t/blitzdb-index.test

  • Committer: lbieber
  • Date: 2010-10-02 19:48:35 UTC
  • mfrom: (1730.6.19 drizzle-make-lcov)
  • Revision ID: lbieber@orisndriz08-20101002194835-q5zd9qc4lvx1xnfo
Merge Hartmut - clean up lex, now require flex to build, also "make lcov" improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
476
476
select count(*) from t1;
477
477
drop table t1;
478
478
 
479
 
# +-----------------+
480
 
# | INDEX: VARTEXT1 |
481
 
# +-----------------+
482
 
create table t1 (a varchar(32), index(a)) engine = blitzdb;
483
 
insert into t1 values ('ccc'), ('bbb'), ('aaa');
484
 
insert into t1 values ('eee'), ('ddd'), ('fff');
485
 
--sorted_result
486
 
select * from t1;
487
 
select * from t1 where a = 'aaa';
488
 
select * from t1 where a = 'bbb';
489
 
select * from t1 where a = 'ccc';
490
 
select * from t1 where a = 'ddd';
491
 
select * from t1 where a = 'eee';
492
 
delete from t1 where a = 'ddd';
493
 
delete from t1 where a = 'eee';
494
 
select * from t1;
495
 
select count(*) from t1;
496
 
drop table t1;
497
 
 
498
479
# +------------------------------+
499
480
# | UNIQUE INDEX: DUPLICATE NULL |
500
481
# +------------------------------+