summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index 3a751eb4e29..d9099a9e505 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -461,7 +461,7 @@ static char *remove_end_comment(char *ptr)
else if (quote == *ptr)
quote= 0;
}
- if (!quote && *ptr == '#') /* We are not inside a comment */
+ if (!quote && (*ptr == '#' || *ptr == ';')) // We are not inside a comment
{
*ptr= 0;
return ptr;