• Dmitry Shulga's avatar
    MDEV-28220: Assert failure in sp_head::~sp_head on parsing a syntax incorrect... · 8c169f5e
    Dmitry Shulga authored
    MDEV-28220: Assert failure in sp_head::~sp_head on parsing a syntax incorrect statement CREATE SEQUENCE ... RESTART inside CREATE PROCEDURE/CREATE FUNCTION
    
    This bug report is about the same issue as MDEV-28129 and MDEV-21173.
    The issue is that the macros YYABORT is called instead of MYSQL_YYABORT
    on parse error. In result the method LEX::cleanup_lex_after_parse_error
    is not called to clean up data structures created on parsing of
    the statement.
    8c169f5e
sql_yacc.yy 559 KB