Details
-
Task
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
Description
5.5→10.1→10.2→10.3 (serg)
10.3→10.4
re-enable e6bdf77e4be48750c4808a09af197ed91fd69a61 assertion
5.5→10.1→10.2→10.3 (serg)
10.3→10.4
re-enable e6bdf77e4be48750c4808a09af197ed91fd69a61 assertion
The assert
diff --cc sql/sql_statistics.cc
index 944fa5dc176,c751b079147..e4cc00f45ba
--- a/sql/sql_statistics.cc
+++ b/sql/sql_statistics.cc
@@@ -4148,6 -4084,7 +4151,9 @@@ bool is_eits_usable(Field *field
partition list of a table. We assume the selecticivity for
such columns would be handled during partition pruning.
*/
++#if 0 /* Work around MDEV-19334 */
+ DBUG_ASSERT(field->table->stats_is_read);
++#endif
Column_statistics* col_stats= field->read_stats;
return col_stats && !col_stats->no_stat_values_provided() && //(1)
field->type() != MYSQL_TYPE_GEOMETRY && //(2)