Use correct connection name variable in ecpglib.

Fixed-by: Kuroda-san <kuroda.hayato@jp.fujitsu.com>
This commit is contained in:
Michael Meskes 2019-03-15 22:35:24 +01:00
parent 06c8a5090e
commit c21d6033f7
1 changed files with 1 additions and 1 deletions

View File

@ -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);