From: Michael Meskes Date: Fri, 15 Mar 2019 21:35:24 +0000 (+0100) Subject: Use correct connection name variable in ecpglib. X-Git-Tag: REL_12_BETA1~525 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=c21d6033f77353623f8642c5541e0d002d986f59;p=postgresql.git Use correct connection name variable in ecpglib. Fixed-by: Kuroda-san --- diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index e04312c413e..0ef85c9de18 100644 --- a/src/interfaces/ecpg/ecpglib/prepare.c +++ b/src/interfaces/ecpg/ecpglib/prepare.c @@ -298,7 +298,7 @@ ECPGdeallocate(int lineno, int c, const char *connection_name, const char *name) } con = ecpg_get_connection(real_connection_name); - if (!ecpg_init(con, connection_name, lineno)) + if (!ecpg_init(con, real_connection_name, lineno)) return false; this = ecpg_find_prepared_statement(name, con, &prev);