projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff52513
)
Fix backend_application_name not being set while reloading config file.
author
Tatsuo Ishii
<ishii@sraoss.co.jp>
Wed, 22 May 2019 14:01:48 +0000
(23:01 +0900)
committer
Tatsuo Ishii
<ishii@sraoss.co.jp>
Wed, 22 May 2019 14:01:48 +0000
(23:01 +0900)
src/config/pool_config_variables.c
patch
|
blob
|
blame
|
history
diff --git
a/src/config/pool_config_variables.c
b/src/config/pool_config_variables.c
index cbf426d1782964016545cf4cfada4626c923ed99..a77a72e86bba8b625a8156fa86a5078736618881 100644
(file)
--- a/
src/config/pool_config_variables.c
+++ b/
src/config/pool_config_variables.c
@@
-3830,7
+3830,7
@@
BackendAppNameAssignFunc(ConfigContext context, char *newval, int index, int ele
{
BACKEND_STATUS backend_status = g_pool_config.backend_desc->backend_info[index].backend_status;
- if (context <= CFGCXT_INIT || backend_status == CON_UNUSED)
+ if (context <= CFGCXT_INIT || backend_status == CON_UNUSED
|| backend_status == CON_DOWN
)
{
if (newval == NULL || strlen(newval) == 0)
g_pool_config.backend_desc->backend_info[index].backend_application_name[0] = '\0';