diff options
author | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-11-21 11:11:22 +0400 |
---|---|---|
committer | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-11-21 11:11:22 +0400 |
commit | 380289484f5a7b2660412cf234ad9f45f6d16d1c (patch) | |
tree | feb7a77f624de6cb6d1064c296c8db925dfbc6f7 /sql | |
parent | 88e9003f59679a193af508dc3a937a28d5730a80 (diff) | |
download | mariadb-git-380289484f5a7b2660412cf234ad9f45f6d16d1c.tar.gz |
Fix for bug #30495: optimize table t1,t2,t3 extended errors
Problem: we have CHECK TABLE options allowed (by accident?) for
ANALYZE/OPTIMIZE TABLE.
Fix: disable them.
Note: it might require additional fixes in 5.1/6.0
mysql-test/r/analyze.result:
Fix for bug #30495: optimize table t1,t2,t3 extended errors
- test result.
mysql-test/t/analyze.test:
Fix for bug #30495: optimize table t1,t2,t3 extended errors
- test case.
sql/sql_yacc.yy:
Fix for bug #30495: optimize table t1,t2,t3 extended errors
- opt_mi_check_type (CHECK TABLE options) removed from analyze: and optimize:
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_yacc.yy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 3401bf739b3..92b8b96378f 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -3921,7 +3921,7 @@ analyze: lex->no_write_to_binlog= $2; lex->check_opt.init(); } - table_list opt_mi_check_type + table_list {} ; @@ -3966,7 +3966,7 @@ optimize: lex->no_write_to_binlog= $2; lex->check_opt.init(); } - table_list opt_mi_check_type + table_list {} ; |