summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-03-23 19:26:03 +0100
committerserg@serg.mylan <>2004-03-23 19:26:03 +0100
commit97091f38fe61413d2d1af060d3bf0f6d0ac76818 (patch)
treee0f3475bfa6867c78cc35e9a103bc3314e498a8f /mysys/default.c
parent663b3ffea8f0dd76ee3fd7cc6b6f594a2958c8cb (diff)
parent4f4668ef20fb99765759cf9b78e965ef28dfd9e5 (diff)
downloadmariadb-git-97091f38fe61413d2d1af060d3bf0f6d0ac76818.tar.gz
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
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 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;