| 742 | } |
| 743 | |
| 744 | static void writeJoin(FILE *stream, int indent, joinObj *join) |
| 745 | { |
| 746 | indent++; |
| 747 | writeBlockBegin(stream, indent, "JOIN"); |
| 748 | writeString(stream, indent, "FOOTER", NULL, join->footer); |
| 749 | writeString(stream, indent, "FROM", NULL, join->from); |
| 750 | writeString(stream, indent, "HEADER", NULL, join->header); |
| 751 | writeString(stream, indent, "NAME", NULL, join->name); |
| 752 | writeString(stream, indent, "TABLE", NULL, join->table); |
| 753 | writeString(stream, indent, "TEMPLATE", NULL, join->template); |
| 754 | writeString(stream, indent, "TO", NULL, join->to); |
| 755 | writeKeyword(stream, indent, "CONNECTIONTYPE", join->connectiontype, 3, MS_DB_CSV, "CSV", MS_DB_POSTGRES, "POSTRESQL", MS_DB_MYSQL, "MYSQL"); |
| 756 | writeKeyword(stream, indent, "TYPE", join->type, 1, MS_JOIN_ONE_TO_MANY, "ONE-TO-MANY"); |
| 757 | writeBlockEnd(stream, indent, "JOIN"); |
| 758 | } |
| 759 | |
| 760 | /* inserts a feature at the end of the list, can create a new list */ |
| 761 | featureListNodeObjPtr insertFeatureList(featureListNodeObjPtr *list, shapeObj *shape) |
no test coverage detected