Comment 1 for bug 655186

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

XtraDB already has the following code.

        if (flag & HA_STATUS_TIME) {
- if (innobase_stats_on_metadata) {
+ if (innobase_stats_on_metadata
+ || thd_sql_command(user_thd) == SQLCOM_ANALYZE
+ ) {
                        /* In sql_show we call with this flag: update
                        then statistics so that they are up-to-date */

Why was the bug confirmed??