• andrey@lmy004.'s avatar
    fix for bug#16394 "Events: Crash if schedule contains SELECT" · 4d22fd1a
    andrey@lmy004. authored
    Parsing of CREATE/ALTER EVENT statement was crashing because of early
    initialization done during parsing, instead in the after parsing phase.
    Moreover, we don't want SUBqueries in CREATE/ALTER EVENT therefore we
    disable them, though it is possible to make them work. It can be emulated
    inside SP with a cursor and SP variable (CREATE/ALTER EVENT can still
    accept variables as values).
    4d22fd1a
sql_yacc.yy 284 KB