/ Check-in [71f589e3]
Login

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

Overview
Comment:Improved comment on the sharedB.test test script.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fix-stale-keyinfo-cache
Files: files | file ages | folders
SHA1: 71f589e3f82a07513425e212072f32748c0732d4
User & Date: drh 2014-12-05 14:34:30
Context
2014-12-05
14:44
When closing a (shared-cache) database connection, be sure to clear out all KeyInfo objects cached on Index objects. Fix for ticket [e4a18565a36884b00edf]. check-in: adca7688 user: drh tags: trunk
14:36
Add code to check the validity of CollSeq objects during runtime. This code was not able to detect anomalies such as came up as a result of ticket [e4a18565a36884b00edf66541f38c693827968ab] so it is put into a branch for historical reference, with the intent of leaving it out of trunk. Closed-Leaf check-in: 68b23c3d user: drh tags: collseq-checking
14:34
Improved comment on the sharedB.test test script. Closed-Leaf check-in: 71f589e3 user: drh tags: fix-stale-keyinfo-cache
14:07
Test case demonstrating the problem described by ticket [e4a18565a36884b00edf]. check-in: ffea3e90 user: drh tags: fix-stale-keyinfo-cache
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/sharedB.test.

     1         -# 2013 May 14
            1  +# 2014-12-05
     2      2   #
     3      3   # The author disclaims copyright to this source code.  In place of
     4      4   # a legal notice, here is a blessing:
     5      5   #
     6      6   #    May you do good and not evil.
     7      7   #    May you find forgiveness for yourself and forgive others.
     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   #
    12     12   # Open two database connections on the same database in shared cache
    13     13   # mode.  Hold one open while repeatedly closing, reopening, and using
    14     14   # the second.
           15  +#
           16  +# This test is designed to demostrate that the fix for ticket
           17  +# [e4a18565a36884b00edf66541f38c693827968ab] works.  
    15     18   #
    16     19   
    17     20   
    18     21   set testdir [file dirname $argv0]
    19     22   source $testdir/tester.tcl
    20     23   if {[run_thread_tests]==0} { finish_test ; return }
    21     24   db close