diff --git a/sql/field.cc b/sql/field.cc index 99cda09f2bb..1e1de972e86 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -1767,7 +1767,6 @@ Field::Field(uchar *ptr_arg,uint32 length_arg,uchar *null_ptr_arg, comment.str= (char*) ""; comment.length=0; field_index= 0; - is_stat_field= FALSE; cond_selectivity= 1.0; next_equal_field= NULL; } diff --git a/sql/field.h b/sql/field.h index 35f531ac4ab..187ad7674d6 100644 --- a/sql/field.h +++ b/sql/field.h @@ -729,9 +729,6 @@ public: */ bool is_created_from_null_item; - /* TRUE in Field objects created for column min/max values */ - bool is_stat_field; - /* Selectivity of the range condition over this field. When calculating this selectivity a range predicate