Issue Details (XML | Word | Printable)

Key: LOG4NET-73
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

ADONetAppender.ActivateOptions() leaks database connection when called multiple times

Created: 27/Mar/06 07:30 AM   Updated: 27/Mar/06 09:58 PM
Return to search
Component/s: Appenders
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Resolution Date: 27/Mar/06 09:58 PM


 Description  « Hide
ADONetAppender.ActivateOptions() calls InitializeDatabaseConnection. This method does not check if the m_dbConnection is already initialised. If it is initialise then it will beleaked.

Update InitializeDatabaseConnection to check and close the connection if not null.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Nicko Cadell made changes - 27/Mar/06 05:38 PM
Field Original Value New Value
Summary ADONetAppender.ActivateOptions() database Connection Leak is called multiple times ADONetAppender.ActivateOptions() leaks database connection when called multiple times
Nicko Cadell made changes - 27/Mar/06 09:58 PM
Fix Version/s 1.2.10 [ 11128 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]