[Pgpool-committers] pgpool - pgpool-II: Fix bug with the handling of empty query.

User Kitagawa kitagawa at pgfoundry.org
Wed Jul 27 03:58:18 UTC 2011


Log Message:
-----------
Fix bug with the handling of empty query.

JBoss sends empty queries for checking connections. We decided to replace
the empty query with dummy SELECT command not to affect load balance. 
Empty query has been replaced with dummy DELETE command till now.
Note: The dummy command is not sent to backends.
See the following thread for more details:
[Pgpool-general] Confused about JDBC and load balancing

Tags:
----
V3_0_STABLE

Modified Files:
--------------
    pgpool-II:
        pool_process_query.c (r1.249.2.10 -> r1.249.2.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.249.2.10&r2=1.249.2.11)
        pool_proto_modules.c (r1.89.2.10 -> r1.89.2.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.89.2.10&r2=1.89.2.11)
        pool_proto_modules.h (r1.24.2.2 -> r1.24.2.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.24.2.2&r2=1.24.2.3)


More information about the Pgpool-committers mailing list