/ Check-in [1bfc30cb]
Login

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

Overview
Comment:Update sqlite3_analyzer to correctly find all database files when the multiplexor is being used.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1bfc30cb0fdc4b9def989eea2d78f6ac851633fa
User & Date: drh 2012-04-06 00:09:27
Context
2012-04-07
00:09
Fix the application-defined function logic so that functions with a variable number of parameters can be replaced or deleted correctly. Also refactor some of the function-finder code for clarity of presentation. check-in: 09d5581c user: drh tags: trunk
2012-04-06
00:09
Update sqlite3_analyzer to correctly find all database files when the multiplexor is being used. check-in: 1bfc30cb user: drh tags: trunk
2012-04-05
20:04
Ignore the value of SQLITE_FCNTL_CHUNK_SIZE if it is negative. check-in: 1b08fef9 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/spaceanal.tcl.

    45     45   }
    46     46   
    47     47   # Compute the total file size assuming test_multiplexor is being used.
    48     48   # Assume that SQLITE_ENABLE_8_3_NAMES might be enabled
    49     49   #
    50     50   set extension [file extension $file_to_analyze]
    51     51   set pattern $file_to_analyze
    52         -append pattern {[0-9][0-9]}
           52  +append pattern {[0-3][0-9][0-9]}
    53     53   foreach f [glob -nocomplain $pattern] {
    54     54     incr true_file_size [file size $f]
    55     55     set extension {}
    56     56   }
    57     57   if {[string length $extension]>=2 && [string length $extension]<=4} {
    58     58     set pattern [file rootname $file_to_analyze]
    59         -  append pattern [string range $extension 0 1]
    60         -  append pattern {[0-9][0-9]}
           59  +  append pattern {.[0-3][0-9][0-9]}
    61     60     foreach f [glob -nocomplain $pattern] {
    62     61       incr true_file_size [file size $f]
    63     62     }
    64     63   }
    65     64   
    66     65   # Open the database
    67     66   #