~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/analyze.test

  • Committer: Brian Aker
  • Date: 2009-10-15 00:22:33 UTC
  • mto: (1183.1.11 merge)
  • mto: This revision was merged to the branch mainline in revision 1198.
  • Revision ID: brian@gaz-20091015002233-fa4ao2mbc67wls91
First pass of information engine. OMG, ponies... is it so much easier to
deal with creating and engine.

The list table iterator though... its ass, needs to go. We should also
abstract out share. Very few engines need a custom one. Just say'in

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
# contains stopwords only. The first execution of analyze table should
42
42
# mark index statistics as up to date so that next execution of this
43
43
# 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;
 
44
create TEMPORARY table t1 (a varchar(10), key key1(a)) collate utf8_general_ci engine myisam;
45
45
insert into t1 values ('hello');
46
46
 
47
47
analyze table t1;
64
64
# Bug #30495: optimize table t1,t2,t3 extended errors
65
65
#
66
66
#create table t1(a int);
67
 
#--error ER_PARSE_ERROR
 
67
#--error 1064
68
68
#analyze table t1 extended;
69
 
#--error ER_PARSE_ERROR
 
69
#--error 1064
70
70
#optimize table t1 extended;
71
71
#drop table t1;
72
72