OSDN Git Service

Make argument const char * as per Takahiro Itagaki's suggestion.
authorMichael Meskes <meskes@postgresql.org>
Fri, 22 Jan 2010 14:19:27 +0000 (14:19 +0000)
committerMichael Meskes <meskes@postgresql.org>
Fri, 22 Jan 2010 14:19:27 +0000 (14:19 +0000)
src/interfaces/ecpg/ecpglib/prepare.c

index a9eef75..621da1a 100644 (file)
@@ -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                                        */