• unknown's avatar
    Fix bug #10624 Views with multiple UNION and UNION ALL produce incorrect · def42df9
    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.
    def42df9
view.test 51.7 KB