Bug #34179 | Table list for CHECK TABLE & OPTIMIZE TABLE statement must be hard-coded. | ||
---|---|---|---|
Submitted: | 30 Jan 2008 22:00 | Modified: | 31 Jan 2008 9:50 |
Reporter: | Arthur Jammz | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S4 (Feature request) |
Version: | 5.1.22 | OS: | Windows (XP_SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | CHECK TABLE, information_schema, optimize table |
[30 Jan 2008 22:00]
Arthur Jammz
[31 Jan 2008 12:18]
Konstantin Osipov
This can be easily achieved by using Dynamic SQL and a stored procedure. Examples here: http://forge.mysql.com/snippets/view.php?id=13