wait_timeout used instead of interactive_timeout #8487
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/compatibility
Bug Report
Please answer these questions before submitting your issue. Thanks!
Currently
wait_timeout
is also applicable for interactive sessions (i.e. mysql cli tool). The MySQL compatible behavior is as follows:Then control +c and start a new session:
Because the session sets the interactive bit, the
interactive_timeout
is actually copied over thewait_timeout
. The globalwait_timeout
is still 5:What did you see instead?
What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: