[mapserver-commits] r10119 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Apr 25 19:12:27 EDT 2010


Author: sdlime
Date: 2010-04-25 19:12:26 -0400 (Sun, 25 Apr 2010)
New Revision: 10119

Modified:
   trunk/mapserver/mapfile.c
Log:
Function writeJoin() didn't output the TEMPLATE property.

Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c	2010-04-25 15:47:52 UTC (rev 10118)
+++ trunk/mapserver/mapfile.c	2010-04-25 23:12:26 UTC (rev 10119)
@@ -611,16 +611,17 @@
 
 static void writeJoin(joinObj *join, FILE *stream) 
 {
-  writeBlockBegin(stream, "      ", "JOIN");
-  writeString(stream, "        ", "FOOTER", join->footer);
-  writeString(stream, "        ", "FROM", join->from);
-  writeString(stream, "        ", "HEADER", join->header);
-  writeString(stream, "        ", "NAME", join->name);
-  writeString(stream, "        ", "TABLE", join->table);
-  writeString(stream, "        ", "TO", join->to);  
-  writeKeyword(stream, "        ", "CONNECTIONTYPE", MS_DB_XBASE, join->connectiontype, 3, MS_DB_CSV, "CSV", MS_DB_POSTGRES, "POSTRES", MS_DB_MYSQL, "MYSQL");
-  writeKeyword(stream, "        ", "TYPE", MS_JOIN_ONE_TO_ONE, join->type, 1, MS_JOIN_ONE_TO_MANY, "ONE-TO-MANY");
-  writeBlockEnd(stream, "      ", "JOIN");
+  writeBlockBegin(stream, "    ", "JOIN");
+  writeString(stream, "      ", "FOOTER", join->footer);
+  writeString(stream, "      ", "FROM", join->from);
+  writeString(stream, "      ", "HEADER", join->header);
+  writeString(stream, "      ", "NAME", join->name);
+  writeString(stream, "      ", "TABLE", join->table);
+  writeString(stream, "      ", "TEMPLATE", join->template);
+  writeString(stream, "      ", "TO", join->to);
+  writeKeyword(stream, "      ", "CONNECTIONTYPE", MS_DB_XBASE, join->connectiontype, 3, MS_DB_CSV, "CSV", MS_DB_POSTGRES, "POSTRESQL", MS_DB_MYSQL, "MYSQL");
+  writeKeyword(stream, "      ", "TYPE", MS_JOIN_ONE_TO_ONE, join->type, 1, MS_JOIN_ONE_TO_MANY, "ONE-TO-MANY");
+  writeBlockEnd(stream, "    ", "JOIN");
 }
 
 /* inserts a feature at the end of the list, can create a new list */



More information about the mapserver-commits mailing list