Bug #99260 | statement.setQueryTimeout,creates a database connection and does not close | ||
---|---|---|---|
Submitted: | 15 Apr 2020 2:16 | Modified: | 5 Nov 2022 2:06 |
Reporter: | beitian wang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S1 (Critical) |
Version: | 8.0.13-8.0.18, 8.0.19 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[15 Apr 2020 2:16]
beitian wang
[17 Apr 2020 6:25]
MySQL Verification Team
Hello Beitian, Thank you for the report. regards, Umesh
[11 Dec 2021 16:49]
Daniel So
Posted by developer: Added the following entry to the Connector/J 8.0.28 changelog: "After calling Statement.setQueryTimeout(), when a query timeout was reached, a connection to the server was established to terminate the query, but the connection remained open afterward. With this fix, the new connection is closed after the query termination. "