• gkodinov/kgeorge@magare.gmz's avatar
    Bug #32400: Complex SELECT query returns correct result · 846cbf3c
    gkodinov/kgeorge@magare.gmz authored
     only on some occasions
    
    Referencing an element from the SELECT list in a WHERE 
    clause is not permitted. The namespace of the WHERE
    clause is the table columns only. This was not enforced
    correctly when resolving outer references in sub-queries.
    
    Fixed by not allowing references to aliases in a 
    sub-query in WHERE.
    846cbf3c
ps_3innodb.result 103 KB