diff options
-rw-r--r-- | db/mysql/output.xsl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/db/mysql/output.xsl b/db/mysql/output.xsl index b93ff27..efc17c9 100644 --- a/db/mysql/output.xsl +++ b/db/mysql/output.xsl @@ -86,6 +86,15 @@ <xsl:text></xsl:text> </xsl:if> + <xsl:if test="comment"> + <xsl-text> COMMENT '</xsl-text> + <xsl:call-template name="replace-substring"> + <xsl:with-param name="value" select="substring(comment, 1, 60)" /> + <xsl:with-param name="from" select='"'"' /> + <xsl:with-param name="to" select='"''"' /> + </xsl:call-template> + <xsl-text>'</xsl-text> + </xsl:if> <xsl:if test="not (position()=last())"> <xsl:text>, @@ -120,7 +129,7 @@ <xsl:if test="comment"> -<xsl-text> COMMENT='</xsl-text> +<xsl-text> COMMENT '</xsl-text> <xsl:call-template name="replace-substring"> <xsl:with-param name="value" select="substring(comment, 1, 60)" /> <xsl:with-param name="from" select='"'"' /> |