summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-03-23 19:25:30 +0100
committerunknown <serg@serg.mylan>2004-03-23 19:25:30 +0100
commitd7801e0624bbaf88466c2502fdfe4f4c92996e5c (patch)
tree05ebc7d9cce96aff802d9456e047412a0e909b3a /mysys
parentfd15d5ae1f6f103c90594b5ee0c320aaada3c1cb (diff)
downloadmariadb-git-d7801e0624bbaf88466c2502fdfe4f4c92996e5c.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;