[MDEV-19478] 10.4.5 merge Created: 2019-05-15  Updated: 2019-05-20  Resolved: 2019-05-20

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: 10.4.5

Type: Task Priority: Blocker
Reporter: Oleksandr Byelkin Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None


 Description   

5.5→10.1→10.2→10.3 (serg)
10.3→10.4
re-enable e6bdf77e4be48750c4808a09af197ed91fd69a61 assertion



 Comments   
Comment by Oleksandr Byelkin [ 2019-05-15 ]

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)

Generated at Thu Feb 08 08:52:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.