~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/analyze.test

  • Committer: Brian Aker
  • Date: 2008-06-28 01:01:34 UTC
  • Revision ID: brian@tangent.org-20080628010134-n44ixrdgb6yexhkb
Remove my_pthread_getspecific_ptr()

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 mediumtext, fulltext key key1(a)) charset utf8 collate utf8_general_ci engine myisam;
45
49
insert into t1 values ('hello');
46
50
 
47
51
analyze table t1;
63
67
#
64
68
# Bug #30495: optimize table t1,t2,t3 extended errors
65
69
#
66
 
#create table t1(a int);
67
 
#--error ER_PARSE_ERROR
68
 
#analyze table t1 extended;
69
 
#--error ER_PARSE_ERROR
70
 
#optimize table t1 extended;
71
 
#drop table t1;
 
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;
72
76
 
73
77
--echo End of 5.0 tests