summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-03-23 19:25:30 +0100
committerserg@serg.mylan <>2004-03-23 19:25:30 +0100
commit4f4668ef20fb99765759cf9b78e965ef28dfd9e5 (patch)
tree05ebc7d9cce96aff802d9456e047412a0e909b3a /mysys
parentfe138bf63908d0680dc42cb258eef89603ae88aa (diff)
downloadmariadb-git-4f4668ef20fb99765759cf9b78e965ef28dfd9e5.tar.gz
comment
Diffstat (limited to 'mysys')
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index 3c9f9c823a1..1c4547bdb0a 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -460,7 +460,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 == '#') /* We are not inside a string */
{
*ptr= 0;
return ptr;