[MDEV-18996] The connection should be freed instead of being placed back in the connection pool when an error occurs Created: 2019-03-21  Updated: 2020-07-20  Resolved: 2020-07-20

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: willhan Assignee: Kentoku Shiba (Inactive)
Resolution: Incomplete Votes: 0
Labels: need_feedback


 Description   

The connection should be freed instead of being placed back in the connection pool when an error occurs
if(conn->is_error())

{ free(connection); }

 Comments   
Comment by Kentoku Shiba (Inactive) [ 2020-06-08 ]

willhan, Which case does this cause issue? I think releasing connection by normal error like duplicate entry is too much. Should only work with connectivity issues.

Generated at Thu Feb 08 08:48:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.