[MDEV-4686] Temporary variable for sub_id is 32-bit, should be 64-bit Created: 2013-06-20 Updated: 2013-06-20 Resolved: 2013-06-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3 |
| Fix Version/s: | 10.0.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jeremy Cole | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | gtid | ||
| Description |
|
In sql/rpl_gtid.cc, the temporary sub_id variable is declared as uint32, but should be uint64 (as sub_id is everywhere else):
That would be a fun bug to diagnose on a server with a 1-year uptime. (Also, please rename subid to sub_id everywhere, otherwise grep is less useful.) |
| Comments |
| Comment by Kristian Nielsen [ 2013-06-20 ] |
|
Good catch! Thanks. Pushed to 10.0-base. |