diff options
author | unknown <andrey@example.com> | 2006-12-07 13:57:39 +0100 |
---|---|---|
committer | unknown <andrey@example.com> | 2006-12-07 13:57:39 +0100 |
commit | 0a22a1b915519a02c0c3264d585cbb53c5569207 (patch) | |
tree | 2e1bb320b790ae94b1d0dfa730f9afc265414c4c /mysql-test/t/events_bugs.test | |
parent | 1963159f70ccbb250fa6aa705111ec33a5cb20fd (diff) | |
download | mariadb-git-0a22a1b915519a02c0c3264d585cbb53c5569207.tar.gz |
Additional fix for bug#22369
mysql-test/t/events_bugs.test:
let events_bugs not fail because of timing
sql/sql_table.cc:
if the db or name has been changed ALTER_RENAME,
then fix table_list
Solution by having the second table added in the parser to the
list of used tables, won't work because checking of rights of merge
tables goes over table_list->next_local and checks the rights, so
we will fail there.
sql/sql_yacc.yy:
fix name - prevents ddd from correct working
Diffstat (limited to 'mysql-test/t/events_bugs.test')
-rw-r--r-- | mysql-test/t/events_bugs.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/events_bugs.test b/mysql-test/t/events_bugs.test index 605eaa431d0..e9751608a46 100644 --- a/mysql-test/t/events_bugs.test +++ b/mysql-test/t/events_bugs.test @@ -280,7 +280,7 @@ create event e22830_3 on schedule every 1 hour do alter event e22830_3 on schedu create event e22830_4 on schedule every 1 hour do alter event e22830_4 on schedule every (select f22830() from dual) hour; select event_name, event_definition, interval_value, interval_field from information_schema.events order by event_name; set global event_scheduler=on; ---sleep 2.4 +--sleep 4 set global event_scheduler=off; select event_name, event_definition, interval_value, interval_field from information_schema.events order by event_name; drop function f22830; |