summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-04-27 13:58:21 +0400
committerAlexander Nozdrin <alik@sun.com>2010-04-27 13:58:21 +0400
commite642701c325e7b557d1a16d98f110581c26c2f28 (patch)
tree6fc830df498046ca29b2381fb809726faeb04f52 /mysys
parenta0f8951963443db308d072dbc0794bb93d2fcf45 (diff)
parentb6dcd0ecbee17787297e882ed63cf4e13d981943 (diff)
downloadmariadb-git-e642701c325e7b557d1a16d98f110581c26c2f28.tar.gz
Manual merge from mysql-trunk.
Conflicts: - mysql-test/suite/rpl/r/rpl_stm_mixing_engines.result
Diffstat (limited to 'mysys')
-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;