pgpool2.git / summary / log / commit / refs

commit    9cfe673ffad2d4984d9f24f31c2fdf3cf75be4dd
Author:   Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date:     Wed Nov 21 09:37:39 2007 +0000

    Fix segmentation fault when UPDATE or DELETE is executed.
    The bug is critical so we must release 2.0.1 as soon as possible.


pool_process_query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pool_process_query.c b/pool_process_query.c index f02a5066b..b67e73fb4 100644 --- a/pool_process_query.c +++ b/pool_process_query.c @@ -926,7 +926,8 @@ static POOL_STATUS SimpleQuery(POOL_CONNECTION *frontend, { node = (Node *) lfirst(list_head(parse_tree_list)); - is_parallel_table = is_partition_table(backend,node); + if (PARALLEL_MODE) + is_parallel_table = is_partition_table(backend,node); if (pool_config->enable_query_cache && SYSDB_STATUS == CON_UP && [parent: d38602560dab]