• Mattias Jonsson's avatar
    Bug#46923: select count(*) from partitioned table fails with · 8a2ca22a
    Mattias Jonsson authored
    ONLY_FULL_GROUP_BY
    
    Problem was that during checking and preparation of the
    partitioining function as a side effect in fix_fields
    the full_group_by_flag was changed.
    
    Solution was to set it back to its original value after
    calling fix_fields.
    
    Updated patch, to also exclude allow_sum_func from being
    affected of fix_fields, as requested by reviewer.
    8a2ca22a
sql_partition.cc 240 KB