• Oleksandr Byelkin's avatar
    MDEV-14164: Unknown column error when adding aggregate to function in oracle... · c2c93fc6
    Oleksandr Byelkin authored
    MDEV-14164: Unknown column error when adding aggregate to function in oracle style procedure FOR loop
    
    Make differentiation between pullout for merge and pulout of outer field during exists2in transformation.
    In last case the field was outer and so we can safely start from name resolution context of the SELECT where it was pulled.
    Old behavior lead to inconsistence between list of tables and outer name resolution context (which skips one SELECT for merge purposes) which creates problem vor name resolution.
    c2c93fc6
item_cmpfunc.h 66.2 KB