Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.0, 5.5.28
-
None
-
None
Description
As can be seen at http://bazaar.launchpad.net/~maria-captains/maria/10.0/annotate/head:/include/mysql_com.h#L159
in paricular:
#define REFRESH_CHECKPOINT 0x100000L
|
#define REFRESH_TABLE_STATS (1L << 20)
|
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.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 5.5.28 [ 11200 ] | |
Affects Version/s | 10.0.0 [ 10000 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Fix Version/s | 10.0.1 [ 11400 ] | |
Fix Version/s | 5.5.29 [ 11701 ] |
Fix Version/s | 5.5.29 [ 12102 ] | |
Fix Version/s | 5.5.28a [ 11701 ] |
Assignee | Sergei Golubchik [ serg ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
As can be seen at http://bazaar.launchpad.net/~maria-captains/maria/10.0/annotate/head:/include/mysql_com.h#L159 in paricular: #define REFRESH_CHECKPOINT 0x100000L #define REFRESH_TABLE_STATS (1L << 20) 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. |
As can be seen at http://bazaar.launchpad.net/~maria-captains/maria/10.0/annotate/head:/include/mysql_com.h#L159 in paricular: {noformat} #define REFRESH_CHECKPOINT 0x100000L #define REFRESH_TABLE_STATS (1L << 20) {noformat} 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. |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 25103 ] | MariaDB v2 [ 45569 ] |
Workflow | MariaDB v2 [ 45569 ] | MariaDB v3 [ 66252 ] |
Workflow | MariaDB v3 [ 66252 ] | MariaDB v4 [ 146193 ] |
Thank you very much for spotting this and for the patch!