Skip to content

Commit

Permalink
Remove the event summaries update as we havn't killed that trigger yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed May 12, 2024
1 parent 402393f commit 03e3d22
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/zm_event.cpp
Expand Up @@ -212,17 +212,6 @@ Event::~Event() {
id);
zmDbDoUpdate(sql);
} // end if no changed rows due to Name change during recording

sql = stringtf("UPDATE Event_Summaries SET "
"HourEventDiskSpace = COALESCE(HourEventDiskSpace,0)+%" PRIu64 ","
"DayEventDiskSpace = COALESCE(DayEventDiskSpace,0)+%" PRIu64 ","
"WeekEventDiskSpace = COALESCE(WeekEventDiskSpace,0)+%" PRIu64 ","
"MonthEventDiskSpace = COALESCE(MonthEventDiskSpace,0)+%" PRIu64 ","
"TotalEventDiskSpace = COALESCE(TotalEventDiskSpace,0)+%" PRIu64
" WHERE MonitorId=%d",
video_size, video_size, video_size, video_size, video_size,
monitor->Id());
zmDbDoUpdate(sql);
} // Event::~Event()

void Event::createNotes(std::string &notes) {
Expand Down

0 comments on commit 03e3d22

Please sign in to comment.