From a02d0bcbf78eb600effffbb1df7628a8a9b51af0 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 6 Sep 2007 19:53:10 +0000 Subject: [PATCH] rename disable_varcache to track_parameters --- src/bouncer.h | 2 +- src/main.c | 4 ++-- src/objects.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bouncer.h b/src/bouncer.h index 0ed9160..15207b5 100644 --- a/src/bouncer.h +++ b/src/bouncer.h @@ -304,7 +304,7 @@ extern int cf_log_connections; extern int cf_log_disconnections; extern int cf_log_pooler_errors; -extern int cf_disable_varcache; +extern int cf_track_parameters; extern ConfElem bouncer_params[]; diff --git a/src/main.c b/src/main.c index 9371b04..3816e3b 100644 --- a/src/main.c +++ b/src/main.c @@ -102,7 +102,7 @@ int cf_log_connections = 1; int cf_log_disconnections = 1; int cf_log_pooler_errors = 1; -int cf_disable_varcache = 0; +int cf_track_parameters = 1; /* * config file description @@ -146,7 +146,7 @@ ConfElem bouncer_params[] = { {"log_connections", true, CF_INT, &cf_log_connections}, {"log_disconnections", true, CF_INT, &cf_log_disconnections}, {"log_pooler_errors", true, CF_INT, &cf_log_pooler_errors}, -{"disable_varcache", true, CF_INT, &cf_disable_varcache}, +{"track_parameters", true, CF_INT, &cf_track_parameters}, {NULL}, }; diff --git a/src/objects.c b/src/objects.c index 0a775bb..c9331b9 100644 --- a/src/objects.c +++ b/src/objects.c @@ -537,7 +537,7 @@ bool find_server(PgSocket *client) Assert(!server || server->state == SV_IDLE); /* send var changes */ - if (server && !cf_disable_varcache) { + if (server && cf_track_parameters) { res = varcache_apply(server, client, &varchange); if (!res) { disconnect_server(server, true, "var change failed"); -- 2.40.0