Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6, 10.11, 11.4, 11.8
-
None
-
None
Description
The session parameters wait_timeout and interactive_timeout are measured in seconds. They are defined as ulong, which means that they are 64-bit on LP64 targets, but 32-bit on LLP64, such as Microsoft Windows, and LP32, such as IA-32 or anything up to ARMv7.
It seems that a 32-bit data type would suffice for these parameters. 2³² seconds corresponds to more than 136 years. It is very unlikely that a database server would run even 1 year without any maintenance breaks, such as security upgrades.
Attachments
Issue Links
- relates to
-
MDEV-37477 decimal_digits_t trips GCC -Wconversion
-
- Closed
-