From 41882dfd8bafad46186ec0d0557748961300c342 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Wed, 28 Jun 2017 15:43:19 -0500 Subject: [PATCH] fix: perf_times cleanup (#6908) * fix: perf_times cleanup * Truncate perf_times to save some headaches --- daily.sh | 6 +++--- sql-schema/197.sql | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 sql-schema/197.sql diff --git a/daily.sh b/daily.sh index 6c4298cfbd..1581dfd0f6 100755 --- a/daily.sh +++ b/daily.sh @@ -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" diff --git a/sql-schema/197.sql b/sql-schema/197.sql new file mode 100644 index 0000000000..6708fbd013 --- /dev/null +++ b/sql-schema/197.sql @@ -0,0 +1 @@ +TRUNCATE TABLE `perf_times`;