projects
/
plproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef0db9
)
Clear ->tuning bit on connection close.
author
Marko Kreen
<markokr@gmail.com>
Wed, 17 Dec 2008 21:21:11 +0000
(21:21 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 17 Dec 2008 21:21:11 +0000
(21:21 +0000)
If tuning query fails, the bit can stay set,
thus creating always-failing connection slot.
Report and analyze by Jonah Harris.
src/execute.c
patch
|
blob
|
blame
|
history
diff --git
a/src/execute.c
b/src/execute.c
index 385677ac08fe432ca13855455340671468d72a8e..3e937ff405a6e556c9c3da73fa1f4860ed8290d9 100644
(file)
--- a/
src/execute.c
+++ b/
src/execute.c
@@
-281,6
+281,7
@@
prepare_conn(ProxyFunction *func, ProxyConnection *conn)
PQfinish(conn->db);
conn->db = NULL;
conn->state = C_NONE;
+ conn->tuning = 0;
case C_NONE:
break;
}