pgpool2.git / summary / log / commit / refs

commit    d88063b7c2b2580268e2583464c97f4e8aff2bea
Author:   Tatsuo Ishii <ishii at sraoss.co.jp>
Date:     Tue Jul 20 08:03:28 2010 +0000

    Fix where_to_send so that DEALLOCATE ALL case works properly.


pool_query_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool_query_context.c b/pool_query_context.c index 094f80057..dc75be4d7 100644 --- a/pool_query_context.c +++ b/pool_query_context.c @@ -382,7 +382,7 @@ void pool_where_to_send(POOL_QUERY_CONTEXT *query_context, char *query, Node *no /* DELLOCATE ALL? */ if (d->name == NULL) { - return POOL_BOTH; + pool_setall_node_to_be_sent(query_context); } wts = pool_get_prep_where(d->name); [parent: 9832bb38dbad]