summaryrefslogtreecommitdiff
path: root/lib/output
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output')
-rw-r--r--lib/output/pq/updateDatabase.cpp2
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);
}
}
}