• Alexander Barkov's avatar
    MDEV-10030 sql_yacc.yy: Split table_expression and remove PROCEDURE from... · c0a59b46
    Alexander Barkov authored
    MDEV-10030 sql_yacc.yy: Split table_expression and remove PROCEDURE from create_select, select_paren_derived, select_derived2, query_specification
    
    This change refactors the "table_expression" rule in sql_yacc.yy.
    
    Queries with subselects and derived tables, as well as "CREATE TABLE ... SELECT"
    now return syntax error instead of "Incorrect usage of PROCEDURE and ...".
    c0a59b46
subselect.test 197 KB