From: Date: February 24 2006 2:10pm Subject: bk commit into 5.1 tree (andrey:1.2171) BUG#16411 List-Archive: http://lists.mysql.com/commits/3107 X-Bug: 16411 Message-Id: <20060224131035.9676133B58@andrey.hristov.com> Below is the list of changes that have just been committed into a local 5.1 repository of andrey. When andrey does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2171 06/02/24 14:10:24 andrey@lmy004. +1 -0 add this file to revision control. there was not new line at the end of the file fix for bug#16411 mysql-test/t/events_microsec.test 1.1 06/02/24 14:10:15 andrey@lmy004. +54 -0 mysql-test/t/events_microsec.test 1.0 06/02/24 14:10:15 andrey@lmy004. +0 -0 BitKeeper file /work/mysql-5.1-bug16411/mysql-test/t/events_microsec.test # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: andrey # Host: lmy004. # Root: /work/mysql-5.1-bug16411 --- New file --- +++ mysql-test/t/events_microsec.test 06/02/24 14:10:15 create database if not exists events_test; use events_test; --error 1235 CREATE EVENT micro_test ON SCHEDULE EVERY 100 MICROSECOND DO SELECT 1; --error 1235 CREATE EVENT micro_test ON SCHEDULE EVERY 100 DAY_MICROSECOND DO SELECT 1; --error 1235 CREATE EVENT micro_test ON SCHEDULE EVERY 100 HOUR_MICROSECOND DO SELECT 1; --error 1235 CREATE EVENT micro_test ON SCHEDULE EVERY 100 MINUTE_MICROSECOND DO SELECT 1; --error 1235 CREATE EVENT micro_test ON SCHEDULE EVERY 100 SECOND_MICROSECOND DO SELECT 1; --echo "Now create normal event and change it on SQL level" CREATE EVENT micro_test2 ON SCHEDULE EVERY 1 MONTH DO SELECT 1; UPDATE mysql.event SET interval_field='MICROSECOND' WHERE db=database() AND definer=user() AND name='micro_test2'; --error 1235 SHOW CREATE EVENT micro_test2; SET GLOBAL event_scheduler=0; --sleep 1 --echo "Should not be running:" SHOW VARIABLES like 'event_scheduler'; UPDATE mysql.event SET interval_field='DAY_MICROSECOND' WHERE db=database() AND definer=user() AND name='micro_test2'; --error 1235 SHOW CREATE EVENT micro_test2; SET GLOBAL event_scheduler=0; --sleep 1 --echo "Should not be running:" SHOW VARIABLES like 'event_scheduler'; UPDATE mysql.event SET interval_field='SECOND_MICROSECOND' WHERE db=database() AND definer=user() AND name='micro_test2'; --error 1235 SHOW CREATE EVENT micro_test2; SET GLOBAL event_scheduler=0; --sleep 1 --echo "Should not be running:" SHOW VARIABLES like 'event_scheduler'; UPDATE mysql.event SET interval_field='HOUR_MICROSECOND' WHERE db=database() AND definer=user() AND name='micro_test2'; --error 1235 SHOW CREATE EVENT micro_test2; SET GLOBAL event_scheduler=0; --sleep 1 --echo "Should not be running:" SHOW VARIABLES like 'event_scheduler'; UPDATE mysql.event SET interval_field='MINUTE_MICROSECOND' WHERE db=database() AND definer=user() AND name='micro_test2'; --error 1235 SHOW CREATE EVENT micro_test2; SET GLOBAL event_scheduler=0; --sleep 1 --echo "Should not be running:" SHOW VARIABLES like 'event_scheduler'; DROP EVENT micro_test2; drop database events_test;