[MDEV-2344] LP:423035 - error in parsing enum value for plugin variable in mysqld command-line option Created: 2009-09-02 Updated: 2012-10-04 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Kristian Nielsen | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
This should fail: mysqld --plugin-load=EXAMPLE=ha_example.so --plugin-example-enum-var=noexist But it does not in current MariaDB 5.1, due to an incorrect cast/unsigned comparison. Instead it sets the variable to some value (0 I think). Fix: === modified file 'mysys/my_getopt.c' if (value && argument)
Bug was introduced with this patch: ------------------------------------------------------------ |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2009-09-07 ] |
|
Launchpad bug id: 423035 |