• evgen@moonbone.local's avatar
    Bug#29729: Wrong conversion error led to an empty result set. · e717f9d2
    evgen@moonbone.local authored
    The Field_newdate::store when storing a DATETIME value was returning the
    'value was cut' error even if the thd->count_cuted_fields flag is set to
    CHECK_FIELD_IGNORE. This made range optimizr think that there is no
    appropriate data in the table and thus to return an empty set.
    
    Now the Field_newdate::store function returns conversion error only if the
    thd->count_cuted_fields flag isn't set to CHECK_FIELD_IGNORE.
    e717f9d2
field.cc 249 KB