System.Data.SQLite
Check-in [3e63eb3d59]
Not logged in

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

Overview
Comment:Fix some comments.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3e63eb3d592d746ec77f05e50a33b3b882b92437
User & Date: mistachkin 2012-05-05 01:22:21
Context
2012-05-05
13:02
In the test case for ticket [996d13cd87], after the first two interations, use a random number of worker threads accessing the connection pool. check-in: 4a360ab908 user: mistachkin tags: trunk
01:22
Fix some comments. check-in: 3e63eb3d59 user: mistachkin tags: trunk
00:25
Update Eagle script library in externals to support logging of test setting overrides to the test log file. check-in: 62de6a5613 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

   219    219                   }
   220    220                   finally
   221    221                   {
   222    222                       //
   223    223                       // BUGFIX: For ticket [996d13cd87], step #4.  Next, we must
   224    224                       //         re-register the connection handle for finalization
   225    225                       //         now that we have a strong reference to it (i.e. the
   226         -                    //         finalizer run at least until the connection is
   227         -                    //         subsequently closed).
          226  +                    //         finalizer will not run at least until the connection
          227  +                    //         is subsequently closed).
   228    228                       //
   229    229                       GC.ReRegisterForFinalize(hdl);
   230    230                   }
   231    231   
   232         -#pragma warning disable 162
   233         -                GC.KeepAlive(hdl); /* NOTE: Unreachable code. */
   234         -#pragma warning restore 162
          232  +                GC.KeepAlive(hdl);
   235    233               }
   236    234           }
   237    235           finally
   238    236           {
   239    237               //
   240    238               // BUGFIX: For ticket [996d13cd87], step #5.  Finally, commit any
   241    239               //         changes to the pool/queue for this database file.