mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
b429d73d62
- 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
13 lines
810 B
Text
13 lines
810 B
Text
create database if not exists events_test;
|
|
use events_test;
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 MICROSECOND DO SELECT 1;
|
|
ERROR 42000: This version of MySQL doesn't yet support 'MICROSECOND'
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 DAY_MICROSECOND DO SELECT 1;
|
|
ERROR 42000: This version of MySQL doesn't yet support 'MICROSECOND'
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 HOUR_MICROSECOND DO SELECT 1;
|
|
ERROR 42000: This version of MySQL doesn't yet support 'MICROSECOND'
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 MINUTE_MICROSECOND DO SELECT 1;
|
|
ERROR 42000: This version of MySQL doesn't yet support 'MICROSECOND'
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 SECOND_MICROSECOND DO SELECT 1;
|
|
ERROR 42000: This version of MySQL doesn't yet support 'MICROSECOND'
|
|
drop database events_test;
|