~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-09-11 16:33:45 UTC
  • mfrom: (1757.1.2 build)
  • Revision ID: lbieber@orisndriz03-20100911163345-na1t8m18at9thsjl
Merge Vijay - added utf 8 tamil test case suite and test case for creating a database in tamil
Merge Brian - Small set of refactoring (includes one case of memset on a table object).

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
# +------------------------------+