• unknown's avatar
    fix for bug #17619 Scheduler race conditions · 6b6a9b76
    unknown authored
    - Scheduler is either initialized at server start or never.
      Starting & stopping is now suspending & resuming.
    - The scheduler has clear OO interface
    - Now all calls to the scheduler are synchronous
    - GLOBAL event_scheduler uses thd::sys_var_tmp (see set_var.cc)
    - External API is encapsulated into class Events
    - Includes fixes for all comments of Kostja's review of 19.05.2005
    
    Starting to merge into 5.1-release (5.1.10) and push
    
    
    BitKeeper/etc/ignore:
      Added libmysqld/event_scheduler.cc to the ignore list
    libmysqld/Makefile.am:
      executor -> scheduler
    mysql-test/r/events.result:
      update result
    mysql-test/r/events_bugs.result:
      update result
    mysql-test/r/events_logs_tests.result:
      update result
    mysql-test/r/events_microsec.result:
      update result
    mysql-test/r/events_scheduling.result:
      update result
    mysql-test/r/events_stress.result:
      update result
    mysql-test/t/disabled.def:
      enable these tests
    mysql-test/t/events.test:
      optimize the test a bit for spee...
    6b6a9b76
repl_failsafe.cc 26.9 KB