~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/analyze.test

  • Committer: Brian Aker
  • Date: 2009-02-10 00:14:40 UTC
  • Revision ID: brian@tangent.org-20090210001440-qjg8eofh3h93064b
Adding Multi-threaded Scheduler into the system.

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;
64
68
# Bug #30495: optimize table t1,t2,t3 extended errors
65
69
#
66
70
#create table t1(a int);
67
 
#--error ER_PARSE_ERROR
 
71
#--error 1064
68
72
#analyze table t1 extended;
69
 
#--error ER_PARSE_ERROR
 
73
#--error 1064
70
74
#optimize table t1 extended;
71
75
#drop table t1;
72
76