• unknown's avatar
    Fixed bug #26209. · 3ec35ab0
    unknown authored
    The function make_unireg_sortorder ignored the fact that any
    view field is represented by a 'ref' object.
    This could lead to wrong results for the queries containing
    both GROUP BY and ORDER BY clauses.
    
    
    mysql-test/r/view.result:
      Added a test case for bug #26209.
    mysql-test/t/view.test:
      Added a test case for bug #26209.
    3ec35ab0
view.result 91.7 KB