WL#11459: Deprecate the syntax for GROUP BY ASC and DESC in 5.7

Affects: Server-8.0   —   Status: Complete   —   Priority: Medium

This WL should force deprecation warnings on GROUP BY ... ASC|DESC syntax.


The parser should output a warning while facing the GROUP BY <expr> { ASC | DESC
} syntax:

  Warning        1287    'GROUP BY with ASC/DESC' is deprecated and will be
removed in a future release. Please use GROUP BY ... ORDER BY ... ASC/DESC instead