]> granicus.if.org Git - postgresql/commitdiff
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 a9eef754604f3bb1c3d291821976a0341f34ed69..621da1a9cfc7ee3220a4ee72384e4625930d0b7b 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                                        */