mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Patch possible portability problem: a few places had // style comments,
which is not ANSI C, even though some compilers will take it...
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user