mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 17:25:31 +02:00
Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into whirlpool.hristov.com:/work/mysql-5.1-runtime sql/events.cc: Auto merged
This commit is contained in:
commit
0dedada2ff
2 changed files with 42 additions and 3 deletions
|
|
@ -1185,7 +1185,12 @@ Events::load_events_from_db(THD *thd)
|
|||
{
|
||||
/*
|
||||
If not created, a stale event - drop if immediately if
|
||||
ON COMPLETION NOT PRESERVE
|
||||
ON COMPLETION NOT PRESERVE.
|
||||
XXX: This won't be replicated, thus the drop won't appear in
|
||||
in the slave. When the slave is restarted it will drop events.
|
||||
However, as the slave will be "out of sync", it might happen that
|
||||
an event created on the master, after master restart, won't be
|
||||
replicated to the slave correctly, as the create will fail there.
|
||||
*/
|
||||
int rc= table->file->ha_delete_row(table->record[0]);
|
||||
if (rc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue