fix: perf_times cleanup (#6908)

* fix: perf_times cleanup

* Truncate perf_times to save some headaches
This commit is contained in:
Tony Murray
2017-06-28 21:43:19 +01:00
committed by Neil Lathwood
parent d47b58bf6d
commit 41882dfd8b
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ status_run() {
# Arguments:
# args:
# Array of arguments to pass to
# daily.php
# daily.php
# Returns:
# Exit-Code of Command
#######################################
@@ -100,7 +100,7 @@ call_daily_php() {
# Globals:
# LIBRENMS_DIR
# Arguments:
#
#
# Returns:
# Exit-Code of Command
#######################################
@@ -178,7 +178,7 @@ main () {
"syslog"
"eventlog"
"authlog"
"perf_time"
"perf_times"
"callback"
"device_perf"
"purgeusers"
+1
View File
@@ -0,0 +1 @@
TRUNCATE TABLE `perf_times`;