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??
XtraDB already has the following code.
if (flag & HA_STATUS_TIME) { stats_on_ metadata) { stats_on_ metadata command( user_thd) == SQLCOM_ANALYZE
/* In sql_show we call with this flag: update
then statistics so that they are up-to-date */
- if (innobase_
+ if (innobase_
+ || thd_sql_
+ ) {
Why was the bug confirmed??