Add check if parse tree exists in handle_query_context().
handle_query_context() did not check whether the parse tree existed in
session_context->query_context. Although, if it does not, there's
something wrong goes on.
Per Coverity.
Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.3
Branch
------
V4_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=044e261d7cd59cc16f5e5bd6c7c6f6c19e9fd85b
Modified Files
--------------
src/protocol/CommandComplete.c | 5 +++++
1 file changed, 5 insertions(+)