• dlenev@mysql.com's avatar
    Enable support of access to tables from triggers. Thus fix bug #8406 "Triggers · 923fe817
    dlenev@mysql.com authored
    crash if referencing a table" and several other related bugs.
    Fix for bug #11834 "Re-execution of prepared statement with dropped function
    crashes server." which was spotted during work on previous bugs.
    
    Also couple of nice cleanups:
    - Replaced two separate hashes for stored routines used by statement with one.
    - Now instead of doing one pass through all routines used in statement for
      caching them and then doing another pass for adding their tables to table
      list, we do only one pass during which do both things.
    923fe817
sql_lex.h 30.3 KB