• Dmitry Shulga's avatar
    MDEV-5816: Stored programs: validation of stored program statements · 88a6a07c
    Dmitry Shulga authored
    This patch is the second part of implementation for cursor's statement
    re-parsing. The patch does the following changes:
      - on re-parsing a failed SP instruction that does need to get access
        to LEX a new lex is instantiated for every SP instruction except
        cursor relating SP instructions.
      - items created on re-parsing a cursor relating statement are moved
        to the free_list of sp_lex_cursor.
    88a6a07c
sql_lex.h 168 KB