test.t1 analyze note The storage engine for the table doesn't support analyze
38
34
analyze table t1;
39
35
Table Op Msg_type Msg_text
40
test.t1 analyze status Table is already up to date
36
test.t1 analyze note The storage engine for the table doesn't support analyze
41
37
drop table t1;
42
38
create temporary table t1(a int, index(a));
43
39
insert into t1 values('1'),('2'),('3'),('4'),('5');
49
45
t1 1 a 1 a A 5 NULL NULL YES BTREE
50
46
drop table t1;
51
47
End of 4.1 tests
52
create table t1(a int);
53
analyze table t1 extended;
54
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'extended' at line 1
55
optimize table t1 extended;
56
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'extended' at line 1