Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5(EOL)
-
None
-
None
Description
Truncate table does not call delete_statistics_for_table(), which means that after truncation all table statistics will be wrong.
Fix:
Call delete_statistics_for_table() before calling ha_truncate() in Sql_cmd_truncate_table::handler_truncate().
We have to decide if this is a bug (in which case we should fix this in 10.4/10.5) or a feature, in which case we should fix this in 11.4.