diff options
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/prepare.c')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/prepare.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index b6e79c6bbb6..cd57c41914f 100644 --- a/src/interfaces/ecpg/ecpglib/prepare.c +++ b/src/interfaces/ecpg/ecpglib/prepare.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.13 2004/10/05 10:48:37 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.14 2005/10/15 02:49:47 momjian Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -46,9 +46,9 @@ replace_variables(char *text) if (!string && *ptr == ':') { - if (ptr[1]==':') - ptr+=2; /* skip '::' */ - else + if (ptr[1] == ':') + ptr += 2; /* skip '::' */ + else { *ptr = '?'; for (++ptr; *ptr && isvarchar(*ptr); ptr++) @@ -120,8 +120,8 @@ ECPGdeallocate(int lineno, int c, char *name) if (INFORMIX_MODE(compat)) { /* - * Just ignore all errors since we do not know the list of cursors - * we are allowed to free. We have to trust the software. + * Just ignore all errors since we do not know the list of cursors we + * are allowed to free. We have to trust the software. */ return true; } |