[MDEV-13114] New MariaDB 10.2 connection always has wait_timeout=28800, does not use global value Created: 2017-06-16 Updated: 2020-08-25 Resolved: 2017-06-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | libmariadb, Scripts & Clients, Server, Variables |
| Affects Version/s: | 10.2.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | client, connection, variable | ||
| Description |
|
Let's say that I do the following:
The above command set the global value for wait_timeout to 600, so new sessions should use this value. However, they still seem to use the default value in 10.2.6:
For whatever reason, other variables like interactive_timeout and connect_timeout do not have the same problem. |
| Comments |
| Comment by Elena Stepanova [ 2017-06-16 ] | |||||||||||||||||||||||||||||||||
|
There is nothing either new, or wrong, or MariaDB-specific in this behavior. By definition, the session value of wait_timeout is initialized either from the global wait_timeout value or from the global interactive_timeout value, depending on what kind of client you use. Since you're using the interactive client, it's initialized from interactive_timeout.
|