System.Data.SQLite
Check-in [838feb48ec]
Not logged in

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

Overview
Comment:Enhance the test case for [ae5267b863] to increase the odds of hitting the underlying object disposal issue.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tkt-ae5267b863
Files: files | file ages | folders
SHA1: 838feb48ecc9defc42ee63ee3f677a132d7c9622
User & Date: mistachkin 2012-12-17 23:44:15
Context
2012-12-20
02:05
Update SQLite core library to the 3.7.15.1 release. Closed-Leaf check-in: 3cac27b444 user: mistachkin tags: tkt-ae5267b863
2012-12-17
23:44
Enhance the test case for [ae5267b863] to increase the odds of hitting the underlying object disposal issue. check-in: 838feb48ec user: mistachkin tags: tkt-ae5267b863
23:14
Add test case for ticket [ae5267b863]. check-in: 3f4c3359f3 user: mistachkin tags: tkt-ae5267b863
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/tkt-ae5267b863.eagle.

    94     94                     command.ExecuteNonQuery();
    95     95                   }
    96     96   
    97     97                   transaction.Commit();
    98     98                 }
    99     99               }
   100    100   
   101         -            for (int index = 0; index < 10000; index++)
          101  +            //
          102  +            // NOTE: Perform a huge amount of command creation and execution
          103  +            //       cycles for a better chance to trigger the bug.
          104  +            //
          105  +            for (int index = 0; index < 100000; index++)
   102    106               {
   103    107                 //
   104    108                 // NOTE: Purposely omit the 'using' block here to test
   105    109                 //       command disposal via the garbage collector.
   106    110                 //
   107    111                 SQLiteCommand command = connection.CreateCommand();
   108    112