~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/analyze.test

  • Committer: Brian Aker
  • Date: 2009-01-06 23:40:50 UTC
  • mfrom: (642.1.69 drizzle-clean-code)
  • Revision ID: brian@tangent.org-20090106234050-w01lo5f4r3q62nik
Finished merge for Lee

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
# contains stopwords only. The first execution of analyze table should
46
46
# mark index statistics as up to date so that next execution of this
47
47
# 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;
 
48
create table t1 (a varchar(10), key key1(a)) collate utf8_general_ci engine myisam;
49
49
insert into t1 values ('hello');
50
50
 
51
51
analyze table t1;
67
67
#
68
68
# Bug #30495: optimize table t1,t2,t3 extended errors
69
69
#
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;
 
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;
76
76
 
77
77
--echo End of 5.0 tests