diff options
-rw-r--r-- | lib/output/pq/updateDatabase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/output/pq/updateDatabase.cpp b/lib/output/pq/updateDatabase.cpp index 59c5013..e5cd8d8 100644 --- a/lib/output/pq/updateDatabase.cpp +++ b/lib/output/pq/updateDatabase.cpp @@ -402,8 +402,10 @@ namespace MyGrate::Output::Pq { UpdateDatabase::rotate(MariaDB_Event_Ptr e) { if ((e->flags & LOG_EVENT_ARTIFICIAL_F) == 0) { + beforeEvent(e); output::pq::sql::updateSourceRotate::execute( this, *e->event.rotate.filename, e->event.rotate.position, source); + afterEvent(e); } } } |