• unknown's avatar
    fix for bug#16410 (Events: CREATE EVENT is legal in a CREATE TRIGGER statement) · f674e341
    unknown authored
    WL#1034 (Internal CRON)
    (post-post-review updates)
    
    
    
    mysql-test/r/events.result:
      update results file
    mysql-test/t/events.test:
      add test for Bug #16410  Events: CREATE EVENT is legal in a CREATE TRIGGER statement
    sql/sp_head.cc:
      CREATE/ALTER/DROP event mean explicit commit, so they are not allowed in
      a FUNCTION/TRIGGER. Fixes bug#16410
    sql/sql_parse.cc:
      - end active transaction for CREATE/ALTER/DROP EVENT because
        they are DDL statements.
    f674e341
events.test 12 KB