some changes according to coding guidelines
authorpengbo <pengbo@sraoss.co.jp>
Tue, 6 Sep 2016 06:19:43 +0000 (15:19 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Wed, 7 Sep 2016 03:56:04 +0000 (12:56 +0900)
src/context/pool_query_context.c

index 8a41a9c613204531afa255eeb0731231f3b4ad71..754cbd31c18a09465879028db1c569f2d19cf763 100644 (file)
@@ -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;
                        }