• unknown's avatar
    small post-merge fixes for bug#16406 · 4b25e65d
    unknown authored
    (pre-push)
    
    
    mysql-test/r/events.result:
      update result
    mysql-test/t/events.test:
      few more tests
    sql/event.cc:
      fix compilation failure after big merge
    sql/event.h:
      initialize s_ctx to be the context to be used.
      don't use sphead->m_security_ctx but we will copy 
      the initted ctx to there
    sql/event_timed.cc:
      -initialize s_ctx to be the context to be used.
      don't use sphead->m_security_ctx but we will copy 
      the initted ctx to there
      
      - first init the context
      - then compile the event
      - and then copy the context
      - don't use mysql_change_db() for now change_security_context() gets the
        right context info
    4b25e65d
event.h 7.88 KB