• unknown's avatar
    fix for bug #16411 Events: Microsecond intervals are allowed · a2b5573d
    unknown authored
    WL#1034
    
    
    mysql-test/r/events.result:
      output fix
    sql/event.cc:
      - handle also INTERVAL_MICROSECOND, was missing.
      - use renamed ER_ code which is generic
    sql/event.h:
      add new error code
    sql/event_executor.cc:
      - use new ER_ code name
      - handle EVEX_MICROSECOND_UNSUP error code
    sql/event_timed.cc:
      forbid MICROSECOND intervals for events
    sql/share/errmsg.txt:
      rename error code, it's generic
    sql/sql_show.cc:
      use new error code name
    sql/sql_yacc.yy:
      bail out if any MICROSECOND interval is specified
    a2b5573d
event_timed.cc 38.8 KB