pgpool2.git / summary / log / commit / refs

commit    cdf94b94311fedbc64997e9f2b918a6d4cfaaab9
Author:   Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date:     Thu Jul 26 02:21:44 2007 +0000

    Fix using uninitialized value.


pool_config.l | 1 + 1 file changed, 1 insertion(+) diff --git a/pool_config.l b/pool_config.l index 2149f29d8..3a08772ba 100644 --- a/pool_config.l +++ b/pool_config.l @@ -965,6 +965,7 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context) } pool_debug("pool_config: weight slot number %d weight: %f", slot, v); + status = BACKEND_INFO(slot).backend_status; if (context == INIT_CONFIG || (context == RELOAD_CONFIG && (context == RELOAD_CONFIG && (status == CON_UNUSED || status == CON_DOWN)))) { [parent: 47a286ca929d]