diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 23:26:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 23:26:36 +0000 |
commit | 3faa9bab07ab781aa71ea1a3819a30a184e5bdab (patch) | |
tree | 1ec505707c66e73387f7a4b46ae2ce2d1165bd14 /src/interfaces/ecpg/lib | |
parent | 64ef5c82de288c05191551c8d3ee2fe2f404ab5c (diff) |
Patch possible portability problem: a few places had // style comments,
which is not ANSI C, even though some compilers will take it...
Diffstat (limited to 'src/interfaces/ecpg/lib')
-rw-r--r-- | src/interfaces/ecpg/lib/data.c | 2 | ||||
-rw-r--r-- | src/interfaces/ecpg/lib/execute.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/lib/data.c b/src/interfaces/ecpg/lib/data.c index e9b01c385e9..b7398caf6d7 100644 --- a/src/interfaces/ecpg/lib/data.c +++ b/src/interfaces/ecpg/lib/data.c @@ -185,7 +185,7 @@ get_data(PGresult *results, int act_tuple, int act_field, int lineno, } else if (pval[0] == '\0' && PQgetisnull(results, act_tuple, act_field)) { - // NULL is valid + /* NULL is valid */ break; } } diff --git a/src/interfaces/ecpg/lib/execute.c b/src/interfaces/ecpg/lib/execute.c index adc1351e4e7..aca7fce9934 100644 --- a/src/interfaces/ecpg/lib/execute.c +++ b/src/interfaces/ecpg/lib/execute.c @@ -814,7 +814,7 @@ ECPGdo(int lineno, const char *connection_name, char *query, ...) * * Copyright (c) 2000, Christof Petig <christof.petig@wtal.de> * - * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.1 2000/03/07 15:10:56 meskes Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.2 2000/03/17 23:26:31 tgl Exp $ */ PGconn *ECPG_internal_get_connection(char *name); @@ -826,7 +826,7 @@ extern struct descriptor struct descriptor *next; } *all_descriptors; -// like ECPGexecute +/* like ECPGexecute */ static bool execute_descriptor(int lineno,const char *query ,struct connection *con,PGresult **resultptr) { |