System.Data.SQLite
Check-in [7b3fe92dcb]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not attempt to reset a connection if it has been closed. Also, prevent any potential GC race while resetting a connection. Keep track of the total number of connections successfully opened and closed from any of the pools. Enhance test for ticket [996d13cd87] to make sure that at least one connection was opened and closed from a connection pool.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7b3fe92dcb994e0af39ec6937c70abda0f3d7030
User & Date: mistachkin 2012-05-03 13:44:30
Context
2012-05-03
15:11
Fix a couple more potential GC race conditions. check-in: ed16f61cf7 user: mistachkin tags: trunk
13:44
Do not attempt to reset a connection if it has been closed. Also, prevent any potential GC race while resetting a connection. Keep track of the total number of connections successfully opened and closed from any of the pools. Enhance test for ticket [996d13cd87] to make sure that at least one connection was opened and closed from a connection pool. check-in: 7b3fe92dcb user: mistachkin tags: trunk
13:04
Stop creating the CriticalHandle derived classes via implicit operator conversions. Simplify test case for ticket [996d13cd87]. check-in: 29b506224a user: mistachkin tags: trunk
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to System.Data.SQLite/SQLite3.cs.

Changes to System.Data.SQLite/SQLiteBase.cs.

Changes to System.Data.SQLite/SQLiteConnectionPool.cs.

Changes to Tests/tkt-996d13cd87.eagle.