projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f57197
)
some changes according to coding guidelines
author
pengbo
<pengbo@sraoss.co.jp>
Tue, 6 Sep 2016 06:19:43 +0000
(15:19 +0900)
committer
Tatsuo Ishii
<ishii@postgresql.org>
Wed, 7 Sep 2016 03:56:04 +0000
(12:56 +0900)
src/context/pool_query_context.c
patch
|
blob
|
blame
|
history
diff --git
a/src/context/pool_query_context.c
b/src/context/pool_query_context.c
index 8a41a9c613204531afa255eeb0731231f3b4ad71..754cbd31c18a09465879028db1c569f2d19cf763 100644
(file)
--- a/
src/context/pool_query_context.c
+++ b/
src/context/pool_query_context.c
@@
-1159,7
+1159,9
@@
static POOL_DEST send_to_where(Node *node, char *query)
if (((CopyStmt *)node)->is_from)
{
return POOL_PRIMARY;
- } else {
+ }
+ else
+ {
return (IsA(((CopyStmt *)node)->query, SelectStmt))?POOL_EITHER:POOL_PRIMARY;
}