• Marc Alff's avatar
    Bug#9801 Views: imperfect error message · 587a696a
    Marc Alff authored
    Backport for 5.5
    
    The root cause of this bug is that the grammar for GROUP BY clauses,
    when using WITH CUBE or WITH ROLLUP, cause conflicts with the grammar
    for VIEW, when using WITH CHECK OPTION.
    
    The solution is to implement two token look ahead when parsing a WITH token,
    to disambiguate the non standard WITH CUBE and WITH ROLLUP syntaxes.
    
    Patch based on code from Marc Alff and Antony Curtis
    587a696a
fulltext.result 21.9 KB