summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorunknown <jani@rhols221.adsl.netsonic.fi>2004-01-15 04:00:21 +0200
committerunknown <jani@rhols221.adsl.netsonic.fi>2004-01-15 04:00:21 +0200
commitf9bec44af107fec1ececea47a76f085b5af87464 (patch)
treed84c64954d632b7e243b32bdc04b8623c3f7c089 /mysys/default.c
parent391cb07be00eef55f0c7811a871649f343d6de7a (diff)
downloadmariadb-git-f9bec44af107fec1ececea47a76f085b5af87464.tar.gz
Added handling for ; comment character as there was for #.
Bug#2080
Diffstat (limited to 'mysys/default.c')
-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;