[MDEV-15295] Type mismatch for srv_fatal_semaphore_wait_threshold Created: 2018-02-13 Updated: 2020-04-16 Resolved: 2020-04-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.2, 10.2.0, 10.3.0 |
| Fix Version/s: | 10.4.2, 10.5.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
Windows 64-bit |
||
| Issue Links: |
|
||||||||
| Description |
|
In MariaDB 10.1, it reads like this:
Both of these forms expect the data type to be ulint. As far as I understand, on most platforms sizeof(ulong)==sizeof(ulint) would hold. Most notably, the sizes are different on 64-bit WIndows (4 and 8 bytes). The problem was found by wlad by compiling 10.3 cmake -DWITH_ASAN and running tests on Windows. |
| Comments |
| Comment by Marko Mäkelä [ 2018-02-13 ] |
|
thiru, please fix this in 10.1. Maybe we can simply make the variable uint and adjust the primitives accordingly. |
| Comment by Marko Mäkelä [ 2020-04-16 ] |
|
It looks like the type mismatch was addressed in |