• Sergei Petrunia's avatar
    MDEV-26801: Valgrind/MSAN errors in Column_statistics_collected::finish ... · 27539cd2
    Sergei Petrunia authored
    The problem was introduced in fix for MDEV-26724. That patch has made it
    possible for histogram collection to fail. In particular, it fails for
    non-assigned characters.
    
    When histogram construction fails, we also abort the computation of
    COUNT(DISTINCT). When we try to use the value, we get valgrind failures.
    
    Switched the code to abort the statistics collection in this case.
    27539cd2
statistics_json.result 227 KB