~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/analyze.test

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#
15
15
 
16
16
create table t1 (a bigint);
 
17
lock tables t1 write;
17
18
insert into t1 values(0);
18
19
analyze table t1;
 
20
unlock tables;
19
21
check table t1;
20
22
 
21
23
drop table t1;
22
24
 
23
25
create table t1 (a bigint);
24
26
insert into t1 values(0);
 
27
lock tables t1 write;
25
28
delete from t1;
26
29
analyze table t1;
 
30
unlock tables;
27
31
check table t1;
28
32
 
29
33
drop table t1;
41
45
# contains stopwords only. The first execution of analyze table should
42
46
# mark index statistics as up to date so that next execution of this
43
47
# statement will end up with Table is up to date status.
44
 
create TEMPORARY table t1 (a varchar(10), key key1(a)) collate utf8_general_ci engine myisam;
 
48
create table t1 (a varchar(10), key key1(a)) collate utf8_general_ci engine myisam;
45
49
insert into t1 values ('hello');
46
50
 
47
51
analyze table t1;