summaryrefslogtreecommitdiff
path: root/mysys/typelib.c
diff options
context:
space:
mode:
authorJoerg Bruehe <joerg@mysql.com>2010-03-13 22:17:47 +0100
committerJoerg Bruehe <joerg@mysql.com>2010-03-13 22:17:47 +0100
commit3e148b05a9025be48f4bfed3a561ebc0bf359fd2 (patch)
tree4821e2343777a48174341a0c35e6f0c828c45523 /mysys/typelib.c
parent233cdaedd25bc053af6a55c9e8a88f56ccaba836 (diff)
downloadmariadb-git-3e148b05a9025be48f4bfed3a561ebc0bf359fd2.tar.gz
Fix C++ style comments, they cause syntax errors in C file.
Diffstat (limited to 'mysys/typelib.c')
-rw-r--r--mysys/typelib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/typelib.c b/mysys/typelib.c
index c332c82d17a..7681ff581ac 100644
--- a/mysys/typelib.c
+++ b/mysys/typelib.c
@@ -354,11 +354,11 @@ my_ulonglong find_set_from_flags(const TYPELIB *lib, uint default_name,
!(value= parse_name(&on_off_default_typelib, &pos, end)))
goto err;
- if (value == 1) // this is '=off'
+ if (value == 1) /* this is '=off' */
flags_to_clear|= bit;
- else if (value == 2) // this is '=on'
+ else if (value == 2) /* this is '=on' */
flags_to_set|= bit;
- else // this is '=default'
+ else /* this is '=default' */
{
if (default_set & bit)
flags_to_set|= bit;