mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Applied patch by Peter Harris to free auto_mem struct in ECPGconnect.
This commit is contained in:
parent
b3234f2912
commit
a2281c8e6f
@ -1,4 +1,4 @@
|
|||||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.26.2.4 2006/06/21 11:38:26 meskes Exp $ */
|
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.26.2.5 2006/11/08 10:48:27 meskes Exp $ */
|
||||||
|
|
||||||
#define POSTGRES_ECPG_INTERNAL
|
#define POSTGRES_ECPG_INTERNAL
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
@ -277,6 +277,8 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p
|
|||||||
|
|
||||||
ECPGinit_sqlca(sqlca);
|
ECPGinit_sqlca(sqlca);
|
||||||
|
|
||||||
|
ECPGclear_auto_mem();
|
||||||
|
|
||||||
if (INFORMIX_MODE(compat))
|
if (INFORMIX_MODE(compat))
|
||||||
{
|
{
|
||||||
char *envname;
|
char *envname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user