Bug #45689 SESSION 'interactive_timeout' variable is useless
| Submitted: | 23 Jun 2009 19:37 | Modified: | 25 Jun 2009 7:16 |
|---|---|---|---|
| Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.1, 5.0, 5.1 bzr | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | qc | ||
[23 Jun 2009 19:37]
Peter Laursen
[23 Jun 2009 21:37]
Peter Laursen
just a clarification: Once connection has been established (with either interactive or non-interactive client) .. 1) I can "SET wait_timeout .." for the session. This works as expected. The server will time-out the session as 'wait_timeout' was SET 2) I can also "SET interactive_timeout .." for the session. It changes the value of the 'interactive_timeout' SESSION variable *only*. It has no effect on how and when the server will time-out the session. That is why SESSSION 'interactive_timeout' variable is useless and confusing and should be removed!
[24 Jun 2009 11:08]
Peter Laursen
Whether this will come out to be classified as a *bug*, *feature request* or *not a bug*, I do not expect a priority fix (it is not very important either if only the behaviour is clear). But I do request the docs to be updated with a statement for the 'interactive_timeout' variable like "As 'interactive_timeout' is a SESSION variable it may be SET from a client and the value of the SESSION variable will change accordingly. But the 'interactive_timeout' SESSION varaible is not used by the server to handle timeout for that session - only 'wait_timeout' is. In other words: the SESSION 'interactive_timeout' variable is currently not used."
[25 Jun 2009 7:16]
Sveta Smirnova
Thank you for the report. Verified as described.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.