summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <jani@rhols221.adsl.netsonic.fi>2004-01-23 15:31:16 +0200
committerunknown <jani@rhols221.adsl.netsonic.fi>2004-01-23 15:31:16 +0200
commit2320323a344759567d702b257fb965646e6d8e7a (patch)
treeed071e47ccce3487b032005b3e4bb2e94879eb61
parentacf9821b160d07753051d3acf58dab29fb60a4ba (diff)
downloadmariadb-git-2320323a344759567d702b257fb965646e6d8e7a.tar.gz
Reverted an addition to be able to use ';' as a comment
starting character elsewhere than in the beginning of a line, because it affected some innodb options that had ';' in them.
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index 81e1fd06374..d27efce27ed 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -462,7 +462,7 @@ static char *remove_end_comment(char *ptr)
quote= 0;
}
/* We are not inside a comment */
- if (!quote && (*ptr == '#' || *ptr == ';'))
+ if (!quote && *ptr == '#')
{
*ptr= 0;
return ptr;