• Georgi Kodinov's avatar
    Bug #12408412: GROUP_CONCAT + ORDER BY + INPUT/OUTPUT SAME · bc7d8dc6
    Georgi Kodinov authored
    USER VARIABLE = CRASH
    
    Moved the preparation of the variables that receive the output from 
    SELECT INTO from execution time (JOIN:execute) to compile time 
    (JOIN::prepare). This ensures that if the same variable is used in the
    SELECT part of SELECT INTO it will be properly marked as non-const
    for this query.
    Test case added.
    Used proper fast iterator.
    bc7d8dc6
user_var.test 11.3 KB