de0521e608
- added REDIS option, pmacct daemons can now connect to a Redis cache - fix SQLDOC pkg-plist substitute - fixed SQL headers/libs detection PR: 243455 Submitted by: Juraj Lutter <juraj@lutter.sk> Relnotes: https://github.com/pmacct/pmacct/releases/tag/v1.7.5
12 lines
532 B
C
12 lines
532 B
C
--- src/pgsql_plugin.c.orig 2019-12-07 17:48:46 UTC
|
|
+++ src/pgsql_plugin.c
|
|
@@ -611,7 +611,7 @@ void PG_cache_purge(struct db_cache *queue[], int inde
|
|
if (pqq_ptr) goto start;
|
|
|
|
idata->elap_time = time(NULL)-start;
|
|
- Log(LOG_INFO, "INFO ( %s/%s ): *** Purging cache - END (PID: %u, QN: %u/%u, ET: %lu) ***\n",
|
|
+ Log(LOG_INFO, "INFO ( %s/%s ): *** Purging cache - END (PID: %u, QN: %u/%u, ET: %zu) ***\n",
|
|
config.name, config.type, writer_pid, idata->qn, saved_index, idata->elap_time);
|
|
|
|
if (config.sql_trigger_exec) {
|