Tatsuo, I'm attaching a single patch with both of the changes I sent previously. It was made against the V2_2_STABLE branch (not HEAD), because it depends on the patch from Sep 23 11:39:10.
Thanks for all your patience. Cheers On Fri, 2009-09-25 at 21:23 +0900, Tatsuo Ishii wrote: > > Hi Tatsuo, > > > > filtered logs are attached. > > Thanks. > > > Can you validate the patches applied? > > The patches look good. I'm going to apply. > -- > Tatsuo Ishii > SRA OSS, Inc. Japan
Index: pool_process_query.c =================================================================== RCS file: /cvsroot/pgpool/pgpool-II/pool_process_query.c,v retrieving revision 1.141.2.20 diff -u -r1.141.2.20 pool_process_query.c --- pool_process_query.c 23 Sep 2009 11:39:10 -0000 1.141.2.20 +++ pool_process_query.c 25 Sep 2009 19:48:39 -0000 @@ -2178,6 +2178,7 @@ reset_prepared_list(&prepared_list); return -1; } + del_prepared_list(&prepared_list, prepared_list.portal_list[0]); return 1; } @@ -2618,6 +2619,12 @@ return POOL_END; } len = ntohl(len) - 4; + + if (kind != 'N' && kind != 'E' && kind != 'C') + { + pool_error("do_command: error, kind is not N, E or C"); + return POOL_END; + } string = pool_read2(backend, len); if (string == NULL) {
_______________________________________________ Pgpool-general mailing list Pgpool-general@pgfoundry.org http://pgfoundry.org/mailman/listinfo/pgpool-general