summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes2019-03-15 21:35:24 +0000
committerMichael Meskes2019-03-16 03:01:06 +0000
commitc21d6033f77353623f8642c5541e0d002d986f59 (patch)
tree5507e76efeafa5898c2d2a3af56b4ef231755a3f
parent06c8a5090ed9ec188557a86d4de11384f5128ec0 (diff)
Use correct connection name variable in ecpglib.
Fixed-by: Kuroda-san <[email protected]>
-rw-r--r--src/interfaces/ecpg/ecpglib/prepare.c2
1 files changed, 1 insertions, 1 deletions
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);