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 Unified Diffs Show Whitespace Changes Patch

Changes to Tests/tkt-ae5267b863.eagle.

94
95
96
97
98
99
100




101
102
103
104
105
106
107
108
                  command.ExecuteNonQuery();
                }

                transaction.Commit();
              }
            }





            for (int index = 0; index < 10000; index++)
            {
              //
              // NOTE: Purposely omit the 'using' block here to test
              //       command disposal via the garbage collector.
              //
              SQLiteCommand command = connection.CreateCommand();








>
>
>
>
|







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
                  command.ExecuteNonQuery();
                }

                transaction.Commit();
              }
            }

            //
            // NOTE: Perform a huge amount of command creation and execution
            //       cycles for a better chance to trigger the bug.
            //
            for (int index = 0; index < 100000; index++)
            {
              //
              // NOTE: Purposely omit the 'using' block here to test
              //       command disposal via the garbage collector.
              //
              SQLiteCommand command = connection.CreateCommand();