• Georgi Kodinov's avatar
    Bug #55615 and bug #55564 · 4bf81165
    Georgi Kodinov authored
    An user assignment variable expression that's 
    evaluated in a logical expression context 
    (Item::val_bool()) can be pre-calculated in a 
    temporary table for GROUP BY.
    However when the expression value is used after the
    temp table creation it was re-evaluated instead of
    being read from the temp table due to a missing 
    val_bool_result() method.
    Fixed by implementing the method.
    4bf81165
user_var.test 9.97 KB