• unknown's avatar
    small post-merge fixes for bug#16406 · 89f598ee
    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
    89f598ee
events.test 13.1 KB