From f9bec44af107fec1ececea47a76f085b5af87464 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 15 Jan 2004 04:00:21 +0200 Subject: [PATCH] Added handling for ; comment character as there was for #. Bug#2080 --- mysys/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;