1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-10 19:44:09 +03:00
Files
mariadb/sql
Dmitry Shulga 8bb8385f02 Fixed bug#12546938 (formerly known as 61005) - CREATE IF NOT EXIST EVENT
will create multiple running events.

A CREATE IF NOT EXIST on an event that existed and was enabled caused
multiple instances of the event to run. Disabling the event didn't  help.
If the event was  dropped, the event stopped running, but when created
again, multiple instances of the event were still running. The only way
to get out of this situation was  to restart the server.

The problem was that Event_db_repository::create_event() didn't return
enough information to discriminate between situation when event didn't
exist and was created and when event did exist and was not created
(but a warning was emitted). As result in the latter case event
was added to in-memory queue of events second time. And this led to
unwarranted multiple executions of the same event.

The solution is to add out-parameter to Event_db_repository::create_event()
method which will signal that event was not created because it already
exists and so it should not be added to the in-memory queue.
2011-05-27 16:23:08 +07:00
..
2010-12-29 00:47:05 +01:00
2010-12-29 00:47:05 +01:00
2011-05-06 00:46:53 +01:00
2010-12-29 00:47:05 +01:00
2010-12-14 12:33:03 +03:00
2010-12-29 00:47:05 +01:00
2010-12-14 12:33:03 +03:00
2010-11-09 12:45:13 -02:00
2010-12-28 19:57:23 +01:00
2011-05-21 10:43:54 +02:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-06-01 16:00:38 +04:00
2010-07-23 18:15:56 +07:00
2010-03-17 19:15:41 +01:00
2010-12-29 00:47:05 +01:00
2011-05-06 00:46:53 +01:00
2008-07-03 23:41:22 +04:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2010-06-11 16:52:06 +04:00
2011-05-21 10:43:54 +02:00
2010-12-14 12:33:03 +03:00
2011-01-26 15:30:06 +08:00
2011-01-26 15:30:06 +08:00
2011-05-21 10:43:54 +02:00
2010-01-24 15:03:23 +08:00
2009-01-14 18:50:51 +04:00
2010-12-29 00:47:05 +01:00
2009-11-03 20:45:52 +03:00
2010-12-29 00:47:05 +01:00
2009-06-17 16:56:44 +02:00