• unknown's avatar
    Fixed bug #26209. · ac8e0293
    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.
    ac8e0293
view.test 77.5 KB