diff options
author | Kristofer Pettersson <kristofer.pettersson@sun.com> | 2009-06-25 15:55:26 +0200 |
---|---|---|
committer | Kristofer Pettersson <kristofer.pettersson@sun.com> | 2009-06-25 15:55:26 +0200 |
commit | de91a33d5e1d73e480a1fcee10020ed34f595118 (patch) | |
tree | 203e2f00619f0ed20a555e11673a815d4728d2f0 /mysys/mf_soundex.c | |
parent | 5ce0b41fb247c004da35f3eaa49f38cb395d00dd (diff) | |
download | mariadb-git-de91a33d5e1d73e480a1fcee10020ed34f595118.tar.gz |
Bug#45336 --enable-foobar doesn't work for any plugin foobar.
Because of a regression introduced by bug#19027 the option --enable-foobar
doesn't work anymore for any plugin 'foobar'. The reason is that plugin
names are tristate options variables with optional parameters and integer
values are not accepted. Since the 'enable' prefix attempts to assign '1'
to the option the operation fails.
This patch translates any number n assigned to a plugin variable of type ENUM
to be the corresponding enumerated item. As a side effect --enable-foobar and
--disable-foobar will also start working again.
mysys/my_getopt.c:
* setval now accepts integer values for option variables of type ENUM.
Diffstat (limited to 'mysys/mf_soundex.c')
0 files changed, 0 insertions, 0 deletions