projects
/
pgpool1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0271f14
)
Add an error message.
author
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Tue, 22 May 2007 06:27:13 +0000
(06:27 +0000)
committer
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Tue, 22 May 2007 06:27:13 +0000
(06:27 +0000)
pool_process_query.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_process_query.c
b/pool_process_query.c
index fec05fbc1d0bf8c77d8028c9e019ba9642910050..80000ef4ecc23994a6c7c738744a06fde78f25c2 100644
(file)
--- a/
pool_process_query.c
+++ b/
pool_process_query.c
@@
-2739,7
+2739,10
@@
POOL_STATUS SimpleForwardToBackend(char kind, POOL_CONNECTION *frontend, POOL_CO
if (len == 0)
return POOL_CONTINUE;
else if (len < 0)
+ {
+ pool_error("SimpleFowardToBackend: invalid message length");
return POOL_END;
+ }
p = pool_read2(frontend, len);
if (p == NULL)