• unknown's avatar
    Fix bug #10624 Views with multiple UNION and UNION ALL produce incorrect · 3e084658
    unknown authored
    results.
    
    st_select_lex_unit::print() was losing UNION ALL if in statement were present
    UNION DISTINCT.
    
    
    mysql-test/r/view.result:
      Test case for bug #10624  Views with multiple UNION and UNION ALL produce incorrect results.
    mysql-test/t/view.test:
      Test case for bug #10624  Views with multiple UNION and UNION ALL produce incorrect results.
    sql/sql_lex.cc:
      Fix bug #10624 Views with multiple UNION and UNION ALL produce incorrect results.
    3e084658
view.test 51.7 KB