diff options
Diffstat (limited to 'mysys/default.c')
-rw-r--r-- | mysys/default.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c index 3a751eb4e29..81e1fd06374 100644 --- a/mysys/default.c +++ b/mysys/default.c @@ -461,7 +461,8 @@ static char *remove_end_comment(char *ptr) else if (quote == *ptr) quote= 0; } - if (!quote && *ptr == '#') /* We are not inside a comment */ + /* We are not inside a comment */ + if (!quote && (*ptr == '#' || *ptr == ';')) { *ptr= 0; return ptr; |