diff options
author | unknown <andrey@lmy004.> | 2006-02-28 14:43:49 +0100 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-02-28 14:43:49 +0100 |
commit | b934539d77c1e76d6653a1d03ceaf7c97c9172c0 (patch) | |
tree | 22793abc9db537bef65db7747ef066225a3846c2 /mysql-test/r/events.result | |
parent | f6f5292145d44294bec7f42a78cc8be41b1f33df (diff) | |
download | mariadb-git-b934539d77c1e76d6653a1d03ceaf7c97c9172c0.tar.gz |
fix for bug#16537
(post-review pre-push changes)
coding style (mostly trailing spaces removed)
mysql-test/r/events.result:
fix result file
sql/event.cc:
- remove trailing spaces
- add a missing initializer (gcc warning)
- C++ to C comments
sql/event_executor.cc:
- fix coding style (C++ to C comments, remove trailing spaces)
- fix wrong indexing buggie not found till now (queue indexing is 0 based,
not 1 based)
sql/event_timed.cc:
- fix coding style
Diffstat (limited to 'mysql-test/r/events.result')
-rw-r--r-- | mysql-test/r/events.result | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/r/events.result b/mysql-test/r/events.result index cba1685ef32..598454573cf 100644 --- a/mysql-test/r/events.result +++ b/mysql-test/r/events.result @@ -40,7 +40,7 @@ drop event event2; CREATE EVENT event_starts_test ON SCHEDULE EVERY 10 SECOND COMMENT "" DO SELECT 1; SHOW EVENTS; Db Name Definer Type Execute at Interval value Interval field Starts Ends Status -events_test event_starts_test root@localhost RECURRING NULL 10 INTERVAL_SECOND # # ENABLED +events_test event_starts_test root@localhost RECURRING NULL 10 SECOND # # ENABLED SELECT starts IS NULL, ends IS NULL, comment FROM mysql.event WHERE db='events_test' AND name='event_starts_test'; starts IS NULL ends IS NULL comment 0 1 @@ -69,21 +69,21 @@ DROP EVENT event_starts_test; CREATE EVENT event_starts_test ON SCHEDULE EVERY 20 SECOND STARTS '2020-02-02 20:00:02' ENDS '2022-02-02 20:00:02' DO SELECT 2; SHOW EVENTS; Db Name Definer Type Execute at Interval value Interval field Starts Ends Status -events_test event_starts_test root@localhost RECURRING NULL 20 INTERVAL_SECOND # # ENABLED +events_test event_starts_test root@localhost RECURRING NULL 20 SECOND # # ENABLED SELECT starts IS NULL, ends IS NULL, comment FROM mysql.event WHERE db='events_test' AND name='event_starts_test'; starts IS NULL ends IS NULL comment 0 0 ALTER EVENT event_starts_test COMMENT "non-empty comment"; SHOW EVENTS; Db Name Definer Type Execute at Interval value Interval field Starts Ends Status -events_test event_starts_test root@localhost RECURRING NULL 20 INTERVAL_SECOND # # ENABLED +events_test event_starts_test root@localhost RECURRING NULL 20 SECOND # # ENABLED SELECT starts IS NULL, ends IS NULL, comment FROM mysql.event WHERE db='events_test' AND name='event_starts_test'; starts IS NULL ends IS NULL comment 0 0 non-empty comment ALTER EVENT event_starts_test COMMENT ""; SHOW EVENTS; Db Name Definer Type Execute at Interval value Interval field Starts Ends Status -events_test event_starts_test root@localhost RECURRING NULL 20 INTERVAL_SECOND # # ENABLED +events_test event_starts_test root@localhost RECURRING NULL 20 SECOND # # ENABLED DROP EVENT event_starts_test; create event e_43 on schedule every 1 second do set @a = 5; set global event_scheduler = 1; |