Somehow my version compiled but the change didn't make it to CVS.

This commit is contained in:
Michael Meskes 2006-08-23 13:57:27 +00:00
parent 184523bc81
commit a6558b068d

View File

@ -1,6 +1,6 @@
/* dynamic SQL support routines /* dynamic SQL support routines
* *
* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/descriptor.c,v 1.18 2006/08/04 08:52:17 meskes Exp $ * $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/descriptor.c,v 1.19 2006/08/23 13:57:27 meskes Exp $
*/ */
#define POSTGRES_ECPG_INTERNAL #define POSTGRES_ECPG_INTERNAL
@ -520,7 +520,7 @@ ECPGset_desc(int lineno, const char *desc_name, int index,...)
{ {
case ECPGd_data: case ECPGd_data:
{ {
if (!ECPGstore_input(lineno, true, var, &tobeinserted, &malloced)) if (!ECPGstore_input(lineno, true, var, &tobeinserted, &malloced, false))
{ {
ECPGfree(var); ECPGfree(var);
return false; return false;