[MDEV-3846] REFRESH_CHECKPOINT and REFRESH_TABLE_STATS tokens share the same value Created: 2012-11-09 Updated: 2013-01-09 Resolved: 2013-01-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.0, 5.5.28 |
| Fix Version/s: | 10.0.1, 5.5.29 |
| Type: | Bug | Priority: | Major |
| Reporter: | Ievgen Varavva | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
As can be seen at http://bazaar.launchpad.net/~maria-captains/maria/10.0/annotate/head:/include/mysql_com.h#L159 in paricular:
two constants got the same value (presumably during a merge). This makes mysqld confuse these options when processing the FLUSH command. Incrementing shifts for REFRESH_TABLE_STATS and following constants seems to solve the issue. I'm not sure about how to use bzr correctly, by my suggested patch with a test case is at https://code.launchpad.net/~varavv/maria/maria-fix-conflicting-refresh-opts and in attachment. |
| Comments |
| Comment by Sergei Golubchik [ 2012-11-09 ] |
|
Thank you very much for spotting this and for the patch! |