• gkodinov/kgeorge@magare.gmz's avatar
    Bug #31156: mysqld: item_sum.cc:918: virtual bool · 67302b12
    gkodinov/kgeorge@magare.gmz authored
      Item_sum_distinct::setup(THD*): Assertion
    
    There was an assertion to detect a bug in ROLLUP
    implementation. However the assertion is not true
    when used in a subquery context with non-cacheable
    statements.
    Fixed by turning the assertion to accepted case
    (just like it's done for the other aggregate functions). 
    67302b12
item_sum.cc 84.4 KB