~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/analyze.test

pandora-build v0.71. Added check for avahi.

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;
18
17
insert into t1 values(0);
19
18
analyze table t1;
20
 
unlock tables;
21
19
check table t1;
22
20
 
23
21
drop table t1;
24
22
 
25
23
create table t1 (a bigint);
26
24
insert into t1 values(0);
27
 
lock tables t1 write;
28
25
delete from t1;
29
26
analyze table t1;
30
 
unlock tables;
31
27
check table t1;
32
28
 
33
29
drop table t1;
45
41
# contains stopwords only. The first execution of analyze table should
46
42
# mark index statistics as up to date so that next execution of this
47
43
# statement will end up with Table is up to date status.
48
 
create table t1 (a mediumtext, fulltext key key1(a)) charset utf8 collate utf8_general_ci engine myisam;
 
44
create TEMPORARY table t1 (a varchar(10), key key1(a)) collate utf8_general_ci engine myisam;
49
45
insert into t1 values ('hello');
50
46
 
51
47
analyze table t1;
67
63
#
68
64
# Bug #30495: optimize table t1,t2,t3 extended errors
69
65
#
70
 
create table t1(a int);
71
 
--error 1064
72
 
analyze table t1 extended;
73
 
--error 1064
74
 
optimize table t1 extended;
75
 
drop table t1;
 
66
#create table t1(a int);
 
67
#--error 1064
 
68
#analyze table t1 extended;
 
69
#--error 1064
 
70
#optimize table t1 extended;
 
71
#drop table t1;
76
72
 
77
73
--echo End of 5.0 tests