• unknown's avatar
    Fixed bug #27848. · 3f6073ae
    unknown authored
    In a union without braces, the order by at the end is applied to the 
    overall union. It therefore should not interfere with the individual
    select parts of the union.
    
    Fixed by changing our parser rules appropriately.
    
    
    mysql-test/r/union.result:
      Added a test case for bug #27848.
    mysql-test/t/union.test:
      Added a test case for bug #27848.
    3f6073ae
union.test 32.5 KB