projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df8d4a
)
fix from -stable: if client has params but server not, re-SET
author
Marko Kreen
<markokr@gmail.com>
Sat, 24 Nov 2007 19:35:22 +0000
(19:35 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Sat, 24 Nov 2007 19:35:22 +0000
(19:35 +0000)
src/varcache.c
patch
|
blob
|
blame
|
history
diff --git
a/src/varcache.c
b/src/varcache.c
index 812043640b8265abe228d6478ef521184afac216..1dde16ce43c0138aec6e6a05f44d17cab78b9076 100644
(file)
--- a/
src/varcache.c
+++ b/
src/varcache.c
@@
-110,13
+110,9
@@
static int apply_var(PktBuf *pkt, const char *key,
if (strcasecmp(cval, sval) == 0)
return 0;
- /* sanity check */
- if (!*cval || !*sval) {
- /* parameters that can change should be always set */
- log_warning("Parameter unset: key='%s' client='%s' server='%s'",
- key, cval, sval);
+ /* if unset, ignore */
+ if (!*cval)
return 0;
- }
/* the string may have been taken from startup pkt */
if (!quote_literal(qbuf, sizeof(qbuf), cval, std_quote))