• anozdrin@mysql.com's avatar
    Fix for the following bugs: · 378147a2
    anozdrin@mysql.com authored
      - BUG#15166: Wrong update permissions required to execute triggers
      - BUG#15196: Wrong select permission required to execute triggers
    
    The idea of the fix is to check necessary privileges
    in Item_trigger_field::fix_fields(), instead of having "special variables"
    technique. To achieve this, we should pass to an Item_trigger_field instance
    a flag, which will indicate the usage/access type of this trigger variable.
    378147a2
sql_trigger.h 4.31 KB