From: Michael Meskes Date: Fri, 22 Jan 2010 14:19:27 +0000 (+0000) Subject: Make argument const char * as per Takahiro Itagaki's suggestion. X-Git-Tag: REL9_0_ALPHA4~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=306a4287c3503bdd3c3e490d80508e00e1708c02;p=postgresql Make argument const char * as per Takahiro Itagaki's suggestion. --- diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index a9eef75460..621da1a9cf 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.35 2010/01/22 14:13:03 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.36 2010/01/22 14:19:27 meskes Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -414,7 +414,7 @@ ecpg_freeStmtCacheEntry(int lineno, int compat, int entNo) /* entry # to free * */ static int AddStmtToCache(int lineno, /* line # of statement */ - char *stmtID, /* statement ID */ + const char *stmtID, /* statement ID */ const char *connection, /* connection */ int compat, /* compatibility level */ const char *ecpgQuery) /* query */