1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

- Only use typedefs inside their scope.

- Variables that are out of scope, were not removed all the time.
- Make a varchar NULL set everything to 0 when not using indicators.
- Synced parser.
This commit is contained in:
Michael Meskes
2004-06-27 12:28:42 +00:00
parent 4eb5f0a8e2
commit 03ad5da8f8
10 changed files with 116 additions and 34 deletions

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.33 2004/05/05 15:03:04 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.34 2004/06/27 12:28:40 meskes Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@ -532,7 +532,7 @@ ECPGstore_input(const struct statement * stmt, const struct variable * var,
case ECPGt_NO_INDICATOR:
if (stmt->force_indicator == false)
{
if (ECPGis_informix_null(var->type, var->value))
if (ECPGis_noind_null(var->type, var->value))
*tobeinserted_p = "null";
}
break;